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.007138/0.007138, allocations: 95.83 kB / 15.73 MB, free: 6.055 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.001782/0.001782, allocations: 206.2 kB / 16.68 MB, free: 5.977 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.466/1.466, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0422/0.0422, allocations: 8.125 MB / 278 MB, free: 13.07 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.001727/0.001727, allocations: 63.89 kB / 386.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3291, allocations: 48.29 MB / 434.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.008841/0.338, allocations: 8.705 MB / 443.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006946/0.345, allocations: 3.587 MB / 446.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.3464, allocations: 41.75 kB / 446.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.3495, allocations: 1.538 MB / 448.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.3545, allocations: 1.621 MB / 450 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.356, allocations: 0.5771 MB / 450.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03701/0.3931, allocations: 27.36 MB / 477.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03912/0.4322, allocations: 28.77 MB / 0.4948 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01641/0.4487, allocations: 10.37 MB / 0.5049 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02119/0.4699, allocations: 14.05 MB / 0.5186 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009966/0.4799, allocations: 2.559 MB / 0.5211 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.4935, allocations: 3.408 MB / 0.5244 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01979/0.5133, allocations: 12.8 MB / 0.5369 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0292/0.5425, allocations: 14.36 MB / 0.551 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5077/1.05, allocations: 47.56 MB / 0.5974 GB, free: 75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.05, allocations: 0.5625 kB / 0.5974 GB, free: 75 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.304e-06/1.05, allocations: 0.5 kB / 0.5974 GB, free: 75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001278/1.052, allocations: 0 / 0.5974 GB, free: 75 MB / 478.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.1066/1.158, allocations: 39.13 MB / 0.6356 GB, free: 63.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.158, allocations: 11.75 kB / 0.6356 GB, free: 63.77 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01293/1.171, allocations: 3.069 MB / 0.6386 GB, free: 62.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.383/1.554, allocations: 105.6 MB / 0.7417 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1353/1.69, allocations: 66.46 MB / 0.8066 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/1.691, allocations: 1.148 MB / 0.8078 GB, free: 11.68 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009084/1.7, allocations: 1.691 MB / 0.8094 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3612/2.061, allocations: 53.89 MB / 0.862 GB, free: 191.5 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001892/2.063, allocations: 316.2 kB / 0.8623 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008035/2.071, allocations: 0.7018 MB / 0.863 GB, free: 191 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009056/2.08, allocations: 6.761 MB / 0.8696 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08505/2.165, allocations: 48.02 MB / 0.9165 GB, free: 141.7 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5601/2.726, allocations: 199.9 MB / 1.112 GB, free: 97.12 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07487/2.801, allocations: 34.02 MB / 1.145 GB, free: 95.42 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02036/2.821, allocations: 17.96 MB / 1.163 GB, free: 88.12 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/2.822, allocations: 188.8 kB / 1.163 GB, free: 88.09 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/2.822, allocations: 158.6 kB / 1.163 GB, free: 87.99 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=825): time 1.245e-05/2.822, allocations: 0 / 1.163 GB, free: 87.99 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1005): time 1.04/3.863, allocations: 284 MB / 1.44 GB, free: 110.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003227/3.863, allocations: 1.359 MB / 1.442 GB, free: 109.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04468/3.908, allocations: 23.34 MB / 1.464 GB, free: 90.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002562/3.91, allocations: 185.7 kB / 1.464 GB, free: 90.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0117/3.922, allocations: 13.38 MB / 1.478 GB, free: 78.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005131/3.927, allocations: 3.828 MB / 1.481 GB, free: 74.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01274/3.94, allocations: 4.296 MB / 1.485 GB, free: 70.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/3.94, allocations: 305.1 kB / 1.486 GB, free: 70.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01718/3.957, allocations: 13.76 MB / 1.499 GB, free: 56.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2752/4.232, allocations: 23.89 MB / 1.523 GB, free: 191.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1732/4.406, allocations: 87.28 MB / 1.608 GB, free: 147.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005211/4.406, allocations: 97.56 kB / 1.608 GB, free: 147.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2580) (initialization): time 0.09078/4.497, allocations: 53.62 MB / 1.66 GB, free: 95.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000273/4.497, allocations: 152 kB / 1.66 GB, free: 95.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004779/4.498, allocations: 340.5 kB / 1.661 GB, free: 94.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04168/4.539, allocations: 18.28 MB / 1.679 GB, free: 76.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01767/4.557, allocations: 5.252 MB / 1.684 GB, free: 71.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4106/4.968, allocations: 128 MB / 1.809 GB, free: 133.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02207/4.99, allocations: 2.24 MB / 1.811 GB, free: 133.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004741/4.995, allocations: 1.079 MB / 1.812 GB, free: 133.5 MB / 0.6075 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.02175/5.016, allocations: 13.43 MB / 1.825 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006194/5.023, allocations: 1.839 MB / 1.827 GB, free: 129.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07167/5.094, allocations: 41.35 MB / 1.867 GB, free: 90.76 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001348/5.095, allocations: 108 kB / 1.867 GB, free: 90.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002156/5.095, allocations: 68 kB / 1.867 GB, free: 90.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002379/5.095, allocations: 59.75 kB / 1.867 GB, free: 90.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4518/5.547, allocations: 87.91 MB / 1.953 GB, free: 157.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000206/5.547, allocations: 7.688 kB / 1.953 GB, free: 157.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01028/5.557, allocations: 2.41 MB / 1.956 GB, free: 157.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04241/5.6, allocations: 17.44 MB / 1.973 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003231/5.603, allocations: 194.8 kB / 1.973 GB, free: 157.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1192/5.722, allocations: 115.1 MB / 2.085 GB, free: 87.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/5.722, allocations: 11.94 kB / 2.085 GB, free: 87.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09038/5.813, allocations: 59.29 MB / 2.143 GB, free: 29.69 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01339/5.826, allocations: 4.679 MB / 2.148 GB, free: 26.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006543/5.833, allocations: 192 kB / 2.148 GB, free: 25.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01458/5.847, allocations: 1.682 MB / 2.15 GB, free: 24.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004665/5.852, allocations: 0.6789 MB / 2.15 GB, free: 23.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002516/5.855, allocations: 250.4 kB / 2.151 GB, free: 23.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.3058/6.16, allocations: 15.86 MB / 2.166 GB, free: 157.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.42e-07/6.16, allocations: 0 / 2.166 GB, free: 157.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.03111/6.192, allocations: 5.719 MB / 2.172 GB, free: 157.9 MB / 0.6075 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.1116/6.303, allocations: 60.24 MB / 2.23 GB, free: 147.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.05267/6.356, allocations: 35.92 MB / 2.266 GB, free: 126.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/6.356, allocations: 4.219 kB / 2.266 GB, free: 126.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02663/6.383, allocations: 17.64 MB / 2.283 GB, free: 110.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03009/6.413, allocations: 3.5 MB / 2.286 GB, free: 107.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.213/7.626, allocations: 323.8 MB / 2.602 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04354/7.67, allocations: 16.46 MB / 2.619 GB, free: 163 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.03302/7.703, allocations: 13.23 MB / 2.631 GB, free: 162.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0266/7.729, allocations: 10.62 MB / 2.642 GB, free: 162.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.693e-06/7.729, allocations: 0 / 2.642 GB, free: 162.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.334/9.064, allocations: 0.5382 GB / 3.18 GB, free: 63.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 73.52/82.58, allocations: 20.42 kB / 3.18 GB, free: 63.78 MB / 0.6075 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)