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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 188.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 207.6 MB / 233 MB, free: 10.04 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05214/0.05214, allocations: 8.181 MB / 293.4 MB, free: 13.7 MB / 238.1 MB " [Timeout remaining time 180] 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=6000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") [Timeout 660] "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.002507/0.002507, allocations: 67.03 kB / 410.9 MB, free: 46.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09381, allocations: 50.93 MB / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01188/0.1057, allocations: 8.77 MB / 470.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009077/0.1148, allocations: 3.63 MB / 474.2 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1166, allocations: 47.81 kB / 474.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.1204, allocations: 1.569 MB / 475.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.1253, allocations: 1.631 MB / 477.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.127, allocations: 0.5809 MB / 478 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03452/0.1615, allocations: 27.29 MB / 0.4935 GB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03188/0.1934, allocations: 18.04 MB / 0.5111 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02399/0.2174, allocations: 10.5 MB / 0.5213 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3149/0.5323, allocations: 15 MB / 0.536 GB, free: 27.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01662/0.5489, allocations: 2.56 MB / 0.5385 GB, free: 27.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.5654, allocations: 3.445 MB / 0.5419 GB, free: 27.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02287/0.5883, allocations: 12.96 MB / 0.5545 GB, free: 25.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03095/0.6192, allocations: 13.58 MB / 0.5678 GB, free: 16.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06278/0.682, allocations: 45.14 MB / 0.6119 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.682, allocations: 0 / 0.6119 GB, free: 11.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.682, allocations: 0 / 0.6119 GB, free: 11.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001887/0.6839, allocations: 4 kB / 0.6119 GB, free: 11.81 MB / 430.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.1323/0.8162, allocations: 35.38 MB / 0.6464 GB, free: 8.707 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.8163, allocations: 11.98 kB / 0.6464 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09345/0.9097, allocations: 19.91 MB / 0.6659 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09223/1.002, allocations: 36.58 MB / 0.7016 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001734/1.004, allocations: 1.154 MB / 0.7027 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01195/1.016, allocations: 1.681 MB / 0.7044 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6238/1.639, allocations: 55.37 MB / 0.7584 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002641/1.642, allocations: 316.5 kB / 0.7587 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01022/1.652, allocations: 0.6948 MB / 0.7594 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.011/1.663, allocations: 6.764 MB / 0.766 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09421/1.757, allocations: 51.03 MB / 0.8159 GB, free: 95.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8712/2.629, allocations: 209.2 MB / 1.02 GB, free: 84.49 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07562/2.704, allocations: 34.29 MB / 1.054 GB, free: 82.35 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02305/2.727, allocations: 18.46 MB / 1.072 GB, free: 74.12 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/2.729, allocations: 184.4 kB / 1.072 GB, free: 74.08 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/2.729, allocations: 164.1 kB / 1.072 GB, free: 73.96 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=825): time 2.371e-05/2.729, allocations: 3.688 kB / 1.072 GB, free: 73.96 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1005): time 1.256/3.985, allocations: 302.2 MB / 1.367 GB, free: 97.86 MB / 0.6233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002939/3.986, allocations: 1.36 MB / 1.369 GB, free: 96.2 MB / 0.6233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05462/4.04, allocations: 26.85 MB / 1.395 GB, free: 69.65 MB / 0.6233 GB Notification: Performance of collectPreVariables (initialization): time 0.003771/4.044, allocations: 189.6 kB / 1.395 GB, free: 69.46 MB / 0.6233 GB Notification: Performance of collectInitialEqns (initialization): time 0.01716/4.061, allocations: 12.79 MB / 1.407 GB, free: 58.13 MB / 0.6233 GB Notification: Performance of collectInitialBindings (initialization): time 0.008487/4.07, allocations: 3.869 MB / 1.411 GB, free: 54.68 MB / 0.6233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03295/4.103, allocations: 5.513 MB / 1.417 GB, free: 49.16 MB / 0.6233 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/4.103, allocations: 301.1 kB / 1.417 GB, free: 48.86 MB / 0.6233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3607/4.463, allocations: 19.55 MB / 1.436 GB, free: 198.6 MB / 0.6233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03503/4.498, allocations: 29.9 MB / 1.465 GB, free: 179.5 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.271/4.769, allocations: 128.6 MB / 1.591 GB, free: 78.44 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006846/4.77, allocations: 96 kB / 1.591 GB, free: 78.34 MB / 0.6233 GB Notification: Performance of matching and sorting (n=3000) (initialization): time 0.499/5.269, allocations: 73.23 MB / 1.662 GB, free: 165.3 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002548/5.269, allocations: 149.6 kB / 1.663 GB, free: 165.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005577/5.27, allocations: 341.1 kB / 1.663 GB, free: 165.3 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06205/5.332, allocations: 25.86 MB / 1.688 GB, free: 164.2 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02019/5.352, allocations: 5.679 MB / 1.694 GB, free: 164 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1641/5.516, allocations: 143.9 MB / 1.834 GB, free: 47.48 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06483/5.581, allocations: 14.37 MB / 1.848 GB, free: 33.12 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008196/5.589, allocations: 1.186 MB / 1.849 GB, free: 31.94 MB / 0.6233 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 (2511): * Single equations (assignments): 2478 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.03387/5.623, allocations: 13.27 MB / 1.862 GB, free: 18.88 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01022/5.633, allocations: 1.742 MB / 1.864 GB, free: 18.11 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4403/6.074, allocations: 51.54 MB / 1.914 GB, free: 169.5 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002617/6.074, allocations: 110 kB / 1.915 GB, free: 169.5 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004708/6.074, allocations: 70.5 kB / 1.915 GB, free: 169.5 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003744/6.075, allocations: 57.7 kB / 1.915 GB, free: 169.5 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1906/6.265, allocations: 100.3 MB / 2.013 GB, free: 97.89 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001955/6.266, allocations: 8 kB / 2.013 GB, free: 97.88 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/6.276, allocations: 2.41 MB / 2.015 GB, free: 95.46 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06736/6.343, allocations: 25.07 MB / 2.039 GB, free: 70.33 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005254/6.348, allocations: 204 kB / 2.04 GB, free: 70.13 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.48/6.828, allocations: 131.5 MB / 2.168 GB, free: 139.8 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/6.828, allocations: 10.38 kB / 2.168 GB, free: 139.8 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1237/6.952, allocations: 71.57 MB / 2.238 GB, free: 96.12 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01773/6.97, allocations: 5.834 MB / 2.244 GB, free: 91.27 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009387/6.979, allocations: 198.5 kB / 2.244 GB, free: 91.07 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02077/7, allocations: 3.026 MB / 2.247 GB, free: 88.05 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005709/7.006, allocations: 0.7305 MB / 2.247 GB, free: 87.32 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003901/7.009, allocations: 244 kB / 2.248 GB, free: 87.09 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.03462/7.044, allocations: 18.35 MB / 2.266 GB, free: 68.8 MB / 0.6233 GB Notification: Performance of sort global known variables: time 2.1e-07/7.044, allocations: 1.203 kB / 2.266 GB, free: 68.8 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.03916/7.083, allocations: 8.433 MB / 2.274 GB, free: 60.38 MB / 0.6233 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 (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%), (1,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004432/7.088, allocations: 401.1 kB / 2.274 GB, free: 60 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.06187/7.15, allocations: 42.26 MB / 2.316 GB, free: 17.8 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/7.15, allocations: 8 kB / 2.316 GB, free: 17.8 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.3089/7.459, allocations: 18.18 MB / 2.333 GB, free: 164.1 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03599/7.495, allocations: 3.186 MB / 2.336 GB, free: 163.7 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1813/7.676, allocations: 89.55 MB / 2.424 GB, free: 140.4 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03882/7.715, allocations: 16.46 MB / 2.44 GB, free: 127.6 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.02853/7.743, allocations: 12.96 MB / 2.453 GB, free: 116.4 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008211/7.751, allocations: 1.032 MB / 2.454 GB, free: 115.4 MB / 0.6233 GB Notification: Performance of SimCode: time 1.733e-06/7.751, allocations: 0 / 2.454 GB, free: 115.4 MB / 0.6233 GB Notification: Performance of Templates: time 1.254/9.005, allocations: 379.4 MB / 2.824 GB, free: 175.1 MB / 0.6545 GB " [Timeout remaining time 651] make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.750671536661685] Failed to read output from testmodel.py, exit status != 0: 9.015775715000927 9.03428254 8.348109331 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9cf2a397b0>