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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 104.8 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002961/0.002961, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 207.6 MB / 229.8 MB, free: 11.4 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.07531/0.07531, allocations: 8.203 MB / 289.9 MB, free: 14.85 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002358/0.002358, allocations: 78.41 kB / 405.2 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09277, allocations: 50.9 MB / 456.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01144/0.1042, allocations: 8.758 MB / 464.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007632/0.1118, allocations: 3.599 MB / 468.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.113, allocations: 55.75 kB / 468.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.1164, allocations: 1.557 MB / 470.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.1208, allocations: 1.615 MB / 471.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1223, allocations: 0.5848 MB / 472.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.04359/0.1659, allocations: 27.31 MB / 499.6 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04602/0.2119, allocations: 24 MB / 0.5113 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.2288, allocations: 10.49 MB / 0.5216 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2463/0.4751, allocations: 15 MB / 0.5362 GB, free: 32.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01062/0.4857, allocations: 2.557 MB / 0.5387 GB, free: 32.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.4995, allocations: 3.448 MB / 0.5421 GB, free: 32.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02013/0.5197, allocations: 13.11 MB / 0.5549 GB, free: 28.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02466/0.5443, allocations: 14.36 MB / 0.5689 GB, free: 18.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05548/0.5998, allocations: 47.56 MB / 0.6154 GB, free: 7.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.5998, allocations: 1.5 kB / 0.6154 GB, free: 7.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5998, allocations: 4 kB / 0.6154 GB, free: 7.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001475/0.6013, allocations: 0 / 0.6154 GB, free: 7.336 MB / 430.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.1287/0.73, allocations: 39.13 MB / 0.6536 GB, free: 468 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.7301, allocations: 8.031 kB / 0.6536 GB, free: 460 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01767/0.7477, allocations: 3.068 MB / 0.6566 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8568/1.605, allocations: 105.6 MB / 0.7597 GB, free: 120 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1137/1.718, allocations: 66.46 MB / 0.8246 GB, free: 57.73 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/1.719, allocations: 1.149 MB / 0.8257 GB, free: 56.58 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008478/1.728, allocations: 1.682 MB / 0.8273 GB, free: 54.89 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1065/1.834, allocations: 53.9 MB / 0.88 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001799/1.836, allocations: 310.2 kB / 0.8803 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007212/1.843, allocations: 0.702 MB / 0.881 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01111/1.855, allocations: 6.763 MB / 0.8876 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1127/1.967, allocations: 48.02 MB / 0.9345 GB, free: 6.789 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6355/2.603, allocations: 199.9 MB / 1.13 GB, free: 22.94 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07603/2.679, allocations: 33.32 MB / 1.162 GB, free: 5.566 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2345/2.913, allocations: 17.04 MB / 1.179 GB, free: 188.5 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009289/2.914, allocations: 187.4 kB / 1.179 GB, free: 188.5 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/2.914, allocations: 158.8 kB / 1.179 GB, free: 188.5 MB / 0.592 GB Notification: Performance of pre-optimization done (n=825): time 1.392e-05/2.914, allocations: 0 / 1.179 GB, free: 188.5 MB / 0.592 GB Notification: Performance of matching and sorting (n=1005): time 0.9985/3.913, allocations: 283.8 MB / 1.456 GB, free: 140.6 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003628/3.913, allocations: 1.357 MB / 1.458 GB, free: 139 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04545/3.959, allocations: 23.34 MB / 1.48 GB, free: 132.3 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.00244/3.961, allocations: 190.3 kB / 1.481 GB, free: 132.1 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.0114/3.973, allocations: 13.38 MB / 1.494 GB, free: 123.2 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.005558/3.978, allocations: 3.83 MB / 1.497 GB, free: 120.4 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01594/3.994, allocations: 4.292 MB / 1.502 GB, free: 118.5 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/3.994, allocations: 305.1 kB / 1.502 GB, free: 118.2 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01925/4.013, allocations: 13.76 MB / 1.515 GB, free: 105 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02402/4.037, allocations: 23.89 MB / 1.539 GB, free: 76.62 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4314/4.469, allocations: 87.27 MB / 1.624 GB, free: 141.2 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003044/4.469, allocations: 97.69 kB / 1.624 GB, free: 141.2 MB / 0.592 GB Notification: Performance of matching and sorting (n=2580) (initialization): time 0.09241/4.561, allocations: 53.42 MB / 1.676 GB, free: 128.4 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.000226/4.562, allocations: 155.9 kB / 1.676 GB, free: 128.4 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004761/4.562, allocations: 339.3 kB / 1.677 GB, free: 128.4 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04439/4.607, allocations: 18.29 MB / 1.695 GB, free: 120 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01723/4.624, allocations: 5.247 MB / 1.7 GB, free: 116 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1354/4.759, allocations: 128 MB / 1.825 GB, free: 2.535 MB / 0.6077 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02321/4.782, allocations: 2.24 MB / 1.827 GB, free: 340 kB / 0.6077 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004913/4.787, allocations: 1.074 MB / 1.828 GB, free: 15.26 MB / 0.6233 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.2972/5.085, allocations: 13.43 MB / 1.841 GB, free: 175.4 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007087/5.092, allocations: 1.832 MB / 1.843 GB, free: 175.4 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08046/5.172, allocations: 41.16 MB / 1.883 GB, free: 170 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002129/5.172, allocations: 106.1 kB / 1.883 GB, free: 170 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003238/5.173, allocations: 70.62 kB / 1.883 GB, free: 170 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003056/5.173, allocations: 58.28 kB / 1.883 GB, free: 170 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1512/5.324, allocations: 87.72 MB / 1.969 GB, free: 105.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001519/5.324, allocations: 8 kB / 1.969 GB, free: 105.8 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009854/5.334, allocations: 2.418 MB / 1.971 GB, free: 103.5 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04193/5.376, allocations: 17.43 MB / 1.988 GB, free: 86.38 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002992/5.379, allocations: 200.7 kB / 1.988 GB, free: 86.18 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4299/5.809, allocations: 115.1 MB / 2.101 GB, free: 153.1 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/5.809, allocations: 14.88 kB / 2.101 GB, free: 153.1 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1035/5.913, allocations: 59.1 MB / 2.159 GB, free: 135.3 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01226/5.925, allocations: 4.674 MB / 2.163 GB, free: 133.5 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006701/5.931, allocations: 194.8 kB / 2.163 GB, free: 133.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01694/5.948, allocations: 1.673 MB / 2.165 GB, free: 132.4 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00576/5.954, allocations: 0.6911 MB / 2.166 GB, free: 132 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003331/5.958, allocations: 247.9 kB / 2.166 GB, free: 131.8 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.03011/5.988, allocations: 15.87 MB / 2.181 GB, free: 119.1 MB / 0.6233 GB Notification: Performance of sort global known variables: time 3.21e-07/5.988, allocations: 0 / 2.181 GB, free: 119.1 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.02911/6.017, allocations: 5.716 MB / 2.187 GB, free: 113.4 MB / 0.6233 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.09349/6.11, allocations: 60.05 MB / 2.246 GB, free: 54.69 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.05071/6.161, allocations: 34.92 MB / 2.28 GB, free: 20 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.866e-05/6.161, allocations: 0 / 2.28 GB, free: 20 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.2948/6.456, allocations: 16.82 MB / 2.296 GB, free: 175.8 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02977/6.485, allocations: 3.498 MB / 2.3 GB, free: 175.5 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8047/7.29, allocations: 323.4 MB / 2.615 GB, free: 116.3 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03496/7.325, allocations: 16.47 MB / 2.632 GB, free: 103.6 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.02951/7.355, allocations: 13.23 MB / 2.644 GB, free: 93.52 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0187/7.373, allocations: 10.62 MB / 2.655 GB, free: 82.89 MB / 0.6233 GB Notification: Performance of SimCode: time 2.144e-06/7.373, allocations: 0 / 2.655 GB, free: 82.89 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/8.74, allocations: 0.5418 GB / 3.197 GB, free: 41.34 MB / 0.6545 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.07/100.8, allocations: 4.781 kB / 3.197 GB, free: 41.33 MB / 0.6545 GB " [Timeout remaining time 559] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 104.57381493299908] Failed to read output from testmodel.py, exit status != 0: 101.13087537500542 101.139443531 100.537044871 Calling exit ...