Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 118.6 kB / 16.42 MB, free: 6.496 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.001016/0.001017, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.3/1.3, allocations: 222.9 MB / 241 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.08333/0.08333, allocations: 9.123 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.89 kB / 415.3 MB, free: 21.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08232, allocations: 51.44 MB / 466.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006189/0.08855, allocations: 5.84 MB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.09169, allocations: 2.025 MB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.09204, allocations: 27.88 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.09257, allocations: 266.4 kB / 474.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.09438, allocations: 1.125 MB / 476 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.0945, allocations: 31.95 kB / 476.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.09603, allocations: 1.887 MB / 477.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.09627, allocations: 142.8 kB / 478.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.09685, allocations: 0.6498 MB / 478.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009909/0.09785, allocations: 0.9888 MB / 479.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.0981, allocations: 180 kB / 479.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.09916, allocations: 0.741 MB / 480.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007109/0.09988, allocations: 0.9467 MB / 481.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008732/0.1008, allocations: 1.188 MB / 482.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.1039, allocations: 4.061 MB / 486.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1039, allocations: 0 / 486.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.104, allocations: 3.938 kB / 486.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.104, allocations: 3.938 kB / 486.8 MB, free: 13.37 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: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.004127/0.1081, allocations: 2.567 MB / 489.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1082, allocations: 20.02 kB / 489.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.1143, allocations: 1.663 MB / 491.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.1164, allocations: 1.093 MB / 492.2 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.1165, allocations: 98.8 kB / 492.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.1168, allocations: 136.2 kB / 492.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008374/0.1251, allocations: 6.501 MB / 498.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.1252, allocations: 11.94 kB / 498.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/0.1255, allocations: 63.83 kB / 499 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00258/0.1281, allocations: 1.625 MB / 0.4889 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009786/0.1379, allocations: 6.043 MB / 0.4948 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2076/0.3455, allocations: 18.13 MB / 0.5125 GB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.3479, allocations: 1.553 MB / 0.514 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.3486, allocations: 0.5332 MB / 0.5145 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003368/0.352, allocations: 2.131 MB / 0.5166 GB, free: 20.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.352, allocations: 40.44 kB / 0.5166 GB, free: 20.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.735e-06/0.352, allocations: 1.078 kB / 0.5166 GB, free: 20.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003007/0.355, allocations: 1.492 MB / 0.5181 GB, free: 20.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.3551, allocations: 57.44 kB / 0.5182 GB, free: 20.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.3578, allocations: 2.014 MB / 0.5201 GB, free: 20.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.3579, allocations: 36.8 kB / 0.5202 GB, free: 20.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007839/0.3587, allocations: 1.653 MB / 0.5218 GB, free: 19.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.3589, allocations: 319.8 kB / 0.5221 GB, free: 18.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/0.3595, allocations: 0.5647 MB / 0.5226 GB, free: 18.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.3596, allocations: 369.6 kB / 0.523 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.361, allocations: 0.9176 MB / 0.5239 GB, free: 18.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.3628, allocations: 2.577 MB / 0.5264 GB, free: 15.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.3659, allocations: 3.722 MB / 0.53 GB, free: 12.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/0.366, allocations: 16.5 kB / 0.53 GB, free: 12.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.00443/0.3704, allocations: 3.431 MB / 0.5334 GB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.3704, allocations: 34.7 kB / 0.5334 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/0.3705, allocations: 64.19 kB / 0.5335 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.966e-05/0.3706, allocations: 79.42 kB / 0.5336 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.3721, allocations: 0.6149 MB / 0.5342 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.604e-05/0.3722, allocations: 114.7 kB / 0.5343 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.374, allocations: 415.4 kB / 0.5347 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.3741, allocations: 169.5 kB / 0.5348 GB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (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 (334): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001364/0.3755, allocations: 1.307 MB / 0.5361 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.3757, allocations: 147.7 kB / 0.5363 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.3771, allocations: 1.08 MB / 0.5373 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3772, allocations: 0 / 0.5373 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3772, allocations: 0 / 0.5373 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.3774, allocations: 251.1 kB / 0.5375 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.3776, allocations: 7.812 kB / 0.5376 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.3781, allocations: 31.05 kB / 0.5376 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.3782, allocations: 39.11 kB / 0.5376 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001279/0.3795, allocations: 1.017 MB / 0.5386 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001783/0.3813, allocations: 1.811 MB / 0.5404 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004609/0.3817, allocations: 444.8 kB / 0.5408 GB, free: 8.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.3831, allocations: 1.31 MB / 0.5421 GB, free: 8.008 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.3831, allocations: 0 / 0.5421 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.386, allocations: 1.764 MB / 0.5438 GB, free: 7.371 MB / 382.1 MB Notification: Performance of SimCode: time 0.00623/0.3922, allocations: 5.395 MB / 0.5491 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Templates: time 0.03811/0.4303, allocations: 24.69 MB / 0.5732 GB, free: 10 MB / 414.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.FreeBody.sim & ./PlanarMechanics_PlanarMechanics.Examples.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1)