Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 100.2 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 196.6 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04083/0.04083, allocations: 8.112 MB / 278.6 MB, free: 3.953 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 71.91 kB / 338.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3243, allocations: 48.28 MB / 386.9 MB, free: 51.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01049/0.3348, allocations: 8.704 MB / 395.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007866/0.3428, allocations: 3.588 MB / 399.2 MB, free: 43.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.3443, allocations: 46.38 kB / 399.2 MB, free: 43.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.3474, allocations: 1.539 MB / 400.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005088/0.3525, allocations: 1.588 MB / 402.4 MB, free: 41.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3539, allocations: 0.575 MB / 402.9 MB, free: 41.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02191/0.3759, allocations: 27.35 MB / 430.3 MB, free: 16.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03607/0.412, allocations: 28.8 MB / 459.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02282/0.4348, allocations: 10.23 MB / 469.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02365/0.4585, allocations: 14.05 MB / 483.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008786/0.4674, allocations: 2.555 MB / 485.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.4818, allocations: 3.412 MB / 489.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0213/0.5031, allocations: 12.77 MB / 0.4904 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03183/0.535, allocations: 13.57 MB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4531/0.9881, allocations: 45.01 MB / 0.5476 GB, free: 74.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.9882, allocations: 0 / 0.5476 GB, free: 74.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.9882, allocations: 1.062 kB / 0.5476 GB, free: 74.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001624/0.9898, allocations: 0 / 0.5476 GB, free: 74.22 MB / 414.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.1271/1.117, allocations: 34.74 MB / 0.5815 GB, free: 54.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.117, allocations: 10.41 kB / 0.5815 GB, free: 54.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07991/1.197, allocations: 19.77 MB / 0.6008 GB, free: 39.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07908/1.276, allocations: 36.18 MB / 0.6361 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/1.277, allocations: 1.156 MB / 0.6373 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0121/1.289, allocations: 1.679 MB / 0.6389 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1772/1.466, allocations: 55.37 MB / 0.693 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002332/1.469, allocations: 316.8 kB / 0.6933 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009363/1.478, allocations: 0.701 MB / 0.694 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01102/1.489, allocations: 6.757 MB / 0.7006 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4097/1.899, allocations: 51.02 MB / 0.7504 GB, free: 137.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6851/2.584, allocations: 207.8 MB / 0.9534 GB, free: 68.79 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1184/2.703, allocations: 35.44 MB / 0.988 GB, free: 67.28 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03536/2.738, allocations: 19.37 MB / 1.007 GB, free: 59.09 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/2.74, allocations: 187 kB / 1.007 GB, free: 58.98 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/2.74, allocations: 161 kB / 1.007 GB, free: 58.85 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=825): time 2.043e-05/2.74, allocations: 0 / 1.007 GB, free: 58.85 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1005): time 1.345/4.085, allocations: 297.8 MB / 1.298 GB, free: 92.39 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006115/4.085, allocations: 1.367 MB / 1.299 GB, free: 90.72 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05697/4.142, allocations: 26.82 MB / 1.326 GB, free: 66.27 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.005964/4.148, allocations: 185.7 kB / 1.326 GB, free: 66.08 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0177/4.166, allocations: 12.4 MB / 1.338 GB, free: 53.71 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.008041/4.174, allocations: 3.703 MB / 1.341 GB, free: 50.04 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3953/4.57, allocations: 5.477 MB / 1.347 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/4.57, allocations: 301.1 kB / 1.347 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04003/4.61, allocations: 19.55 MB / 1.366 GB, free: 192.8 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04603/4.656, allocations: 29.9 MB / 1.395 GB, free: 173.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2537/4.909, allocations: 128.6 MB / 1.521 GB, free: 67.79 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009953/4.911, allocations: 100 kB / 1.521 GB, free: 67.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=3000) (initialization): time 0.4843/5.395, allocations: 73.35 MB / 1.593 GB, free: 166.8 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000324/5.395, allocations: 151 kB / 1.593 GB, free: 166.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006024/5.396, allocations: 339.6 kB / 1.593 GB, free: 166.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05865/5.455, allocations: 25.86 MB / 1.618 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01989/5.474, allocations: 5.683 MB / 1.624 GB, free: 155 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4681/5.943, allocations: 145.4 MB / 1.766 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0598/6.002, allocations: 14.37 MB / 1.78 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008158/6.011, allocations: 1.185 MB / 1.781 GB, free: 158.2 MB / 0.5607 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.0331/6.044, allocations: 13.26 MB / 1.794 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008887/6.053, allocations: 1.653 MB / 1.796 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1014/6.154, allocations: 51.74 MB / 1.846 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000233/6.154, allocations: 112 kB / 1.846 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004177/6.155, allocations: 68 kB / 1.846 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003277/6.155, allocations: 59.31 kB / 1.846 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6017/6.757, allocations: 99.95 MB / 1.944 GB, free: 145 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002642/6.757, allocations: 8.719 kB / 1.944 GB, free: 145 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01126/6.768, allocations: 2.409 MB / 1.946 GB, free: 145 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06145/6.83, allocations: 25.09 MB / 1.971 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005063/6.835, allocations: 196.2 kB / 1.971 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1424/6.977, allocations: 133 MB / 2.101 GB, free: 63.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/6.977, allocations: 11.94 kB / 2.101 GB, free: 63.48 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4706/7.448, allocations: 71.7 MB / 2.171 GB, free: 141 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02295/7.471, allocations: 5.577 MB / 2.176 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01373/7.485, allocations: 191.8 kB / 2.177 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02459/7.51, allocations: 3.03 MB / 2.18 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008889/7.518, allocations: 0.6898 MB / 2.18 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003225/7.522, allocations: 246.8 kB / 2.18 GB, free: 140.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.04268/7.564, allocations: 18.35 MB / 2.198 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.052e-06/7.564, allocations: 2.938 kB / 2.198 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.05659/7.621, allocations: 8.432 MB / 2.207 GB, free: 136.2 MB / 0.5607 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.005358/7.627, allocations: 399.7 kB / 2.207 GB, free: 135.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.07627/7.703, allocations: 43.61 MB / 2.25 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-05/7.703, allocations: 4 kB / 2.25 GB, free: 114.3 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.03322/7.736, allocations: 19.03 MB / 2.268 GB, free: 98.81 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03949/7.776, allocations: 3.185 MB / 2.271 GB, free: 96.28 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5919/8.368, allocations: 88.15 MB / 2.357 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04975/8.417, allocations: 16.46 MB / 2.373 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.03521/8.453, allocations: 12.95 MB / 2.386 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009681/8.462, allocations: 1.041 MB / 2.387 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of SimCode: time 2.505e-06/8.462, allocations: 0 / 2.387 GB, free: 135.4 MB / 0.5607 GB Notification: Performance of Templates: time 1.277/9.74, allocations: 359.3 MB / 2.738 GB, free: 140.9 MB / 0.5607 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 -s cvode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe 2>&1)