Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009405, allocations: 100.1 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.001052/0.001052, allocations: 177.3 kB / 15.95 MB, free: 216 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.41/1.41, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005018/0.0005019, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2836, allocations: 47.58 MB / 326.5 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02817/0.3118, allocations: 29.71 MB / 356.2 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.3303, allocations: 7.717 MB / 363.9 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00566/0.336, allocations: 147.6 kB / 364 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004233/0.3402, allocations: 1.435 MB / 365.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.3532, allocations: 4.329 MB / 369.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.3553, allocations: 0.5615 MB / 370.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00331/0.3586, allocations: 1.946 MB / 372.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004121/0.3628, allocations: 3.357 MB / 375.7 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3639, allocations: 0.8681 MB / 376.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.3652, allocations: 1.195 MB / 377.7 MB, free: 80 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.3655, allocations: 124 kB / 377.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.3669, allocations: 0.8465 MB / 378.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.368, allocations: 1.301 MB / 380 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.3687, allocations: 0.7142 MB / 380.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.3727, allocations: 4.498 MB / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3727, allocations: 0 / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3728, allocations: 0 / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.898e-05/0.3728, allocations: 0 / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.005597/0.3784, allocations: 3.49 MB / 388.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3785, allocations: 8.031 kB / 388.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/0.3859, allocations: 2.241 MB / 390.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/0.3903, allocations: 2.073 MB / 393 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.3905, allocations: 201.2 kB / 393.2 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005344/0.391, allocations: 271.8 kB / 393.5 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01914/0.4102, allocations: 10.08 MB / 403.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.4104, allocations: 43.59 kB / 403.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007026/0.4111, allocations: 135.8 kB / 403.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003153/0.4143, allocations: 1.856 MB / 405.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.4334, allocations: 8.638 MB / 414.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05432/0.4878, allocations: 37.37 MB / 451.6 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2016/0.6895, allocations: 6.428 MB / 458 MB, free: 112.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.7001, allocations: 8.596 MB / 466.6 MB, free: 108.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.7001, allocations: 54.47 kB / 466.7 MB, free: 108.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.537e-06/0.7002, allocations: 3.812 kB / 466.7 MB, free: 108.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.05924/0.7594, allocations: 23.74 MB / 490.4 MB, free: 89.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.7595, allocations: 153.4 kB / 490.6 MB, free: 89.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003686/0.7632, allocations: 3.588 MB / 494.1 MB, free: 85.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.7634, allocations: 45.7 kB / 494.2 MB, free: 85.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.7645, allocations: 2.735 MB / 496.9 MB, free: 83.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.765, allocations: 0.646 MB / 497.6 MB, free: 82.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.7651, allocations: 112 kB / 497.7 MB, free: 82.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7654, allocations: 0.5376 MB / 498.2 MB, free: 81.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.7676, allocations: 2.025 MB / 0.4885 GB, free: 79.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.7709, allocations: 5.418 MB / 0.4938 GB, free: 72.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.7743, allocations: 3.217 MB / 0.497 GB, free: 69.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/0.7744, allocations: 32 kB / 0.497 GB, free: 69.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01139/0.7858, allocations: 8.305 MB / 0.5051 GB, free: 61.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.7859, allocations: 60.19 kB / 0.5051 GB, free: 61.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-05/0.786, allocations: 128 kB / 0.5053 GB, free: 60.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/0.7895, allocations: 1.312 MB / 0.5066 GB, free: 59.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/0.793, allocations: 1.275 MB / 0.5078 GB, free: 58.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.7999, allocations: 6.271 MB / 0.5139 GB, free: 51.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/0.804, allocations: 315.6 kB / 0.5142 GB, free: 51.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/0.8044, allocations: 341 kB / 0.5145 GB, free: 51.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002701/0.8071, allocations: 1.816 MB / 0.5163 GB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/0.8076, allocations: 311.9 kB / 0.5166 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006153/0.8138, allocations: 3.591 MB / 0.5201 GB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.8139, allocations: 16 kB / 0.5201 GB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8139, allocations: 4 kB / 0.5201 GB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.8139, allocations: 11.97 kB / 0.5202 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.8272, allocations: 7.996 MB / 0.528 GB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/0.8272, allocations: 480 / 0.528 GB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.8284, allocations: 263.6 kB / 0.5282 GB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.8317, allocations: 1.116 MB / 0.5293 GB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.8319, allocations: 28 kB / 0.5293 GB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/0.8388, allocations: 5.893 MB / 0.5351 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8388, allocations: 3.938 kB / 0.5351 GB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008564/0.8474, allocations: 6.125 MB / 0.5411 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/0.849, allocations: 0.6062 MB / 0.5417 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004314/0.8495, allocations: 23.95 kB / 0.5417 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.8508, allocations: 116.8 kB / 0.5418 GB, free: 23.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.851, allocations: 92.88 kB / 0.5419 GB, free: 22.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.8511, allocations: 44.84 kB / 0.5419 GB, free: 22.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00282/0.854, allocations: 2.232 MB / 0.5441 GB, free: 20.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.854, allocations: 0 / 0.5441 GB, free: 20.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004073/0.858, allocations: 0.9435 MB / 0.545 GB, free: 19.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004441/0.8585, allocations: 194.3 kB / 0.5452 GB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006348/0.8649, allocations: 4.937 MB / 0.55 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8649, allocations: 0 / 0.55 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.8669, allocations: 1.628 MB / 0.5516 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.8687, allocations: 321.6 kB / 0.5519 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.8828, allocations: 9.668 MB / 0.5614 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.8851, allocations: 2.936 MB / 0.5642 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004163/0.8892, allocations: 1.743 MB / 0.5659 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006032/0.8899, allocations: 219.4 kB / 0.5662 GB, free: 14.08 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8899, allocations: 0 / 0.5662 GB, free: 14.08 MB / 398.1 MB Notification: Performance of Templates: time 0.06432/0.9542, allocations: 32.74 MB / 0.5981 GB, free: 13.34 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) Environment - environmentSimulation: