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.001119/0.001119, allocations: 111.1 kB / 16.42 MB, free: 6.457 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.001137, allocations: 190.7 kB / 17.35 MB, free: 5.715 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 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.08881/0.08881, allocations: 9.124 MB / 300.3 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 415.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.09016, allocations: 51.45 MB / 466.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006221/0.09642, allocations: 5.84 MB / 472.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.09947, allocations: 2.024 MB / 474.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.09977, allocations: 23.94 kB / 474.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1003, allocations: 270.4 kB / 474.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.1021, allocations: 1.09 MB / 476 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.1023, allocations: 43.89 kB / 476 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.1039, allocations: 1.882 MB / 477.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1042, allocations: 150.8 kB / 478.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.1047, allocations: 0.642 MB / 478.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.1058, allocations: 0.9888 MB / 479.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.1061, allocations: 183.9 kB / 479.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.1071, allocations: 0.745 MB / 480.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006782/0.1078, allocations: 0.9467 MB / 481.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008305/0.1086, allocations: 1.184 MB / 482.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.1119, allocations: 4.053 MB / 486.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1119, allocations: 3.938 kB / 486.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1119, allocations: 4 kB / 486.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.1119, allocations: 3.938 kB / 486.8 MB, free: 13.63 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.004359/0.1163, allocations: 2.571 MB / 489.4 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1163, allocations: 12.02 kB / 489.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/0.1228, allocations: 1.682 MB / 491.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.1243, allocations: 1.081 MB / 492.2 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/0.1244, allocations: 102.8 kB / 492.3 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.1247, allocations: 124.3 kB / 492.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008179/0.1329, allocations: 6.512 MB / 498.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.1329, allocations: 15.88 kB / 498.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.1332, allocations: 59.89 kB / 499 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002753/0.1359, allocations: 1.625 MB / 0.4889 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.146, allocations: 6.032 MB / 0.4947 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.218/0.364, allocations: 18.14 MB / 0.5125 GB, free: 30.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.3665, allocations: 1.553 MB / 0.514 GB, free: 30.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007473/0.3672, allocations: 0.5358 MB / 0.5145 GB, free: 30.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003386/0.3706, allocations: 2.135 MB / 0.5166 GB, free: 29.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3707, allocations: 40.55 kB / 0.5166 GB, free: 29.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 3.156e-06/0.3707, allocations: 3.281 kB / 0.5166 GB, free: 29.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003262/0.374, allocations: 1.491 MB / 0.5181 GB, free: 28.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.374, allocations: 57.16 kB / 0.5181 GB, free: 28.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.3771, allocations: 2.014 MB / 0.5201 GB, free: 27.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.3772, allocations: 32.27 kB / 0.5201 GB, free: 27.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008618/0.378, allocations: 1.649 MB / 0.5217 GB, free: 26.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.3783, allocations: 326.4 kB / 0.5221 GB, free: 26.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006826/0.379, allocations: 0.5605 MB / 0.5226 GB, free: 26.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3791, allocations: 362 kB / 0.5229 GB, free: 25.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3805, allocations: 0.9225 MB / 0.5238 GB, free: 25.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.3825, allocations: 2.575 MB / 0.5264 GB, free: 23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.3857, allocations: 3.733 MB / 0.53 GB, free: 19.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/0.3857, allocations: 16.5 kB / 0.53 GB, free: 19.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.00485/0.3906, allocations: 3.427 MB / 0.5334 GB, free: 18.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.3906, allocations: 34.28 kB / 0.5334 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/0.3907, allocations: 63.91 kB / 0.5335 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.107e-05/0.3908, allocations: 79.19 kB / 0.5335 GB, free: 18.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.3924, allocations: 0.6145 MB / 0.5341 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.717e-05/0.3924, allocations: 117.5 kB / 0.5343 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.3942, allocations: 413.3 kB / 0.5346 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.3944, allocations: 168.4 kB / 0.5348 GB, free: 18.07 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.001348/0.3958, allocations: 1.309 MB / 0.5361 GB, free: 17.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.396, allocations: 155.7 kB / 0.5362 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.3974, allocations: 1.062 MB / 0.5373 GB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3975, allocations: 3.562 kB / 0.5373 GB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3975, allocations: 0 / 0.5373 GB, free: 16.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.3977, allocations: 249.2 kB / 0.5375 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.3979, allocations: 7.969 kB / 0.5375 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.3984, allocations: 30.83 kB / 0.5376 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.81e-05/0.3985, allocations: 35.45 kB / 0.5376 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001308/0.3998, allocations: 1.018 MB / 0.5386 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001812/0.4016, allocations: 1.808 MB / 0.5403 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004838/0.4021, allocations: 438.7 kB / 0.5408 GB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001425/0.4035, allocations: 1.314 MB / 0.542 GB, free: 14.7 MB / 382.1 MB Notification: Performance of Backend: time 3.41e-07/0.4036, allocations: 7.875 kB / 0.5421 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.4064, allocations: 1.769 MB / 0.5438 GB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.006443/0.4129, allocations: 5.387 MB / 0.549 GB, free: 8.035 MB / 382.1 MB Notification: Performance of Templates: time 0.03859/0.4515, allocations: 24.7 MB / 0.5732 GB, free: 15.44 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)