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.001657/0.001657, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.544/1.544, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04368/0.04368, allocations: 8.11 MB / 277.9 MB, free: 13.15 MB / 238.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.001518/0.001519, allocations: 68.23 kB / 337.2 MB, free: 26.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09253, allocations: 48.3 MB / 385.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01024/0.1028, allocations: 8.7 MB / 394.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007921/0.1108, allocations: 3.572 MB / 397.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/0.113, allocations: 47.88 kB / 397.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00339/0.1164, allocations: 1.545 MB / 399.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00549/0.122, allocations: 1.576 MB / 400.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1235, allocations: 0.577 MB / 401.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2272/0.3507, allocations: 27.35 MB / 428.9 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03626/0.387, allocations: 28.85 MB / 457.7 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01741/0.4045, allocations: 10.23 MB / 467.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02101/0.4256, allocations: 14.07 MB / 482 MB, free: 7.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00859/0.4342, allocations: 2.559 MB / 484.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.4472, allocations: 3.398 MB / 488 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02273/0.47, allocations: 12.77 MB / 0.489 GB, free: 4.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02729/0.4973, allocations: 13.57 MB / 0.5022 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05048/0.5478, allocations: 44.35 MB / 0.5456 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5479, allocations: 0 / 0.5456 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5479, allocations: 0 / 0.5456 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001403/0.5493, allocations: 0 / 0.5456 GB, free: 11.43 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.1085/0.6578, allocations: 34.76 MB / 0.5795 GB, free: 8.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6578, allocations: 8.031 kB / 0.5795 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3053/0.9632, allocations: 19.77 MB / 0.5988 GB, free: 122.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08108/1.044, allocations: 35.8 MB / 0.6338 GB, free: 100.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/1.046, allocations: 1.147 MB / 0.6349 GB, free: 99.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007582/1.053, allocations: 1.675 MB / 0.6365 GB, free: 97.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.105/1.158, allocations: 55.37 MB / 0.6906 GB, free: 40.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001376/1.16, allocations: 321.5 kB / 0.6909 GB, free: 39.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007232/1.167, allocations: 0.6996 MB / 0.6916 GB, free: 39.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007991/1.175, allocations: 6.757 MB / 0.6982 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09022/1.265, allocations: 51.02 MB / 0.748 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4788/1.744, allocations: 208.8 MB / 0.952 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2819/2.026, allocations: 35.43 MB / 0.9866 GB, free: 155.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02337/2.049, allocations: 19.38 MB / 1.005 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/2.05, allocations: 183.3 kB / 1.006 GB, free: 148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/2.051, allocations: 153.7 kB / 1.006 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=825): time 2.466e-05/2.051, allocations: 3.375 kB / 1.006 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1005): time 1.009/3.059, allocations: 297.8 MB / 1.297 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003894/3.06, allocations: 1.362 MB / 1.298 GB, free: 43.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04454/3.104, allocations: 26.82 MB / 1.324 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.003163/3.108, allocations: 193.7 kB / 1.324 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2274/3.335, allocations: 12.4 MB / 1.336 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.007513/3.343, allocations: 3.706 MB / 1.34 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02835/3.371, allocations: 5.479 MB / 1.345 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/3.371, allocations: 301.6 kB / 1.346 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03084/3.402, allocations: 19.55 MB / 1.365 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03992/3.442, allocations: 29.9 MB / 1.394 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5131/3.955, allocations: 128.8 MB / 1.52 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00051/3.956, allocations: 99.28 kB / 1.52 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3000) (initialization): time 0.1301/4.086, allocations: 73.37 MB / 1.592 GB, free: 95.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/4.086, allocations: 152 kB / 1.592 GB, free: 94.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004325/4.086, allocations: 340 kB / 1.592 GB, free: 94.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05805/4.145, allocations: 25.91 MB / 1.617 GB, free: 68.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01968/4.164, allocations: 5.677 MB / 1.623 GB, free: 62.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4238/4.588, allocations: 145.4 MB / 1.765 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06095/4.649, allocations: 14.37 MB / 1.779 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008646/4.658, allocations: 1.185 MB / 1.78 GB, free: 118 MB / 0.5294 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.02904/4.687, allocations: 13.27 MB / 1.793 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00833/4.695, allocations: 1.651 MB / 1.795 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08768/4.783, allocations: 51.74 MB / 1.845 GB, free: 62.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002087/4.783, allocations: 104 kB / 1.845 GB, free: 62.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004659/4.784, allocations: 72 kB / 1.845 GB, free: 62.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004402/4.784, allocations: 55.81 kB / 1.845 GB, free: 62.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4709/5.255, allocations: 100.2 MB / 1.943 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002113/5.255, allocations: 7.906 kB / 1.943 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01086/5.266, allocations: 2.417 MB / 1.946 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05714/5.323, allocations: 25.14 MB / 1.97 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004753/5.328, allocations: 201.5 kB / 1.97 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3893/5.717, allocations: 133 MB / 2.1 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/5.717, allocations: 8.969 kB / 2.1 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1185/5.836, allocations: 71.69 MB / 2.17 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01928/5.855, allocations: 5.57 MB / 2.176 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01066/5.866, allocations: 199.5 kB / 2.176 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02027/5.886, allocations: 3.028 MB / 2.179 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005008/5.891, allocations: 0.6944 MB / 2.179 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002722/5.894, allocations: 242.2 kB / 2.18 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.03445/5.929, allocations: 18.35 MB / 2.198 GB, free: 94.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.52e-07/5.929, allocations: 0 / 2.198 GB, free: 94.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.03744/5.966, allocations: 8.429 MB / 2.206 GB, free: 85.66 MB / 0.5294 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.00362/5.97, allocations: 403.3 kB / 2.206 GB, free: 85.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.07225/6.042, allocations: 49.09 MB / 2.254 GB, free: 36.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/6.042, allocations: 4 kB / 2.254 GB, free: 36.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.02817/6.07, allocations: 19.04 MB / 2.273 GB, free: 17.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03184/6.102, allocations: 3.195 MB / 2.276 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5824/6.685, allocations: 88.7 MB / 2.362 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03474/6.719, allocations: 16.46 MB / 2.379 GB, free: 104.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.03525/6.755, allocations: 12.96 MB / 2.391 GB, free: 96.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007748/6.762, allocations: 1.043 MB / 2.392 GB, free: 95.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.204e-06/6.762, allocations: 0 / 2.392 GB, free: 95.1 MB / 0.5294 GB Notification: Performance of Templates: time 1.032/7.795, allocations: 359.3 MB / 2.743 GB, free: 134.3 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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe 2>&1)