Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 109.5 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.001071/0.001072, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04501/0.04501, allocations: 9.117 MB / 300.3 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.88 kB / 415.3 MB, free: 21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.09086, allocations: 51.43 MB / 466.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.009532/0.1005, allocations: 8.195 MB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.1055, allocations: 2.663 MB / 477.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/0.1062, allocations: 31.94 kB / 477.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.107, allocations: 353.7 kB / 478 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.1094, allocations: 1.214 MB / 479.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.11, allocations: 271.5 kB / 479.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1124, allocations: 2.436 MB / 481.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1137, allocations: 1.142 MB / 483 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1148, allocations: 0.8911 MB / 483.9 MB, free: 268 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.1162, allocations: 1.312 MB / 485.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.1166, allocations: 248 kB / 485.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.1179, allocations: 0.7685 MB / 486.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00096/0.1188, allocations: 1.208 MB / 487.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.12, allocations: 1.542 MB / 489 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004535/0.1246, allocations: 4.921 MB / 493.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1246, allocations: 0 / 493.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1246, allocations: 0 / 493.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.952e-05/0.1247, allocations: 0 / 493.9 MB, free: 6.234 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.007116/0.1318, allocations: 3.623 MB / 497.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1319, allocations: 8.031 kB / 497.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006812/0.1387, allocations: 1.752 MB / 499.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.1407, allocations: 1.326 MB / 0.4889 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.1409, allocations: 152.1 kB / 0.489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.1412, allocations: 200.2 kB / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009945/0.1512, allocations: 7.558 MB / 0.4966 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.012e-05/0.1513, allocations: 27.81 kB / 0.4966 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003303/0.1517, allocations: 91.88 kB / 0.4967 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002866/0.1545, allocations: 1.708 MB / 0.4984 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2302/0.3848, allocations: 6.82 MB / 0.5051 GB, free: 39.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.032/0.4168, allocations: 22.9 MB / 0.5274 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.4204, allocations: 2.023 MB / 0.5294 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.4215, allocations: 0.7613 MB / 0.5301 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004173/0.4257, allocations: 2.85 MB / 0.5329 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4258, allocations: 44.94 kB / 0.533 GB, free: 21.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=118): time 3.446e-06/0.4258, allocations: 3.938 kB / 0.533 GB, free: 21.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.007216/0.433, allocations: 4.024 MB / 0.5369 GB, free: 19.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.433, allocations: 63.16 kB / 0.537 GB, free: 19.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.4361, allocations: 2.402 MB / 0.5393 GB, free: 17.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.4362, allocations: 47.08 kB / 0.5394 GB, free: 17.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.4371, allocations: 1.997 MB / 0.5413 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.4374, allocations: 0.4956 MB / 0.5418 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/0.4382, allocations: 0.7236 MB / 0.5425 GB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.4383, allocations: 309 kB / 0.5428 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.4399, allocations: 1.225 MB / 0.544 GB, free: 14.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.4423, allocations: 3.26 MB / 0.5472 GB, free: 9.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/0.4479, allocations: 5.386 MB / 0.5524 GB, free: 3.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.416e-05/0.448, allocations: 24 kB / 0.5524 GB, free: 3.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.006238/0.4542, allocations: 4.558 MB / 0.5569 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.4543, allocations: 36 kB / 0.5569 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.169e-05/0.4544, allocations: 72 kB / 0.557 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.4549, allocations: 240.7 kB / 0.5572 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.4573, allocations: 0.8187 MB / 0.558 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.4606, allocations: 2.883 MB / 0.5608 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.4629, allocations: 187.8 kB / 0.561 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.4632, allocations: 223.8 kB / 0.5612 GB, free: 10.42 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = "rad/s" fixed = true stateSelect=StateSelect.always ) "Angular velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (436): * Single equations (assignments): 431 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00215/0.4654, allocations: 1.508 MB / 0.5627 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.4657, allocations: 201.3 kB / 0.5629 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.4688, allocations: 1.814 MB / 0.5647 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4688, allocations: 7.984 kB / 0.5647 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4689, allocations: 384 / 0.5647 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.4695, allocations: 414.5 kB / 0.5651 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.4698, allocations: 20 kB / 0.5651 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007932/0.4706, allocations: 67.03 kB / 0.5652 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.4708, allocations: 68.84 kB / 0.5652 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003048/0.4738, allocations: 1.746 MB / 0.5669 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003689/0.4775, allocations: 2.753 MB / 0.5696 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009748/0.4785, allocations: 0.703 MB / 0.5703 GB, free: 1.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002288/0.4808, allocations: 1.546 MB / 0.5718 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Backend: time 3.71e-07/0.4808, allocations: 4 kB / 0.5718 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004585/0.4854, allocations: 2.478 MB / 0.5742 GB, free: 13.05 MB / 414.1 MB Notification: Performance of SimCode: time 0.01043/0.4959, allocations: 6.264 MB / 0.5804 GB, free: 6.773 MB / 414.1 MB Notification: Performance of Templates: time 0.05451/0.5504, allocations: 31.83 MB / 0.6114 GB, free: 7.082 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1)