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.001284/0.001284, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001115/0.001115, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04611/0.04611, allocations: 9.121 MB / 300.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.09 kB / 415.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08566, allocations: 51.45 MB / 466.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.01826/0.1039, allocations: 18.51 MB / 485.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.1153, allocations: 5.64 MB / 490.9 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.118, allocations: 99.75 kB / 491 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.1213, allocations: 1.754 MB / 492.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006539/0.1279, allocations: 3.003 MB / 495.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1296, allocations: 0.7332 MB / 496.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009001/0.1386, allocations: 6.717 MB / 0.4914 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006012/0.1446, allocations: 3.992 MB / 0.4953 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.1484, allocations: 2.191 MB / 0.4975 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.1529, allocations: 2.923 MB / 0.5003 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001789/0.1547, allocations: 0.5468 MB / 0.5009 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.1581, allocations: 1.342 MB / 0.5022 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2263/0.3844, allocations: 2.714 MB / 0.5048 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004083/0.3885, allocations: 3.571 MB / 0.5083 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.3999, allocations: 11.39 MB / 0.5194 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4, allocations: 0.5 kB / 0.5194 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4, allocations: 0.5938 kB / 0.5194 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002844/0.4003, allocations: 3.562 kB / 0.5194 GB, free: 9.344 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.03538/0.4356, allocations: 10.89 MB / 0.5301 GB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4357, allocations: 8.125 kB / 0.5301 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/0.4485, allocations: 3.54 MB / 0.5335 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/0.455, allocations: 3.427 MB / 0.5369 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.4553, allocations: 336.7 kB / 0.5372 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.4564, allocations: 454 kB / 0.5376 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/0.4858, allocations: 17.6 MB / 0.5548 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.486, allocations: 83.42 kB / 0.5549 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007382/0.4868, allocations: 220 kB / 0.5551 GB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005689/0.4925, allocations: 3.707 MB / 0.5587 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.5264, allocations: 15.4 MB / 0.5738 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/0.6282, allocations: 71.65 MB / 0.6437 GB, free: 9.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02519/0.6534, allocations: 7.332 MB / 0.6509 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006928/0.6604, allocations: 3.36 MB / 0.6542 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03414/0.6946, allocations: 14.48 MB / 0.6683 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.698e-05/0.6947, allocations: 72.81 kB / 0.6684 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=373): time 1.071e-05/0.6948, allocations: 4 kB / 0.6684 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=420): time 0.08657/0.7813, allocations: 25.48 MB / 0.6933 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.7815, allocations: 196.8 kB / 0.6935 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01284/0.7943, allocations: 6.578 MB / 0.6999 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007034/0.7951, allocations: 84.98 kB / 0.7 GB, free: 14.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00387/0.799, allocations: 4.776 MB / 0.7046 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/0.801, allocations: 1.549 MB / 0.7061 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005293/0.8063, allocations: 2.136 MB / 0.7082 GB, free: 6.449 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8064, allocations: 305.1 kB / 0.7085 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006567/0.813, allocations: 3.609 MB / 0.712 GB, free: 2.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2269/1.04, allocations: 9.615 MB / 0.7214 GB, free: 189.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01576/1.056, allocations: 14.45 MB / 0.7355 GB, free: 179.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002609/1.056, allocations: 58.19 kB / 0.7356 GB, free: 179.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.02255/1.079, allocations: 13.39 MB / 0.7487 GB, free: 174.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/1.079, allocations: 98.44 kB / 0.7488 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.079, allocations: 210.6 kB / 0.749 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.08, allocations: 0.5975 MB / 0.7496 GB, free: 174 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008143/1.088, allocations: 2.458 MB / 0.752 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/1.094, allocations: 5.099 MB / 0.7569 GB, free: 170 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008521/1.103, allocations: 498.2 kB / 0.7574 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.105, allocations: 0.63 MB / 0.758 GB, free: 169 MB / 0.545 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.007009/1.112, allocations: 3.524 MB / 0.7615 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.113, allocations: 0.5715 MB / 0.762 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009216/1.122, allocations: 5.217 MB / 0.7671 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.316e-05/1.123, allocations: 18.84 kB / 0.7671 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.123, allocations: 0 / 0.7671 GB, free: 161.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.125, allocations: 1.091 MB / 0.7682 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/1.126, allocations: 70.83 kB / 0.7683 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.129, allocations: 123.1 kB / 0.7684 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/1.13, allocations: 240.6 kB / 0.7686 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009352/1.139, allocations: 5.725 MB / 0.7742 GB, free: 155 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009888/1.149, allocations: 8.629 MB / 0.7826 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002612/1.152, allocations: 2.26 MB / 0.7848 GB, free: 145.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007807/1.16, allocations: 4.14 MB / 0.7889 GB, free: 141.4 MB / 0.545 GB Notification: Performance of Backend: time 3.3e-07/1.16, allocations: 0 / 0.7889 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.175, allocations: 6.972 MB / 0.7957 GB, free: 134.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.02711/1.203, allocations: 14.65 MB / 0.81 GB, free: 119.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1151/1.318, allocations: 75.25 MB / 0.8835 GB, free: 45.09 MB / 0.545 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)