Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000832/0.0008321, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0008311/0.0008314, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03812/0.03812, allocations: 8.116 MB / 278.5 MB, free: 13.23 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006083/0.0006084, allocations: 19.44 kB / 338.3 MB, free: 27.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09425, allocations: 49.27 MB / 387.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.02401/0.1183, allocations: 26.82 MB / 414.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01603/0.1344, allocations: 6.867 MB / 421.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005478/0.1399, allocations: 119.8 kB / 421.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004394/0.1443, allocations: 1.349 MB / 422.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.1552, allocations: 4.282 MB / 427 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.157, allocations: 479.3 kB / 427.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.7258/0.8828, allocations: 261.1 MB / 0.6724 GB, free: 85.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02253/0.9054, allocations: 21.6 MB / 0.6935 GB, free: 65.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.9165, allocations: 6.959 MB / 0.7003 GB, free: 58.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01737/0.9339, allocations: 11.98 MB / 0.712 GB, free: 46.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005536/0.9395, allocations: 0.8008 MB / 0.7127 GB, free: 45.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007738/0.9473, allocations: 1.541 MB / 0.7142 GB, free: 44.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0126/0.9599, allocations: 10.43 MB / 0.7244 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007629/0.9676, allocations: 4.578 MB / 0.7289 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4084/1.376, allocations: 36.84 MB / 0.7649 GB, free: 75.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.376, allocations: 0 / 0.7649 GB, free: 75.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.265e-06/1.376, allocations: 0 / 0.7649 GB, free: 75.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001622/1.378, allocations: 0 / 0.7649 GB, free: 75.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6082 * Number of variables: 6082 Notification: Performance of Generate backend data structure: time 0.07644/1.454, allocations: 29.87 MB / 0.794 GB, free: 66.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.454, allocations: 7.719 kB / 0.7941 GB, free: 66.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07735/1.532, allocations: 20.03 MB / 0.8136 GB, free: 58.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06735/1.599, allocations: 32.6 MB / 0.8455 GB, free: 39.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001275/1.6, allocations: 1.156 MB / 0.8466 GB, free: 38.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01125/1.611, allocations: 1.681 MB / 0.8482 GB, free: 37.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1343/1.746, allocations: 55.39 MB / 0.9023 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002347/1.748, allocations: 314.1 kB / 0.9026 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01161/1.76, allocations: 0.703 MB / 0.9033 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01052/1.77, allocations: 6.757 MB / 0.9099 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3334/2.104, allocations: 51.01 MB / 0.9597 GB, free: 159.5 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.602/2.706, allocations: 207.2 MB / 1.162 GB, free: 73.13 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07339/2.779, allocations: 35.49 MB / 1.197 GB, free: 71.61 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02368/2.803, allocations: 19.34 MB / 1.216 GB, free: 66.18 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/2.805, allocations: 190.8 kB / 1.216 GB, free: 66.07 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/2.805, allocations: 161.2 kB / 1.216 GB, free: 65.94 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=825): time 3.322e-05/2.805, allocations: 0 / 1.216 GB, free: 65.94 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1005): time 1.16/3.965, allocations: 308.7 MB / 1.517 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006516/3.966, allocations: 1.367 MB / 1.519 GB, free: 115.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05402/4.02, allocations: 23.12 MB / 1.541 GB, free: 93.78 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.003826/4.024, allocations: 186.4 kB / 1.542 GB, free: 93.59 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.01704/4.041, allocations: 12.59 MB / 1.554 GB, free: 81.08 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.008579/4.049, allocations: 3.693 MB / 1.557 GB, free: 77.42 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005806/4.055, allocations: 451.9 kB / 1.558 GB, free: 76.98 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 6.492e-05/4.055, allocations: 305.1 kB / 1.558 GB, free: 76.68 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02832/4.084, allocations: 16 MB / 1.574 GB, free: 60.66 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3488/4.432, allocations: 26.28 MB / 1.599 GB, free: 202.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03148/4.464, allocations: 21.23 MB / 1.62 GB, free: 197.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003793/4.464, allocations: 98.06 kB / 1.62 GB, free: 197.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2865) (initialization): time 0.1255/4.59, allocations: 65.97 MB / 1.685 GB, free: 166.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003482/4.59, allocations: 152 kB / 1.685 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005113/4.591, allocations: 343.9 kB / 1.685 GB, free: 166.1 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05401/4.645, allocations: 25.99 MB / 1.711 GB, free: 140 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01834/4.663, allocations: 5.679 MB / 1.716 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4385/5.102, allocations: 136.4 MB / 1.849 GB, free: 167.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02448/5.126, allocations: 2.618 MB / 1.852 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00788/5.134, allocations: 1.13 MB / 1.853 GB, free: 167 MB / 0.5763 GB Warning: Assuming fixed start value for the following 15 variables: pendulum[15].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[14].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[13].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[12].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[11].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[10].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[9].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[8].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[7].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[6].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[5].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[4].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[3].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[2].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] pendulum[1].revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real [15] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1557 * Number of states: 0 () * Number of discrete variables: 237 (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],pendulum[15].revolute.cylinderColor[3],pendulum[15].revolute.cylinderColor[2],pendulum[15].revolute.cylinderColor[1],pendulum[15].string.color[3],pendulum[15].string.color[2],pendulum[15].string.color[1],pendulum[15].string.body.sphereColor[3],pendulum[15].string.body.sphereColor[2],pendulum[15].string.body.sphereColor[1],pendulum[15].ball.sphereColor[3],pendulum[15].ball.sphereColor[2],pendulum[15].ball.sphereColor[1],pendulum[15].ground.color[3],pendulum[15].ground.color[2],pendulum[15].ground.color[1],pendulum[14].revolute.cylinderColor[3],pendulum[14].revolute.cylinderColor[2],pendulum[14].revolute.cylinderColor[1],pendulum[14].string.color[3],pendulum[14].string.color[2],pendulum[14].string.color[1],pendulum[14].string.body.sphereColor[3],pendulum[14].string.body.sphereColor[2],pendulum[14].string.body.sphereColor[1],pendulum[14].ball.sphereColor[3],pendulum[14].ball.sphereColor[2],pendulum[14].ball.sphereColor[1],pendulum[14].ground.color[3],pendulum[14].ground.color[2],pendulum[14].ground.color[1],pendulum[13].revolute.cylinderColor[3],pendulum[13].revolute.cylinderColor[2],pendulum[13].revolute.cylinderColor[1],pendulum[13].string.color[3],pendulum[13].string.color[2],pendulum[13].string.color[1],pendulum[13].string.body.sphereColor[3],pendulum[13].string.body.sphereColor[2],pendulum[13].string.body.sphereColor[1],pendulum[13].ball.sphereColor[3],pendulum[13].ball.sphereColor[2],pendulum[13].ball.sphereColor[1],pendulum[13].ground.color[3],pendulum[13].ground.color[2],pendulum[13].ground.color[1],pendulum[12].revolute.cylinderColor[3],pendulum[12].revolute.cylinderColor[2],pendulum[12].revolute.cylinderColor[1],pendulum[12].string.color[3],pendulum[12].string.color[2],pendulum[12].string.color[1],pendulum[12].string.body.sphereColor[3],pendulum[12].string.body.sphereColor[2],pendulum[12].string.body.sphereColor[1],pendulum[12].ball.sphereColor[3],pendulum[12].ball.sphereColor[2],pendulum[12].ball.sphereColor[1],pendulum[12].ground.color[3],pendulum[12].ground.color[2],pendulum[12].ground.color[1],pendulum[11].revolute.cylinderColor[3],pendulum[11].revolute.cylinderColor[2],pendulum[11].revolute.cylinderColor[1],pendulum[11].string.color[3],pendulum[11].string.color[2],pendulum[11].string.color[1],pendulum[11].string.body.sphereColor[3],pendulum[11].string.body.sphereColor[2],pendulum[11].string.body.sphereColor[1],pendulum[11].ball.sphereColor[3],pendulum[11].ball.sphereColor[2],pendulum[11].ball.sphereColor[1],pendulum[11].ground.color[3],pendulum[11].ground.color[2],pendulum[11].ground.color[1],pendulum[10].revolute.cylinderColor[3],pendulum[10].revolute.cylinderColor[2],pendulum[10].revolute.cylinderColor[1],pendulum[10].string.color[3],pendulum[10].string.color[2],pendulum[10].string.color[1],pendulum[10].string.body.sphereColor[3],pendulum[10].string.body.sphereColor[2],pendulum[10].string.body.sphereColor[1],pendulum[10].ball.sphereColor[3],pendulum[10].ball.sphereColor[2],pendulum[10].ball.sphereColor[1],pendulum[10].ground.color[3],pendulum[10].ground.color[2],pendulum[10].ground.color[1],pendulum[9].revolute.cylinderColor[3],pendulum[9].revolute.cylinderColor[2],pendulum[9].revolute.cylinderColor[1],pendulum[9].string.color[3],pendulum[9].string.color[2],pendulum[9].string.color[1],pendulum[9].string.body.sphereColor[3],pendulum[9].string.body.sphereColor[2],pendulum[9].string.body.sphereColor[1],pendulum[9].ball.sphereColor[3],pendulum[9].ball.sphereColor[2],pendulum[9].ball.sphereColor[1],pendulum[9].ground.color[3],pendulum[9].ground.color[2],pendulum[9].ground.color[1],pendulum[8].revolute.cylinderColor[3],pendulum[8].revolute.cylinderColor[2],pendulum[8].revolute.cylinderColor[1],pendulum[8].string.color[3],pendulum[8].string.color[2],pendulum[8].string.color[1],pendulum[8].string.body.sphereColor[3],pendulum[8].string.body.sphereColor[2],pendulum[8].string.body.sphereColor[1],pendulum[8].ball.sphereColor[3],pendulum[8].ball.sphereColor[2],pendulum[8].ball.sphereColor[1],pendulum[8].ground.color[3],pendulum[8].ground.color[2],pendulum[8].ground.color[1],pendulum[7].revolute.cylinderColor[3],pendulum[7].revolute.cylinderColor[2],pendulum[7].revolute.cylinderColor[1],pendulum[7].string.color[3],pendulum[7].string.color[2],pendulum[7].string.color[1],pendulum[7].string.body.sphereColor[3],pendulum[7].string.body.sphereColor[2],pendulum[7].string.body.sphereColor[1],pendulum[7].ball.sphereColor[3],pendulum[7].ball.sphereColor[2],pendulum[7].ball.sphereColor[1],pendulum[7].ground.color[3],pendulum[7].ground.color[2],pendulum[7].ground.color[1],pendulum[6].revolute.cylinderColor[3],pendulum[6].revolute.cylinderColor[2],pendulum[6].revolute.cylinderColor[1],pendulum[6].string.color[3],pendulum[6].string.color[2],pendulum[6].string.color[1],pendulum[6].string.body.sphereColor[3],pendulum[6].string.body.sphereColor[2],pendulum[6].string.body.sphereColor[1],pendulum[6].ball.sphereColor[3],pendulum[6].ball.sphereColor[2],pendulum[6].ball.sphereColor[1],pendulum[6].ground.color[3],pendulum[6].ground.color[2],pendulum[6].ground.color[1],pendulum[5].revolute.cylinderColor[3],pendulum[5].revolute.cylinderColor[2],pendulum[5].revolute.cylinderColor[1],pendulum[5].string.color[3],pendulum[5].string.color[2],pendulum[5].string.color[1],pendulum[5].string.body.sphereColor[3],pendulum[5].string.body.sphereColor[2],pendulum[5].string.body.sphereColor[1],pendulum[5].ball.sphereColor[3],pendulum[5].ball.sphereColor[2],pendulum[5].ball.sphereColor[1],pendulum[5].ground.color[3],pendulum[5].ground.color[2],pendulum[5].ground.color[1],pendulum[4].revolute.cylinderColor[3],pendulum[4].revolute.cylinderColor[2],pendulum[4].revolute.cylinderColor[1],pendulum[4].string.color[3],pendulum[4].string.color[2],pendulum[4].string.color[1],pendulum[4].string.body.sphereColor[3],pendulum[4].string.body.sphereColor[2],pendulum[4].string.body.sphereColor[1],pendulum[4].ball.sphereColor[3],pendulum[4].ball.sphereColor[2],pendulum[4].ball.sphereColor[1],pendulum[4].ground.color[3],pendulum[4].ground.color[2],pendulum[4].ground.color[1],pendulum[3].revolute.cylinderColor[3],pendulum[3].revolute.cylinderColor[2],pendulum[3].revolute.cylinderColor[1],pendulum[3].string.color[3],pendulum[3].string.color[2],pendulum[3].string.color[1],pendulum[3].string.body.sphereColor[3],pendulum[3].string.body.sphereColor[2],pendulum[3].string.body.sphereColor[1],pendulum[3].ball.sphereColor[3],pendulum[3].ball.sphereColor[2],pendulum[3].ball.sphereColor[1],pendulum[3].ground.color[3],pendulum[3].ground.color[2],pendulum[3].ground.color[1],pendulum[2].revolute.cylinderColor[3],pendulum[2].revolute.cylinderColor[2],pendulum[2].revolute.cylinderColor[1],pendulum[2].string.color[3],pendulum[2].string.color[2],pendulum[2].string.color[1],pendulum[2].string.body.sphereColor[3],pendulum[2].string.body.sphereColor[2],pendulum[2].string.body.sphereColor[1],pendulum[2].ball.sphereColor[3],pendulum[2].ball.sphereColor[2],pendulum[2].ball.sphereColor[1],pendulum[2].ground.color[3],pendulum[2].ground.color[2],pendulum[2].ground.color[1],pendulum[1].revolute.cylinderColor[3],pendulum[1].revolute.cylinderColor[2],pendulum[1].revolute.cylinderColor[1],pendulum[1].string.color[3],pendulum[1].string.color[2],pendulum[1].string.color[1],pendulum[1].string.body.sphereColor[3],pendulum[1].string.body.sphereColor[2],pendulum[1].string.body.sphereColor[1],pendulum[1].ball.sphereColor[3],pendulum[1].ball.sphereColor[2],pendulum[1].ball.sphereColor[1],pendulum[1].ground.color[3],pendulum[1].ground.color[2],pendulum[1].ground.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2496): * Single equations (assignments): 2478 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03672/5.171, allocations: 13.36 MB / 1.866 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006925/5.178, allocations: 1.685 MB / 1.868 GB, free: 162.9 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09068/5.269, allocations: 51.71 MB / 1.918 GB, free: 139.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002184/5.269, allocations: 109 kB / 1.918 GB, free: 139.5 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003953/5.269, allocations: 72 kB / 1.918 GB, free: 139.4 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000337/5.27, allocations: 59.81 kB / 1.918 GB, free: 139.4 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5172/5.787, allocations: 98.56 MB / 2.015 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002429/5.787, allocations: 7.594 kB / 2.015 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01034/5.798, allocations: 2.404 MB / 2.017 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05435/5.852, allocations: 25.07 MB / 2.041 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004839/5.857, allocations: 197.9 kB / 2.042 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1321/5.989, allocations: 124.3 MB / 2.163 GB, free: 98.11 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/5.989, allocations: 11.84 kB / 2.163 GB, free: 98.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.434/6.423, allocations: 71.6 MB / 2.233 GB, free: 159.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01576/6.439, allocations: 4.996 MB / 2.238 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009772/6.449, allocations: 195.6 kB / 2.238 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0189/6.467, allocations: 2.002 MB / 2.24 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006609/6.474, allocations: 0.6849 MB / 2.241 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003503/6.478, allocations: 249.5 kB / 2.241 GB, free: 159.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.03781/6.515, allocations: 15.6 MB / 2.256 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 5.01e-07/6.516, allocations: 0 / 2.256 GB, free: 158.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.04293/6.558, allocations: 6.258 MB / 2.262 GB, free: 158.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 30 (pendulum[15].revolute.phi,pendulum[15].revolute.w,pendulum[14].revolute.phi,pendulum[14].revolute.w,pendulum[13].revolute.phi,pendulum[13].revolute.w,pendulum[12].revolute.phi,pendulum[12].revolute.w,pendulum[11].revolute.phi,pendulum[11].revolute.w,pendulum[10].revolute.phi,pendulum[10].revolute.w,pendulum[9].revolute.phi,pendulum[9].revolute.w,pendulum[8].revolute.phi,pendulum[8].revolute.w,pendulum[7].revolute.phi,pendulum[7].revolute.w,pendulum[6].revolute.phi,pendulum[6].revolute.w,pendulum[5].revolute.phi,pendulum[5].revolute.w,pendulum[4].revolute.phi,pendulum[4].revolute.w,pendulum[3].revolute.phi,pendulum[3].revolute.w,pendulum[2].revolute.phi,pendulum[2].revolute.w,pendulum[1].revolute.phi,pendulum[1].revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (711): * Single equations (assignments): 693 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004314/6.563, allocations: 401.3 kB / 2.263 GB, free: 158.5 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.07015/6.633, allocations: 39.89 MB / 2.302 GB, free: 146.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/6.633, allocations: 0 / 2.302 GB, free: 146.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0305/6.664, allocations: 18.99 MB / 2.32 GB, free: 139.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03071/6.694, allocations: 3.048 MB / 2.323 GB, free: 138.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.166/6.86, allocations: 95.87 MB / 2.417 GB, free: 58.29 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3133/7.174, allocations: 16.46 MB / 2.433 GB, free: 180.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.03671/7.21, allocations: 13.13 MB / 2.446 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006972/7.217, allocations: 1.022 MB / 2.447 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of SimCode: time 1.303e-06/7.217, allocations: 0 / 2.447 GB, free: 180.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.7342/7.952, allocations: 313.3 MB / 2.753 GB, free: 116.1 MB / 0.5763 GB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile Environment - environmentSimulation: (rm -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.sim & ./ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe 2>&1) Environment - environmentSimulation: