Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.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.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 115.2 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.00186/0.00186, 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.355/1.355, 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.04554/0.04554, allocations: 9.118 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 415.3 MB, free: 21.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1021, allocations: 51.44 MB / 466.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.019/0.1212, allocations: 18.51 MB / 485.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.1325, allocations: 5.652 MB / 490.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.1351, allocations: 91.75 kB / 491 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.139, allocations: 1.75 MB / 492.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007629/0.1466, allocations: 3.084 MB / 495.9 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1485, allocations: 0.7332 MB / 496.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008523/0.1571, allocations: 6.721 MB / 0.4915 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006205/0.1633, allocations: 3.992 MB / 0.4954 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.1668, allocations: 2.191 MB / 0.4976 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004509/0.1713, allocations: 2.931 MB / 0.5004 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.1729, allocations: 0.543 MB / 0.501 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.1766, allocations: 1.33 MB / 0.5022 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2168/0.3934, allocations: 2.711 MB / 0.5049 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009257/0.4027, allocations: 3.569 MB / 0.5084 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.4217, allocations: 11.43 MB / 0.5195 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4217, allocations: 4.312 kB / 0.5196 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4217, allocations: 0 / 0.5196 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004595/0.4222, allocations: 0.5625 kB / 0.5196 GB, free: 9.305 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2454 * Number of variables: 2454 Notification: Performance of Generate backend data structure: time 0.03587/0.4581, allocations: 11.1 MB / 0.5304 GB, free: 5.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4581, allocations: 10.25 kB / 0.5304 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.4705, allocations: 3.583 MB / 0.5339 GB, free: 3.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007224/0.4778, allocations: 3.431 MB / 0.5372 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.4781, allocations: 349 kB / 0.5376 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.4797, allocations: 453.9 kB / 0.538 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03333/0.5131, allocations: 17.6 MB / 0.5552 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002273/0.5134, allocations: 79.14 kB / 0.5553 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009391/0.5143, allocations: 224.8 kB / 0.5555 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005851/0.5202, allocations: 3.709 MB / 0.5591 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03424/0.5544, allocations: 15.4 MB / 0.5742 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1042/0.6586, allocations: 71.75 MB / 0.6442 GB, free: 8.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02479/0.6835, allocations: 7.348 MB / 0.6514 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006798/0.6903, allocations: 3.344 MB / 0.6547 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03389/0.7242, allocations: 14.52 MB / 0.6688 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/0.7244, allocations: 70.59 kB / 0.6689 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=373): time 9.528e-06/0.7244, allocations: 2.438 kB / 0.6689 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=420): time 0.08019/0.8046, allocations: 25.92 MB / 0.6942 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.8047, allocations: 195.7 kB / 0.6944 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2779/1.083, allocations: 6.584 MB / 0.7008 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007227/1.083, allocations: 84.42 kB / 0.7009 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004184/1.088, allocations: 4.971 MB / 0.7058 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.09, allocations: 1.615 MB / 0.7074 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003729/1.093, allocations: 2.15 MB / 0.7095 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/1.093, allocations: 307.1 kB / 0.7097 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006084/1.099, allocations: 3.61 MB / 0.7133 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007762/1.107, allocations: 9.623 MB / 0.7227 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/1.12, allocations: 14.44 MB / 0.7368 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/1.121, allocations: 62.28 kB / 0.7368 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.02497/1.146, allocations: 13.43 MB / 0.7499 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/1.146, allocations: 92 kB / 0.75 GB, free: 148.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002734/1.146, allocations: 213.8 kB / 0.7502 GB, free: 148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.147, allocations: 0.5977 MB / 0.7508 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00818/1.155, allocations: 2.459 MB / 0.7532 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005673/1.161, allocations: 5.104 MB / 0.7582 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009043/1.17, allocations: 491.4 kB / 0.7587 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/1.172, allocations: 0.6326 MB / 0.7593 GB, free: 139.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 958 * Number of states: 0 () * Number of discrete variables: 42 (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],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1307): * Single equations (assignments): 1298 * Array equations: 8 * 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 {(6,28,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00781/1.18, allocations: 3.508 MB / 0.7627 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/1.182, allocations: 0.6053 MB / 0.7633 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009529/1.191, allocations: 5.231 MB / 0.7684 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.124e-05/1.191, allocations: 17.91 kB / 0.7684 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.191, allocations: 6.891 kB / 0.7684 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/1.194, allocations: 1.113 MB / 0.7695 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.195, allocations: 65.41 kB / 0.7696 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.197, allocations: 125.3 kB / 0.7697 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004348/1.198, allocations: 246.1 kB / 0.7699 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008345/1.206, allocations: 5.731 MB / 0.7755 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00937/1.216, allocations: 8.66 MB / 0.784 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002391/1.218, allocations: 2.259 MB / 0.7862 GB, free: 113 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005623/1.224, allocations: 4.138 MB / 0.7902 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of Backend: time 2.91e-07/1.224, allocations: 4 kB / 0.7903 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.236, allocations: 6.97 MB / 0.7971 GB, free: 102 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02222/1.259, allocations: 14.89 MB / 0.8116 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.1192/1.378, allocations: 75.24 MB / 0.8851 GB, free: 12.36 MB / 0.5294 GB make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile (rm -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.sim & ./PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1)