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: "" <> buildModelFMU(ModelicaByExample.Subsystems.Pendula.System,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_Pendula_System",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.Pendula.System,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_Pendula_System",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, 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.002162/0.002162, allocations: 192.7 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.456/1.456, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0424/0.0424, 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.001426/0.001426, allocations: 68.23 kB / 337.3 MB, free: 26.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08585, allocations: 48.3 MB / 385.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.009388/0.09528, allocations: 8.711 MB / 394.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006675/0.102, allocations: 3.568 MB / 397.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.1037, allocations: 47.88 kB / 397.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.1068, allocations: 1.549 MB / 399.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003977/0.1108, allocations: 1.576 MB / 401 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.1122, allocations: 0.5771 MB / 401.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2258/0.338, allocations: 27.35 MB / 429 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04091/0.3789, allocations: 28.85 MB / 457.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01709/0.3961, allocations: 10.22 MB / 468 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02372/0.4198, allocations: 14.06 MB / 482.1 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01041/0.4303, allocations: 2.555 MB / 484.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01601/0.4463, allocations: 3.419 MB / 488.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02414/0.4706, allocations: 12.79 MB / 0.4891 GB, free: 4.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0316/0.5022, allocations: 14.36 MB / 0.5032 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05954/0.5618, allocations: 46.74 MB / 0.5488 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.5619, allocations: 0 / 0.5488 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5619, allocations: 0 / 0.5488 GB, free: 8.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001444/0.5633, allocations: 4 kB / 0.5488 GB, free: 8.23 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.1211/0.6845, allocations: 38.44 MB / 0.5863 GB, free: 1.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6845, allocations: 8.031 kB / 0.5863 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3497/1.034, allocations: 3.067 MB / 0.5893 GB, free: 115.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.378/1.412, allocations: 105.4 MB / 0.6923 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1127/1.525, allocations: 65.86 MB / 0.7566 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/1.526, allocations: 1.152 MB / 0.7577 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00864/1.535, allocations: 1.674 MB / 0.7594 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.527/2.062, allocations: 53.89 MB / 0.812 GB, free: 131.5 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001517/2.064, allocations: 318 kB / 0.8123 GB, free: 131.4 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006421/2.07, allocations: 0.7006 MB / 0.813 GB, free: 131 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008585/2.079, allocations: 6.765 MB / 0.8196 GB, free: 128.3 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07744/2.156, allocations: 48.01 MB / 0.8665 GB, free: 83.37 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4802/2.636, allocations: 200.6 MB / 1.062 GB, free: 52.7 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0714/2.708, allocations: 34.03 MB / 1.096 GB, free: 37.66 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02002/2.728, allocations: 17.96 MB / 1.113 GB, free: 19.84 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/2.729, allocations: 185.4 kB / 1.113 GB, free: 19.73 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/2.729, allocations: 167.4 kB / 1.114 GB, free: 19.58 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=825): time 1.067e-05/2.729, allocations: 0 / 1.114 GB, free: 19.58 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1005): time 1.165/3.894, allocations: 275.6 MB / 1.383 GB, free: 167.6 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003333/3.894, allocations: 1.362 MB / 1.384 GB, free: 166 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0545/3.949, allocations: 23.31 MB / 1.407 GB, free: 158.2 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0029/3.951, allocations: 183.8 kB / 1.407 GB, free: 158 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01083/3.962, allocations: 13 MB / 1.42 GB, free: 146.8 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.005174/3.968, allocations: 3.66 MB / 1.423 GB, free: 143.7 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01669/3.984, allocations: 4.269 MB / 1.427 GB, free: 141.5 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/3.984, allocations: 309.1 kB / 1.428 GB, free: 141.2 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01913/4.004, allocations: 13.76 MB / 1.441 GB, free: 131.2 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0231/4.027, allocations: 23.89 MB / 1.464 GB, free: 102.8 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3844/4.411, allocations: 87.42 MB / 1.55 GB, free: 139 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000562/4.412, allocations: 97.22 kB / 1.55 GB, free: 139 MB / 0.5295 GB Notification: Performance of matching and sorting (n=2580) (initialization): time 0.09153/4.503, allocations: 53.53 MB / 1.602 GB, free: 126.7 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/4.503, allocations: 158.8 kB / 1.602 GB, free: 126.7 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003858/4.504, allocations: 339.7 kB / 1.603 GB, free: 126.7 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04086/4.545, allocations: 18.33 MB / 1.621 GB, free: 116.6 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/4.561, allocations: 5.248 MB / 1.626 GB, free: 111.3 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3647/4.926, allocations: 128 MB / 1.751 GB, free: 132.8 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02438/4.95, allocations: 2.246 MB / 1.753 GB, free: 132.8 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004184/4.955, allocations: 1.072 MB / 1.754 GB, free: 132.8 MB / 0.5295 GB Warning: Assuming fixed start value for the following 15 variables: 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] 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[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[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[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[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[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[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[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[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[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[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[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[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[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] 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 (2211): * Single equations (assignments): 2193 * 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.02613/4.981, allocations: 13.44 MB / 1.767 GB, free: 131.3 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007685/4.988, allocations: 1.735 MB / 1.769 GB, free: 131.3 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07591/5.064, allocations: 41.36 MB / 1.809 GB, free: 119.3 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000179/5.065, allocations: 109.3 kB / 1.809 GB, free: 119.3 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000339/5.065, allocations: 70.59 kB / 1.809 GB, free: 119.3 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003259/5.065, allocations: 59.19 kB / 1.809 GB, free: 119.2 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1493/5.215, allocations: 88.1 MB / 1.895 GB, free: 33.71 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001343/5.215, allocations: 11.66 kB / 1.895 GB, free: 33.7 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01003/5.225, allocations: 2.414 MB / 1.898 GB, free: 31.38 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04135/5.266, allocations: 17.48 MB / 1.915 GB, free: 14.18 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003272/5.269, allocations: 196 kB / 1.915 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3395/5.609, allocations: 115.1 MB / 2.027 GB, free: 111.3 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/5.609, allocations: 17.22 kB / 2.027 GB, free: 111.3 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09163/5.701, allocations: 59.19 MB / 2.085 GB, free: 55.61 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01288/5.714, allocations: 4.577 MB / 2.09 GB, free: 51.95 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006341/5.72, allocations: 189.9 kB / 2.09 GB, free: 51.76 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01515/5.735, allocations: 1.675 MB / 2.092 GB, free: 50.21 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004183/5.739, allocations: 0.6905 MB / 2.092 GB, free: 49.53 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001765/5.741, allocations: 244 kB / 2.092 GB, free: 49.29 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.03071/5.772, allocations: 15.87 MB / 2.108 GB, free: 33.53 MB / 0.5452 GB Notification: Performance of sort global known variables: time 3.7e-07/5.772, allocations: 4 kB / 2.108 GB, free: 33.52 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.03219/5.804, allocations: 5.724 MB / 2.114 GB, free: 27.8 MB / 0.5452 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.3731/6.177, allocations: 60.15 MB / 2.172 GB, free: 135.4 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.06034/6.238, allocations: 41.39 MB / 2.213 GB, free: 123.2 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/6.238, allocations: 3.562 kB / 2.213 GB, free: 123.2 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.02718/6.265, allocations: 17.62 MB / 2.23 GB, free: 108.3 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02827/6.293, allocations: 3.493 MB / 2.233 GB, free: 104.9 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.108/7.401, allocations: 0.4928 GB / 2.726 GB, free: 123.6 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03427/7.436, allocations: 16.46 MB / 2.742 GB, free: 115.9 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.03292/7.469, allocations: 13.23 MB / 2.755 GB, free: 103.7 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0197/7.488, allocations: 10.63 MB / 2.765 GB, free: 93.08 MB / 0.6233 GB Notification: Performance of SimCode: time 1.492e-06/7.488, allocations: 0 / 2.765 GB, free: 93.08 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.445/8.933, allocations: 0.5291 GB / 3.295 GB, free: 155.9 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.45/30.38, allocations: 1.25 kB / 3.295 GB, free: 155.9 MB / 0.6233 GB (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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System_res.csv --start-time 0 --stop-time 54 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.009 ModelicaByExample_ModelicaByExample_Subsystems_Pendula_System.fmu > ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe 2>&1)