Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009736/0.0009737, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005002, allocations: 18.66 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002143/0.2505, allocations: 1.791 MB / 328.2 MB, free: 20 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.251, allocations: 211 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.2511, allocations: 5.188 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.2512, allocations: 22.95 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.2513, allocations: 68.38 kB / 328.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.2515, allocations: 39.16 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.2517, allocations: 159.1 kB / 328.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2519, allocations: 79.11 kB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.2521, allocations: 74.88 kB / 328.9 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.2522, allocations: 88.7 kB / 329 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.2523, allocations: 11.53 kB / 329 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.2523, allocations: 11.53 kB / 329 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.2523, allocations: 37.88 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.2524, allocations: 67.11 kB / 329.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.2526, allocations: 187.9 kB / 329.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2526, allocations: 0 / 329.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2527, allocations: 0 / 329.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2527, allocations: 0 / 329.3 MB, free: 15.27 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007826/0.2535, allocations: 484.8 kB / 329.7 MB, free: 14.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.2535, allocations: 10.28 kB / 329.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.2536, allocations: 23.25 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.2539, allocations: 220.4 kB / 330 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2539, allocations: 25.64 kB / 330 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.254, allocations: 23.06 kB / 330 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2544, allocations: 221.9 kB / 330.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2545, allocations: 5.156 kB / 330.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.2545, allocations: 14.16 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2545, allocations: 6.781 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.2548, allocations: 131 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.256, allocations: 0.8554 MB / 331.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.2563, allocations: 154 kB / 331.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2563, allocations: 1.312 kB / 331.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.2564, allocations: 52.75 kB / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.2564, allocations: 0 / 331.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004071/0.2568, allocations: 169.5 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.2569, allocations: 105.1 kB / 331.7 MB, free: 13.12 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.2571, allocations: 191.9 kB / 331.9 MB, free: 12.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.2572, allocations: 30.73 kB / 332 MB, free: 12.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2573, allocations: 162.7 kB / 332.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.2573, allocations: 62.84 kB / 332.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.2574, allocations: 5.969 kB / 332.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2576, allocations: 327 kB / 332.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2577, allocations: 49.47 kB / 332.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.2578, allocations: 152.9 kB / 332.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.258, allocations: 75.64 kB / 332.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.258, allocations: 2.062 kB / 332.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000387/0.2584, allocations: 240.8 kB / 333 MB, free: 12.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2584, allocations: 7.062 kB / 333 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2585, allocations: 10.98 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2585, allocations: 6.812 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.2587, allocations: 62.47 kB / 333.1 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.2588, allocations: 9.562 kB / 333.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2589, allocations: 28.06 kB / 333.1 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2589, allocations: 10.97 kB / 333.1 MB, free: 11.99 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.2591, allocations: 149.2 kB / 333.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.2592, allocations: 17.12 kB / 333.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.2592, allocations: 21.34 kB / 333.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2592, allocations: 6.859 kB / 333.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2592, allocations: 1.75 kB / 333.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2593, allocations: 3.984 kB / 333.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.2598, allocations: 418.3 kB / 333.7 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2598, allocations: 3.953 kB / 333.7 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.26, allocations: 39.64 kB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.2601, allocations: 1.531 kB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.2601, allocations: 7.438 kB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2601, allocations: 1.688 kB / 333.8 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.2601, allocations: 5.891 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.2606, allocations: 420.9 kB / 334.2 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.2606, allocations: 95.14 kB / 334.3 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.2607, allocations: 11 kB / 334.3 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2608, allocations: 1.438 kB / 334.3 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.2609, allocations: 17.64 kB / 334.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2609, allocations: 5.125 kB / 334.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.261, allocations: 144.8 kB / 334.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.261, allocations: 0 / 334.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.2614, allocations: 53.22 kB / 334.5 MB, free: 10.75 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001351/0.2615, allocations: 109.1 kB / 334.6 MB, free: 10.65 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.2618, allocations: 136.3 kB / 334.8 MB, free: 10.6 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2618, allocations: 1.156 kB / 334.8 MB, free: 10.6 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.2619, allocations: 47.61 kB / 334.8 MB, free: 10.58 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2623, allocations: 31.64 kB / 334.9 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2635, allocations: 0.7258 MB / 335.6 MB, free: 9.863 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.2638, allocations: 0.7401 MB / 336.3 MB, free: 9.098 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.2639, allocations: 17.95 kB / 336.3 MB, free: 9.082 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.264, allocations: 19.44 kB / 336.4 MB, free: 9.062 MB / 270.1 MB Notification: Performance of SimCode: time 3.01e-07/0.264, allocations: 0 / 336.4 MB, free: 9.062 MB / 270.1 MB Notification: Performance of Templates: time 0.00402/0.268, allocations: 1.397 MB / 337.8 MB, free: 7.664 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) Environment - environmentSimulation: