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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.523/1.523, allocations: 207.7 MB / 233.1 MB, free: 9.781 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.0541/0.0541, allocations: 8.209 MB / 293.5 MB, free: 13.45 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.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.002553/0.002553, allocations: 77.62 kB / 410.9 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08338, allocations: 50.93 MB / 461.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01095/0.09432, allocations: 7.685 MB / 469.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.1016, allocations: 3.401 MB / 472.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.1028, allocations: 55.75 kB / 473 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003404/0.1063, allocations: 1.518 MB / 474.5 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004379/0.1106, allocations: 1.627 MB / 476.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1121, allocations: 0.581 MB / 476.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03291/0.145, allocations: 27.3 MB / 0.4922 GB, free: 2.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03215/0.1771, allocations: 19.42 MB / 0.5112 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01906/0.1962, allocations: 10.5 MB / 0.5214 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2316/0.4278, allocations: 16.4 MB / 0.5374 GB, free: 29.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01097/0.4388, allocations: 2.558 MB / 0.5399 GB, free: 29.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.4512, allocations: 3.318 MB / 0.5432 GB, free: 29.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01936/0.4706, allocations: 13.09 MB / 0.5559 GB, free: 26.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02701/0.4976, allocations: 10.44 MB / 0.5661 GB, free: 20.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05202/0.5496, allocations: 45.38 MB / 0.6105 GB, free: 14.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.5496, allocations: 0 / 0.6105 GB, free: 14.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5496, allocations: 0 / 0.6105 GB, free: 14.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001672/0.5513, allocations: 4 kB / 0.6105 GB, free: 14.54 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.1218/0.6731, allocations: 35.38 MB / 0.645 GB, free: 11.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.6731, allocations: 15.98 kB / 0.645 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09358/0.7667, allocations: 19.91 MB / 0.6645 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09276/0.8595, allocations: 36.62 MB / 0.7002 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/0.8609, allocations: 1.149 MB / 0.7014 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008215/0.8691, allocations: 1.687 MB / 0.703 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5533/1.422, allocations: 55.74 MB / 0.7574 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001518/1.424, allocations: 322.2 kB / 0.7577 GB, free: 110.2 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006531/1.43, allocations: 0.6996 MB / 0.7584 GB, free: 109.8 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008536/1.439, allocations: 6.758 MB / 0.765 GB, free: 108.3 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09032/1.529, allocations: 50.86 MB / 0.8147 GB, free: 65.58 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7936/2.323, allocations: 186.9 MB / 0.9972 GB, free: 85.01 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0745/2.397, allocations: 34.3 MB / 1.031 GB, free: 82.12 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02203/2.419, allocations: 18.45 MB / 1.049 GB, free: 75.18 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/2.421, allocations: 128.1 kB / 1.049 GB, free: 75.15 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/2.421, allocations: 155.7 kB / 1.049 GB, free: 75.05 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=825): time 2.686e-05/2.421, allocations: 0 / 1.049 GB, free: 75.05 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1005): time 1.078/3.499, allocations: 302.7 MB / 1.345 GB, free: 102.3 MB / 0.6233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004598/3.499, allocations: 1.354 MB / 1.346 GB, free: 100.7 MB / 0.6233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0502/3.55, allocations: 24.4 MB / 1.37 GB, free: 78.05 MB / 0.6233 GB Notification: Performance of collectPreVariables (initialization): time 0.003734/3.553, allocations: 185.7 kB / 1.37 GB, free: 77.86 MB / 0.6233 GB Notification: Performance of collectInitialEqns (initialization): time 0.01358/3.567, allocations: 12.76 MB / 1.382 GB, free: 66.71 MB / 0.6233 GB Notification: Performance of collectInitialBindings (initialization): time 0.007855/3.575, allocations: 3.879 MB / 1.386 GB, free: 63 MB / 0.6233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02388/3.599, allocations: 5.513 MB / 1.392 GB, free: 57.48 MB / 0.6233 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/3.599, allocations: 309 kB / 1.392 GB, free: 57.17 MB / 0.6233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3725/3.971, allocations: 19.55 MB / 1.411 GB, free: 197 MB / 0.6233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04491/4.016, allocations: 30.29 MB / 1.44 GB, free: 179.8 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2784/4.294, allocations: 128.6 MB / 1.566 GB, free: 85.85 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006617/4.295, allocations: 100 kB / 1.566 GB, free: 85.75 MB / 0.6233 GB Notification: Performance of matching and sorting (n=3000) (initialization): time 0.4626/4.758, allocations: 73.06 MB / 1.638 GB, free: 164.3 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/4.758, allocations: 150.8 kB / 1.638 GB, free: 164.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007631/4.759, allocations: 340.8 kB / 1.638 GB, free: 164.3 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06072/4.82, allocations: 25.85 MB / 1.663 GB, free: 164.2 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0208/4.84, allocations: 5.675 MB / 1.669 GB, free: 164.2 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1666/5.007, allocations: 142.1 MB / 1.808 GB, free: 57.28 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06398/5.071, allocations: 14.37 MB / 1.822 GB, free: 43.17 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009156/5.08, allocations: 1.182 MB / 1.823 GB, free: 41.99 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.03241/5.112, allocations: 13.28 MB / 1.836 GB, free: 29 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009174/5.122, allocations: 1.574 MB / 1.837 GB, free: 28.3 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.416/5.538, allocations: 51.37 MB / 1.887 GB, free: 173.1 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002016/5.538, allocations: 105.9 kB / 1.888 GB, free: 173.1 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004224/5.538, allocations: 75.97 kB / 1.888 GB, free: 173.1 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003332/5.539, allocations: 57.38 kB / 1.888 GB, free: 173.1 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1937/5.732, allocations: 93.51 MB / 1.979 GB, free: 115.6 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002005/5.732, allocations: 8 kB / 1.979 GB, free: 115.6 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01062/5.743, allocations: 2.41 MB / 1.981 GB, free: 113.2 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06001/5.803, allocations: 25.07 MB / 2.006 GB, free: 88.03 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00465/5.808, allocations: 194 kB / 2.006 GB, free: 87.84 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.538/6.346, allocations: 129.8 MB / 2.133 GB, free: 149.2 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/6.346, allocations: 11.41 kB / 2.133 GB, free: 149.2 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1383/6.484, allocations: 71.4 MB / 2.202 GB, free: 115 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02007/6.504, allocations: 5.512 MB / 2.208 GB, free: 110.4 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01159/6.516, allocations: 202.9 kB / 2.208 GB, free: 110.2 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02293/6.539, allocations: 3.027 MB / 2.211 GB, free: 107.4 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006431/6.545, allocations: 0.7367 MB / 2.212 GB, free: 106.7 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00387/6.549, allocations: 244 kB / 2.212 GB, free: 106.5 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.03685/6.586, allocations: 16.2 MB / 2.228 GB, free: 90.31 MB / 0.6233 GB Notification: Performance of sort global known variables: time 1.8e-07/6.586, allocations: 4 kB / 2.228 GB, free: 90.31 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.04703/6.633, allocations: 8.397 MB / 2.236 GB, free: 81.92 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.005004/6.638, allocations: 398.7 kB / 2.236 GB, free: 81.55 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.07603/6.714, allocations: 42.26 MB / 2.278 GB, free: 39.47 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 2.874e-05/6.714, allocations: 4 kB / 2.278 GB, free: 39.46 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.03586/6.75, allocations: 18.19 MB / 2.295 GB, free: 21.24 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03628/6.786, allocations: 2.813 MB / 2.298 GB, free: 18.49 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6091/7.395, allocations: 88.98 MB / 2.385 GB, free: 146.7 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05563/7.451, allocations: 16.27 MB / 2.401 GB, free: 141.2 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.03493/7.486, allocations: 12.49 MB / 2.413 GB, free: 133.1 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009294/7.495, allocations: 0.9585 MB / 2.414 GB, free: 132.2 MB / 0.6233 GB Notification: Performance of SimCode: time 1.994e-06/7.495, allocations: 10.08 kB / 2.414 GB, free: 132.2 MB / 0.6233 GB Notification: Performance of Templates: time 1.268/8.763, allocations: 379.2 MB / 2.784 GB, free: 181.5 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: 21.22954042069614] Failed to read output from testmodel.py, exit status != 0: 8.773428488522768 8.788246372 8.235527659 Calling exit ...