Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009258/0.0009259, 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.001094/0.001094, 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.512/1.512, 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.0004452/0.0004454, allocations: 16 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2422, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002411/0.2447, allocations: 1.799 MB / 328.2 MB, free: 0 / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.2455, allocations: 202.2 kB / 328.4 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.2457, allocations: 4.594 kB / 328.4 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.379e-05/0.2458, allocations: 24.39 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.246, allocations: 68.62 kB / 328.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.2462, allocations: 37.53 kB / 328.6 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.2465, allocations: 167.3 kB / 328.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.2467, allocations: 75.67 kB / 328.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.2469, allocations: 70.77 kB / 328.9 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2471, allocations: 88.44 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.2471, allocations: 12.22 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.2472, allocations: 16.03 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.2472, allocations: 37.11 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.2473, allocations: 67.17 kB / 329.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2475, allocations: 191.7 kB / 329.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2475, allocations: 0 / 329.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2476, allocations: 0 / 329.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2476, allocations: 1.188 kB / 329.3 MB, free: 15.25 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.000728/0.2483, allocations: 476 kB / 329.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2484, allocations: 8.781 kB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.194e-05/0.2484, allocations: 24.59 kB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2487, allocations: 224 kB / 330 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2487, allocations: 22.45 kB / 330 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.2488, allocations: 22.12 kB / 330 MB, free: 14.53 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.2492, allocations: 230.7 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2493, allocations: 5.25 kB / 330.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.2493, allocations: 9.844 kB / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2493, allocations: 5.938 kB / 330.3 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.2496, allocations: 123.8 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2508, allocations: 0.8556 MB / 331.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.2511, allocations: 160.8 kB / 331.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.2511, allocations: 2.094 kB / 331.4 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2512, allocations: 48.67 kB / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.793e-06/0.2512, allocations: 0 / 331.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003824/0.2516, allocations: 168.5 kB / 331.6 MB, free: 13.24 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.2516, allocations: 106.1 kB / 331.7 MB, free: 13.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.2518, allocations: 191.5 kB / 331.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2519, allocations: 26.64 kB / 332 MB, free: 12.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.252, allocations: 167 kB / 332.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.252, allocations: 59.08 kB / 332.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2521, allocations: 6.031 kB / 332.2 MB, free: 12.72 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.2522, allocations: 331.2 kB / 332.5 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2523, allocations: 45.7 kB / 332.5 MB, free: 12.37 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2525, allocations: 152.9 kB / 332.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2526, allocations: 75.89 kB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2526, allocations: 1.281 kB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003906/0.253, allocations: 245.5 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2531, allocations: 7.344 kB / 333 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.2531, allocations: 11.36 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2531, allocations: 5.312 kB / 333 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.2534, allocations: 55.36 kB / 333.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.2534, allocations: 13.52 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2535, allocations: 32.12 kB / 333.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2536, allocations: 14.97 kB / 333.1 MB, free: 11.98 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.0001392/0.2537, allocations: 145 kB / 333.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.2538, allocations: 16.97 kB / 333.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.2539, allocations: 26.42 kB / 333.3 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2539, allocations: 6.047 kB / 333.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2539, allocations: 1.125 kB / 333.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2539, allocations: 0 / 333.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.2545, allocations: 413.7 kB / 333.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2545, allocations: 6.016 kB / 333.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2547, allocations: 46.12 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2547, allocations: 2.156 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2547, allocations: 2.25 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2548, allocations: 2.188 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2548, allocations: 1.188 kB / 333.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.2552, allocations: 426.4 kB / 334.2 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.2553, allocations: 98.55 kB / 334.3 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.2553, allocations: 11.34 kB / 334.3 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2555, allocations: 5.188 kB / 334.3 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.2555, allocations: 13.84 kB / 334.3 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2555, allocations: 8.781 kB / 334.4 MB, free: 10.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.2557, allocations: 136.9 kB / 334.5 MB, free: 10.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2557, allocations: 0 / 334.5 MB, free: 10.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.2561, allocations: 57.09 kB / 334.5 MB, free: 10.74 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.0001209/0.2562, allocations: 106.5 kB / 334.6 MB, free: 10.64 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.2565, allocations: 131.5 kB / 334.8 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2565, allocations: 1.031 kB / 334.8 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.2566, allocations: 59.72 kB / 334.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.257, allocations: 27.73 kB / 334.9 MB, free: 10.55 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2581, allocations: 0.7193 MB / 335.6 MB, free: 9.863 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2585, allocations: 0.7401 MB / 336.3 MB, free: 9.098 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.724e-05/0.2586, allocations: 21.94 kB / 336.3 MB, free: 9.078 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.2586, allocations: 19.44 kB / 336.4 MB, free: 9.059 MB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2586, allocations: 0 / 336.4 MB, free: 9.059 MB / 270.1 MB Notification: Performance of Templates: time 0.004175/0.2628, allocations: 1.401 MB / 337.8 MB, free: 7.656 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) Environment - environmentSimulation: