Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.001137/0.001138, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04368/0.04368, allocations: 9.115 MB / 300.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 71.88 kB / 415.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.0878, allocations: 51.43 MB / 466.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.007872/0.09572, allocations: 7.007 MB / 473.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.1001, allocations: 2.359 MB / 476.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009012/0.101, allocations: 27.94 kB / 476.1 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008885/0.102, allocations: 310.1 kB / 476.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.105, allocations: 1.304 MB / 477.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1054, allocations: 79.84 kB / 477.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.1078, allocations: 2.159 MB / 480 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.1089, allocations: 0.7036 MB / 480.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.11, allocations: 0.7664 MB / 481.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.1116, allocations: 1.125 MB / 482.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005149/0.1121, allocations: 204 kB / 482.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.1136, allocations: 0.7996 MB / 483.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.1148, allocations: 1.067 MB / 484.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.1164, allocations: 1.347 MB / 486 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.1203, allocations: 4.485 MB / 490.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1204, allocations: 8 kB / 490.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1204, allocations: 0 / 490.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.399e-05/0.1204, allocations: 0 / 490.5 MB, free: 9.957 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.00644/0.1269, allocations: 3.348 MB / 493.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.127, allocations: 12.03 kB / 493.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/0.1332, allocations: 1.713 MB / 495.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.1357, allocations: 1.197 MB / 496.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.1358, allocations: 123.3 kB / 496.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.1362, allocations: 156.2 kB / 497 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009724/0.1459, allocations: 7.212 MB / 0.4924 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/0.146, allocations: 11.88 kB / 0.4924 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002424/0.1463, allocations: 83.86 kB / 0.4925 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002714/0.149, allocations: 1.738 MB / 0.4942 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.1603, allocations: 6.588 MB / 0.5006 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.224/0.3843, allocations: 21.1 MB / 0.5212 GB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/0.3881, allocations: 2.028 MB / 0.5232 GB, free: 27.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009646/0.3891, allocations: 0.679 MB / 0.5239 GB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004422/0.3935, allocations: 3.269 MB / 0.5271 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3936, allocations: 39.31 kB / 0.5271 GB, free: 25.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 3.897e-06/0.3936, allocations: 3.938 kB / 0.5271 GB, free: 25.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.009449/0.403, allocations: 5.53 MB / 0.5325 GB, free: 22.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.4031, allocations: 60.34 kB / 0.5326 GB, free: 22.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.4054, allocations: 2.273 MB / 0.5348 GB, free: 21.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.4055, allocations: 45.2 kB / 0.5348 GB, free: 21.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006007/0.4061, allocations: 1.83 MB / 0.5366 GB, free: 19.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.4063, allocations: 465.2 kB / 0.5371 GB, free: 19.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005934/0.4069, allocations: 0.6657 MB / 0.5377 GB, free: 19.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.4069, allocations: 305.1 kB / 0.538 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4082, allocations: 1.099 MB / 0.5391 GB, free: 18.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.41, allocations: 2.96 MB / 0.542 GB, free: 15.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003156/0.4132, allocations: 4.372 MB / 0.5462 GB, free: 10.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/0.4132, allocations: 20.11 kB / 0.5463 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.004922/0.4182, allocations: 4.138 MB / 0.5503 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.4182, allocations: 35.98 kB / 0.5503 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/0.4183, allocations: 68 kB / 0.5504 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.4187, allocations: 202.4 kB / 0.5506 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.4205, allocations: 0.7291 MB / 0.5513 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.4226, allocations: 2.701 MB / 0.554 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.4244, allocations: 167.9 kB / 0.5541 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.4246, allocations: 200 kB / 0.5543 GB, free: 2.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 390 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001469/0.4261, allocations: 1.433 MB / 0.5557 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.4263, allocations: 185.6 kB / 0.5559 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.4287, allocations: 1.611 MB / 0.5575 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4288, allocations: 7.969 kB / 0.5575 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4288, allocations: 0 / 0.5575 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.4291, allocations: 254.7 kB / 0.5577 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.4293, allocations: 16 kB / 0.5577 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.43, allocations: 63.3 kB / 0.5578 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4301, allocations: 56.92 kB / 0.5578 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002471/0.4326, allocations: 1.559 MB / 0.5594 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003104/0.4357, allocations: 2.445 MB / 0.5617 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007968/0.4365, allocations: 0.6168 MB / 0.5623 GB, free: 9.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001918/0.4384, allocations: 1.472 MB / 0.5638 GB, free: 8.367 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.4384, allocations: 0 / 0.5638 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004028/0.4425, allocations: 2.253 MB / 0.566 GB, free: 6.133 MB / 398.1 MB Notification: Performance of SimCode: time 0.0082/0.4507, allocations: 5.851 MB / 0.5717 GB, free: 268 kB / 398.1 MB Notification: Performance of Templates: time 0.0485/0.4992, allocations: 29.47 MB / 0.6005 GB, free: 2.938 MB / 430.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1)