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.007463/0.007463, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001409/0.001409, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.458/1.458, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04304/0.04304, allocations: 8.116 MB / 278 MB, free: 13.06 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.001734/0.001734, allocations: 71.89 kB / 386.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2772, allocations: 48.3 MB / 434.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.008325/0.2855, allocations: 8.696 MB / 443.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006875/0.2925, allocations: 3.582 MB / 446.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.2937, allocations: 47.25 kB / 446.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003546/0.2973, allocations: 1.537 MB / 448.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.302, allocations: 1.63 MB / 450 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.3036, allocations: 0.5767 MB / 450.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03044/0.3341, allocations: 27.35 MB / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03668/0.3708, allocations: 28.77 MB / 0.4948 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/0.3856, allocations: 10.37 MB / 0.5049 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01949/0.4051, allocations: 14.06 MB / 0.5186 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007335/0.4125, allocations: 2.555 MB / 0.5211 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.4237, allocations: 3.401 MB / 0.5245 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01742/0.4412, allocations: 12.8 MB / 0.537 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02483/0.466, allocations: 14.36 MB / 0.551 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4427/0.9088, allocations: 47.56 MB / 0.5974 GB, free: 75.06 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.9089, allocations: 0 / 0.5974 GB, free: 75.06 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.9089, allocations: 0.5 kB / 0.5974 GB, free: 75.06 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.002153/0.911, allocations: 0 / 0.5974 GB, free: 75.06 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.123/1.034, allocations: 39.13 MB / 0.6356 GB, free: 63.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.034, allocations: 7.875 kB / 0.6356 GB, free: 63.77 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01276/1.047, allocations: 3.072 MB / 0.6386 GB, free: 62.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4027/1.45, allocations: 105.6 MB / 0.7417 GB, free: 12.63 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1339/1.584, allocations: 66.45 MB / 0.8066 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001107/1.585, allocations: 1.151 MB / 0.8078 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007664/1.592, allocations: 1.687 MB / 0.8094 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3248/1.917, allocations: 53.9 MB / 0.862 GB, free: 191.4 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001549/1.919, allocations: 328.1 kB / 0.8623 GB, free: 191.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007347/1.926, allocations: 0.6945 MB / 0.863 GB, free: 190.9 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008729/1.935, allocations: 6.756 MB / 0.8696 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08217/2.017, allocations: 48.01 MB / 0.9165 GB, free: 141.6 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4853/2.503, allocations: 199.9 MB / 1.112 GB, free: 96.87 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07287/2.576, allocations: 34.02 MB / 1.145 GB, free: 95.18 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01875/2.594, allocations: 17.96 MB / 1.163 GB, free: 87.99 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008739/2.595, allocations: 181.8 kB / 1.163 GB, free: 87.96 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/2.595, allocations: 160.5 kB / 1.163 GB, free: 87.86 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=825): time 1.293e-05/2.595, allocations: 3.562 kB / 1.163 GB, free: 87.86 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1005): time 1.048/3.644, allocations: 284 MB / 1.44 GB, free: 110.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003164/3.644, allocations: 1.37 MB / 1.442 GB, free: 109.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04045/3.685, allocations: 23.33 MB / 1.464 GB, free: 90.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002506/3.687, allocations: 185.7 kB / 1.464 GB, free: 90.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.01012/3.697, allocations: 13.39 MB / 1.478 GB, free: 78.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00483/3.702, allocations: 3.832 MB / 1.481 GB, free: 74.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0128/3.715, allocations: 4.294 MB / 1.485 GB, free: 70.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/3.715, allocations: 301.1 kB / 1.486 GB, free: 70.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02038/3.736, allocations: 13.76 MB / 1.499 GB, free: 56.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2901/4.026, allocations: 23.89 MB / 1.523 GB, free: 192 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1848/4.211, allocations: 87.28 MB / 1.608 GB, free: 147.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007306/4.211, allocations: 96 kB / 1.608 GB, free: 147.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2580) (initialization): time 0.09709/4.308, allocations: 53.63 MB / 1.66 GB, free: 95.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003769/4.309, allocations: 148 kB / 1.66 GB, free: 94.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005399/4.309, allocations: 344 kB / 1.661 GB, free: 94.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04307/4.352, allocations: 18.28 MB / 1.679 GB, free: 76.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01884/4.371, allocations: 5.256 MB / 1.684 GB, free: 71.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4357/4.807, allocations: 128 MB / 1.809 GB, free: 134.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02432/4.831, allocations: 2.239 MB / 1.811 GB, free: 133.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004922/4.836, allocations: 1.075 MB / 1.812 GB, free: 133.6 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.02634/4.863, allocations: 13.44 MB / 1.825 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007872/4.871, allocations: 1.833 MB / 1.827 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07623/4.947, allocations: 41.36 MB / 1.867 GB, free: 90.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002494/4.947, allocations: 111.4 kB / 1.867 GB, free: 90.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003475/4.948, allocations: 68 kB / 1.867 GB, free: 90.63 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003355/4.948, allocations: 55.81 kB / 1.867 GB, free: 90.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4729/5.421, allocations: 87.92 MB / 1.953 GB, free: 157.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002155/5.421, allocations: 6.594 kB / 1.953 GB, free: 157.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01077/5.432, allocations: 2.414 MB / 1.956 GB, free: 157.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04356/5.476, allocations: 17.44 MB / 1.973 GB, free: 157.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003387/5.479, allocations: 200.3 kB / 1.973 GB, free: 157.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1195/5.598, allocations: 115.1 MB / 2.085 GB, free: 87.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/5.598, allocations: 11.94 kB / 2.085 GB, free: 87.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08948/5.688, allocations: 59.3 MB / 2.143 GB, free: 29.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01675/5.705, allocations: 4.667 MB / 2.148 GB, free: 25.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008674/5.713, allocations: 198.4 kB / 2.148 GB, free: 25.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0176/5.731, allocations: 1.669 MB / 2.15 GB, free: 24.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004882/5.736, allocations: 0.6827 MB / 2.15 GB, free: 23.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00274/5.739, allocations: 251.8 kB / 2.151 GB, free: 23.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.355/6.094, allocations: 15.87 MB / 2.166 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.293e-06/6.094, allocations: 1.156 kB / 2.166 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.03855/6.132, allocations: 5.718 MB / 2.172 GB, free: 158.3 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.106/6.238, allocations: 60.25 MB / 2.23 GB, free: 147.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.05618/6.295, allocations: 35.92 MB / 2.266 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.961e-05/6.295, allocations: 4 kB / 2.266 GB, free: 126.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02924/6.324, allocations: 17.64 MB / 2.283 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03487/6.359, allocations: 3.498 MB / 2.286 GB, free: 107.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.114/7.473, allocations: 323.8 MB / 2.602 GB, free: 164.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04174/7.515, allocations: 16.47 MB / 2.619 GB, free: 163.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.03113/7.546, allocations: 13.23 MB / 2.631 GB, free: 163 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02192/7.568, allocations: 10.62 MB / 2.642 GB, free: 163 MB / 0.6075 GB Notification: Performance of SimCode: time 1.743e-06/7.568, allocations: 0 / 2.642 GB, free: 163 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/8.928, allocations: 0.5382 GB / 3.18 GB, free: 63.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 72.32/81.25, allocations: 13.38 kB / 3.18 GB, free: 63.89 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)