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.001273/0.001273, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00141/0.00141, allocations: 215.3 kB / 22.99 MB, free: 4.945 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.332/1.332, allocations: 207.7 MB / 233.9 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 179] 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.05145/0.05145, allocations: 8.204 MB / 294.3 MB, free: 13.46 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.002488/0.002488, allocations: 80.02 kB / 411.7 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07317/0.07565, allocations: 50.93 MB / 462.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01148/0.08713, allocations: 7.695 MB / 470.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008091/0.09523, allocations: 3.405 MB / 473.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009842/0.09621, allocations: 51.81 kB / 473.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.09981, allocations: 1.507 MB / 475.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.1041, allocations: 1.635 MB / 476.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1055, allocations: 0.5771 MB / 477.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0309/0.1364, allocations: 27.3 MB / 0.4929 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02518/0.1616, allocations: 19.42 MB / 0.5119 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01595/0.1775, allocations: 10.49 MB / 0.5221 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1924/0.3699, allocations: 16.4 MB / 0.5382 GB, free: 29.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009132/0.379, allocations: 2.558 MB / 0.5407 GB, free: 29.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/0.3907, allocations: 3.321 MB / 0.5439 GB, free: 29.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01523/0.4059, allocations: 13.09 MB / 0.5567 GB, free: 26.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0187/0.4246, allocations: 10.44 MB / 0.5669 GB, free: 20.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04264/0.4673, allocations: 45.38 MB / 0.6112 GB, free: 14.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4673, allocations: 0 / 0.6112 GB, free: 14.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4673, allocations: 1.5 kB / 0.6112 GB, free: 14.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001189/0.4685, allocations: 7.375 kB / 0.6112 GB, free: 14.72 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.1003/0.5688, allocations: 35.38 MB / 0.6458 GB, free: 11.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5689, allocations: 15.98 kB / 0.6458 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0858/0.6547, allocations: 19.91 MB / 0.6652 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07939/0.7341, allocations: 36.61 MB / 0.701 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001252/0.7353, allocations: 1.149 MB / 0.7021 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007102/0.7424, allocations: 1.69 MB / 0.7037 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4414/1.184, allocations: 55.75 MB / 0.7582 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001082/1.185, allocations: 317.2 kB / 0.7585 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/1.188, allocations: 0.7008 MB / 0.7592 GB, free: 109.9 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006787/1.195, allocations: 6.761 MB / 0.7658 GB, free: 108.4 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0761/1.271, allocations: 50.85 MB / 0.8154 GB, free: 65.93 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6313/1.902, allocations: 186.9 MB / 0.9979 GB, free: 85.63 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06849/1.971, allocations: 34.3 MB / 1.031 GB, free: 82.43 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01911/1.99, allocations: 18.45 MB / 1.049 GB, free: 75.41 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/1.991, allocations: 122.7 kB / 1.05 GB, free: 75.39 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/1.991, allocations: 160.4 kB / 1.05 GB, free: 75.29 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=825): time 1.595e-05/1.991, allocations: 0 / 1.05 GB, free: 75.29 MB / 0.5764 GB Notification: Performance of matching and sorting (n=1005): time 0.8612/2.852, allocations: 302.7 MB / 1.345 GB, free: 102.8 MB / 0.6233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/2.852, allocations: 1.358 MB / 1.347 GB, free: 101.2 MB / 0.6233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03609/2.888, allocations: 24.4 MB / 1.37 GB, free: 78.52 MB / 0.6233 GB Notification: Performance of collectPreVariables (initialization): time 0.002559/2.891, allocations: 181.7 kB / 1.371 GB, free: 78.33 MB / 0.6233 GB Notification: Performance of collectInitialEqns (initialization): time 0.007519/2.898, allocations: 12.77 MB / 1.383 GB, free: 67.18 MB / 0.6233 GB Notification: Performance of collectInitialBindings (initialization): time 0.004911/2.903, allocations: 3.878 MB / 1.387 GB, free: 63.46 MB / 0.6233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01466/2.918, allocations: 5.51 MB / 1.392 GB, free: 57.95 MB / 0.6233 GB Notification: Performance of setup shared object (initialization): time 3.401e-05/2.918, allocations: 305.1 kB / 1.393 GB, free: 57.65 MB / 0.6233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2282/3.146, allocations: 19.55 MB / 1.412 GB, free: 196.9 MB / 0.6233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03023/3.176, allocations: 30.28 MB / 1.441 GB, free: 179.6 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2464/3.423, allocations: 128.6 MB / 1.567 GB, free: 86.45 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003757/3.423, allocations: 96 kB / 1.567 GB, free: 86.36 MB / 0.6233 GB Notification: Performance of matching and sorting (n=3000) (initialization): time 0.3357/3.759, allocations: 73.06 MB / 1.638 GB, free: 164.6 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/3.759, allocations: 152.1 kB / 1.638 GB, free: 164.6 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005116/3.76, allocations: 340.5 kB / 1.639 GB, free: 164.6 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05462/3.814, allocations: 25.85 MB / 1.664 GB, free: 164.4 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01749/3.832, allocations: 5.677 MB / 1.67 GB, free: 164.4 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1361/3.968, allocations: 142.1 MB / 1.808 GB, free: 57.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05486/4.023, allocations: 14.37 MB / 1.822 GB, free: 43.67 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005017/4.028, allocations: 1.187 MB / 1.823 GB, free: 42.49 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.02246/4.05, allocations: 13.27 MB / 1.836 GB, free: 29.5 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006178/4.056, allocations: 1.578 MB / 1.838 GB, free: 28.79 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3002/4.357, allocations: 51.36 MB / 1.888 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/4.357, allocations: 111.8 kB / 1.888 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002709/4.357, allocations: 72.72 kB / 1.888 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002121/4.357, allocations: 58.12 kB / 1.888 GB, free: 173.3 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1481/4.505, allocations: 93.52 MB / 1.98 GB, free: 116 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001368/4.505, allocations: 8 kB / 1.98 GB, free: 116 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009527/4.515, allocations: 2.407 MB / 1.982 GB, free: 113.5 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05425/4.569, allocations: 25.06 MB / 2.007 GB, free: 88.41 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002741/4.572, allocations: 196 kB / 2.007 GB, free: 88.22 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3634/4.935, allocations: 129.8 MB / 2.133 GB, free: 149.3 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/4.935, allocations: 11.5 kB / 2.133 GB, free: 149.3 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1033/5.039, allocations: 71.4 MB / 2.203 GB, free: 115.4 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01872/5.057, allocations: 5.52 MB / 2.209 GB, free: 110.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007719/5.065, allocations: 196 kB / 2.209 GB, free: 110.6 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0189/5.084, allocations: 3.032 MB / 2.212 GB, free: 107.8 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004604/5.088, allocations: 0.7352 MB / 2.212 GB, free: 107.1 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002658/5.091, allocations: 244 kB / 2.213 GB, free: 106.8 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.02726/5.118, allocations: 16.2 MB / 2.229 GB, free: 90.69 MB / 0.6233 GB Notification: Performance of sort global known variables: time 3.61e-07/5.118, allocations: 0 / 2.229 GB, free: 90.69 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.03328/5.152, allocations: 8.398 MB / 2.237 GB, free: 82.3 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.003141/5.155, allocations: 401.4 kB / 2.237 GB, free: 81.92 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.06084/5.216, allocations: 42.25 MB / 2.278 GB, free: 39.85 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.856e-05/5.216, allocations: 4 kB / 2.278 GB, free: 39.85 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.02791/5.244, allocations: 18.2 MB / 2.296 GB, free: 21.62 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02216/5.266, allocations: 2.81 MB / 2.299 GB, free: 18.88 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3789/5.645, allocations: 90.6 MB / 2.387 GB, free: 147.4 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0305/5.675, allocations: 16.25 MB / 2.403 GB, free: 141.9 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006583/5.682, allocations: 1.072 MB / 2.404 GB, free: 140.9 MB / 0.6233 GB Notification: Performance of SimCode: time 1.163e-06/5.682, allocations: 0 / 2.404 GB, free: 140.9 MB / 0.6233 GB Notification: Performance of Templates: time 5.21/10.89, allocations: 2.557 GB / 4.961 GB, free: 192.9 MB / 0.6858 GB " [Timeout remaining time 649] make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile [Timeout 660] make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemCalcHelperMain.cpp In file included from OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemCalcHelperMain.cpp:29: ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:218:86: error: use of undeclared identifier 'pendulum1_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum1_P_string_P_body_P_Q_(1),pendulum1_P_string_P_body_P_Q_start_(1)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:219:86: error: use of undeclared identifier 'pendulum1_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum1_P_string_P_body_P_Q_(2),pendulum1_P_string_P_body_P_Q_start_(2)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:220:86: error: use of undeclared identifier 'pendulum1_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum1_P_string_P_body_P_Q_(3),pendulum1_P_string_P_body_P_Q_start_(3)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:221:86: error: use of undeclared identifier 'pendulum1_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum1_P_string_P_body_P_Q_(4),pendulum1_P_string_P_body_P_Q_start_(4)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:222:86: error: use of undeclared identifier 'pendulum2_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum2_P_string_P_body_P_Q_(1),pendulum2_P_string_P_body_P_Q_start_(1)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:223:86: error: use of undeclared identifier 'pendulum2_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum2_P_string_P_body_P_Q_(2),pendulum2_P_string_P_body_P_Q_start_(2)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:224:86: error: use of undeclared identifier 'pendulum2_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum2_P_string_P_body_P_Q_(3),pendulum2_P_string_P_body_P_Q_start_(3)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:225:86: error: use of undeclared identifier 'pendulum2_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum2_P_string_P_body_P_Q_(4),pendulum2_P_string_P_body_P_Q_start_(4)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:226:86: error: use of undeclared identifier 'pendulum3_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum3_P_string_P_body_P_Q_(1),pendulum3_P_string_P_body_P_Q_start_(1)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:227:86: error: use of undeclared identifier 'pendulum3_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum3_P_string_P_body_P_Q_(2),pendulum3_P_string_P_body_P_Q_start_(2)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:228:86: error: use of undeclared identifier 'pendulum3_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum3_P_string_P_body_P_Q_(3),pendulum3_P_string_P_body_P_Q_start_(3)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:229:86: error: use of undeclared identifier 'pendulum3_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum3_P_string_P_body_P_Q_(4),pendulum3_P_string_P_body_P_Q_start_(4)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:230:86: error: use of undeclared identifier 'pendulum4_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum4_P_string_P_body_P_Q_(1),pendulum4_P_string_P_body_P_Q_start_(1)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:231:86: error: use of undeclared identifier 'pendulum4_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum4_P_string_P_body_P_Q_(2),pendulum4_P_string_P_body_P_Q_start_(2)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:232:86: error: use of undeclared identifier 'pendulum4_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum4_P_string_P_body_P_Q_(3),pendulum4_P_string_P_body_P_Q_start_(3)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:233:86: error: use of undeclared identifier 'pendulum4_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum4_P_string_P_body_P_Q_(4),pendulum4_P_string_P_body_P_Q_start_(4)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:234:86: error: use of undeclared identifier 'pendulum5_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum5_P_string_P_body_P_Q_(1),pendulum5_P_string_P_body_P_Q_start_(1)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:235:86: error: use of undeclared identifier 'pendulum5_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum5_P_string_P_body_P_Q_(2),pendulum5_P_string_P_body_P_Q_start_(2)); ^ ./OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemInitialize.cpp:236:86: error: use of undeclared identifier 'pendulum5_P_string_P_body_P_Q_start_' SystemDefaultImplementation::setRealStartValue(_pendulum5_P_string_P_body_P_Q_(3),pendulum5_P_string_P_body_P_Q_start_(3)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelicaByExample_ModelicaByExample.Subsystems.Pendula.SystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 15.561495174653828] Failed to read output from testmodel.py, exit status != 0: 10.900750551838428 10.910823643 10.440800327 Calling exit ...