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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001232/0.001232, allocations: 185.2 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.462/1.462, allocations: 194.2 MB / 210.9 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03875/0.03875, allocations: 8.107 MB / 263.3 MB, free: 12.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002108/0.002108, allocations: 136.1 kB / 309.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 365.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2162, allocations: 45.25 MB / 410.7 MB, free: 66.84 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.03053/0.2468, allocations: 28.46 MB / 439.1 MB, free: 38.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.2652, allocations: 7.124 MB / 446.2 MB, free: 31.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00887/0.2741, allocations: 115.8 kB / 446.4 MB, free: 31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004287/0.2785, allocations: 1.519 MB / 447.9 MB, free: 29.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005024/0.2836, allocations: 1.516 MB / 449.4 MB, free: 27.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.2852, allocations: 0.5187 MB / 449.9 MB, free: 27.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.07092/0.3561, allocations: 47.15 MB / 497.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2904/0.6466, allocations: 25.75 MB / 0.5106 GB, free: 21.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02141/0.668, allocations: 7.893 MB / 0.5183 GB, free: 20.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03319/0.7013, allocations: 13.85 MB / 0.5318 GB, free: 19.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01112/0.7125, allocations: 1.392 MB / 0.5332 GB, free: 19.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.729, allocations: 2.332 MB / 0.5354 GB, free: 19.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01848/0.7475, allocations: 11.32 MB / 0.5465 GB, free: 14.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02583/0.7734, allocations: 12.04 MB / 0.5582 GB, free: 2.676 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04808/0.8216, allocations: 43.53 MB / 0.6008 GB, free: 7.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.8216, allocations: 4 kB / 0.6008 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.8216, allocations: 0 / 0.6008 GB, free: 7.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001727/0.8233, allocations: 0 / 0.6008 GB, free: 7.914 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6079 * Number of variables: 6079 Notification: Performance of Generate backend data structure: time 0.1143/0.9376, allocations: 34.87 MB / 0.6348 GB, free: 5.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.9377, allocations: 8.031 kB / 0.6348 GB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08783/1.026, allocations: 19.81 MB / 0.6542 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5497/1.575, allocations: 32.95 MB / 0.6863 GB, free: 117.3 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001573/1.577, allocations: 1.153 MB / 0.6875 GB, free: 116.2 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0124/1.589, allocations: 1.678 MB / 0.6891 GB, free: 114.7 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1242/1.714, allocations: 55.36 MB / 0.7432 GB, free: 58.96 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002042/1.716, allocations: 309.6 kB / 0.7435 GB, free: 58.65 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009608/1.725, allocations: 0.6968 MB / 0.7441 GB, free: 58.06 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008919/1.734, allocations: 6.765 MB / 0.7507 GB, free: 51.3 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09875/1.833, allocations: 51.02 MB / 0.8006 GB, free: 144 kB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8168/2.65, allocations: 207 MB / 1.003 GB, free: 4.094 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3913/3.041, allocations: 35.44 MB / 1.037 GB, free: 164.9 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02785/3.069, allocations: 19.37 MB / 1.056 GB, free: 157.8 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/3.07, allocations: 185.5 kB / 1.056 GB, free: 157.8 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/3.071, allocations: 160.6 kB / 1.057 GB, free: 157.7 MB / 0.495 GB Notification: Performance of pre-optimization done (n=825): time 1.176e-05/3.071, allocations: 1.078 kB / 1.057 GB, free: 157.7 MB / 0.495 GB Notification: Performance of matching and sorting (n=1005): time 1.214/4.285, allocations: 299.2 MB / 1.349 GB, free: 50.82 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004093/4.285, allocations: 1.351 MB / 1.35 GB, free: 49.17 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05253/4.338, allocations: 23.22 MB / 1.373 GB, free: 26.04 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.004286/4.342, allocations: 183.1 kB / 1.373 GB, free: 25.86 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.3162/4.658, allocations: 12.55 MB / 1.385 GB, free: 149.5 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.007392/4.666, allocations: 3.7 MB / 1.389 GB, free: 146.8 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02177/4.688, allocations: 4.884 MB / 1.394 GB, free: 144.6 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/4.688, allocations: 305.1 kB / 1.394 GB, free: 144.3 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02692/4.715, allocations: 16.07 MB / 1.41 GB, free: 139.4 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03464/4.749, allocations: 26.35 MB / 1.435 GB, free: 121.2 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.247/4.997, allocations: 119.5 MB / 1.552 GB, free: 12.55 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005161/4.997, allocations: 96 kB / 1.552 GB, free: 12.46 MB / 0.495 GB Notification: Performance of matching and sorting (n=2862) (initialization): time 0.4737/5.471, allocations: 66.15 MB / 1.617 GB, free: 118.3 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003146/5.471, allocations: 149.2 kB / 1.617 GB, free: 118.3 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006178/5.472, allocations: 340.7 kB / 1.617 GB, free: 118.3 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05966/5.531, allocations: 25.96 MB / 1.642 GB, free: 94.32 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02048/5.552, allocations: 5.673 MB / 1.648 GB, free: 88.63 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4562/6.008, allocations: 136.3 MB / 1.781 GB, free: 121.1 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02583/6.034, allocations: 2.596 MB / 1.784 GB, free: 120.8 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00613/6.04, allocations: 1.137 MB / 1.785 GB, free: 120.6 MB / 0.5107 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: 1554 * Number of states: 0 () * Number of discrete variables: 234 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (2493): * Single equations (assignments): 2475 * 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 {(2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.02877/6.069, allocations: 13.35 MB / 1.798 GB, free: 116.4 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007654/6.077, allocations: 1.684 MB / 1.799 GB, free: 116.4 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1077/6.184, allocations: 51.79 MB / 1.85 GB, free: 82.79 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001738/6.185, allocations: 109.2 kB / 1.85 GB, free: 82.69 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003783/6.185, allocations: 68 kB / 1.85 GB, free: 82.62 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003048/6.185, allocations: 55.81 kB / 1.85 GB, free: 82.57 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5227/6.708, allocations: 98.64 MB / 1.947 GB, free: 114.6 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003409/6.709, allocations: 7.875 kB / 1.947 GB, free: 114.6 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01982/6.728, allocations: 2.409 MB / 1.949 GB, free: 114.6 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07918/6.808, allocations: 25.08 MB / 1.973 GB, free: 114.4 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004412/6.812, allocations: 200.6 kB / 1.974 GB, free: 114.4 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1407/6.953, allocations: 124.2 MB / 2.095 GB, free: 21.56 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/6.953, allocations: 8 kB / 2.095 GB, free: 21.55 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.975/8.928, allocations: 0.5693 GB / 2.664 GB, free: 29.65 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01962/8.948, allocations: 4.942 MB / 2.669 GB, free: 25.69 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009872/8.958, allocations: 196.3 kB / 2.669 GB, free: 25.51 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01961/8.977, allocations: 1.978 MB / 2.671 GB, free: 24.5 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008076/8.985, allocations: 0.6976 MB / 2.672 GB, free: 24.09 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004692/8.99, allocations: 243.9 kB / 2.672 GB, free: 23.86 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.03555/9.026, allocations: 15.7 MB / 2.687 GB, free: 10.43 MB / 0.5263 GB Notification: Performance of sort global known variables: time 3.71e-07/9.026, allocations: 0 / 2.687 GB, free: 10.43 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.05494/9.081, allocations: 8.906 MB / 2.696 GB, free: 1.531 MB / 0.5263 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.004499/9.085, allocations: 399.3 kB / 2.697 GB, free: 1.215 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.3824/9.468, allocations: 39.98 MB / 2.736 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/9.468, allocations: 3.781 kB / 2.736 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.03101/9.499, allocations: 19.03 MB / 2.754 GB, free: 110.5 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.031/9.53, allocations: 3.027 MB / 2.757 GB, free: 110.4 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2231/9.753, allocations: 113 MB / 2.867 GB, free: 33.46 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03771/9.791, allocations: 17 MB / 2.884 GB, free: 16.43 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.3286/10.12, allocations: 13.25 MB / 2.897 GB, free: 73.14 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007459/10.13, allocations: 1.06 MB / 2.898 GB, free: 73.13 MB / 0.5263 GB Notification: Performance of SimCode: time 9.62e-07/10.13, allocations: 0 / 2.898 GB, free: 73.13 MB / 0.5263 GB Notification: Performance of Templates: time 1.323/11.45, allocations: 464.6 MB / 3.352 GB, free: 91.84 MB / 0.5888 GB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile (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)