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.002143/0.002143, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002296/0.002296, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.491/1.491, allocations: 207.6 MB / 233 MB, free: 10.02 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.05114/0.05114, allocations: 8.185 MB / 293.5 MB, free: 13.67 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.00238/0.00238, allocations: 78.95 kB / 410.4 MB, free: 46.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.09119, allocations: 50.93 MB / 461.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.01123/0.1024, allocations: 8.781 MB / 470.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008045/0.1105, allocations: 3.623 MB / 473.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.112, allocations: 55.69 kB / 473.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.1155, allocations: 1.565 MB / 475.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.1199, allocations: 1.631 MB / 477 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.1215, allocations: 0.5771 MB / 477.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03694/0.1584, allocations: 27.3 MB / 0.493 GB, free: 1.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0311/0.1895, allocations: 19.36 MB / 0.5119 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02113/0.2107, allocations: 10.49 MB / 0.5222 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2712/0.4819, allocations: 15.01 MB / 0.5368 GB, free: 28.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01313/0.495, allocations: 2.557 MB / 0.5393 GB, free: 28.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01365/0.5087, allocations: 3.452 MB / 0.5427 GB, free: 28.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01885/0.5275, allocations: 13.13 MB / 0.5555 GB, free: 26.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0304/0.5579, allocations: 14.36 MB / 0.5696 GB, free: 16.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05933/0.6173, allocations: 47.56 MB / 0.616 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.6173, allocations: 3.781 kB / 0.616 GB, free: 8.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6173, allocations: 0 / 0.616 GB, free: 8.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.002013/0.6193, allocations: 3.938 kB / 0.616 GB, free: 8.098 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.1387/0.758, allocations: 39.14 MB / 0.6542 GB, free: 1.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.758, allocations: 15.98 kB / 0.6542 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01532/0.7734, allocations: 3.068 MB / 0.6572 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8734/1.647, allocations: 105.6 MB / 0.7603 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1064/1.753, allocations: 66.7 MB / 0.8255 GB, free: 89.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/1.754, allocations: 1.149 MB / 0.8266 GB, free: 88.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008528/1.763, allocations: 1.682 MB / 0.8282 GB, free: 86.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1075/1.87, allocations: 53.91 MB / 0.8809 GB, free: 30.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00147/1.872, allocations: 318.2 kB / 0.8812 GB, free: 30.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006647/1.878, allocations: 0.6949 MB / 0.8819 GB, free: 29.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007896/1.886, allocations: 6.763 MB / 0.8885 GB, free: 22.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1011/1.987, allocations: 48.02 MB / 0.9354 GB, free: 6.68 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.726/2.713, allocations: 200.9 MB / 1.132 GB, free: 33.79 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06769/2.781, allocations: 32.87 MB / 1.164 GB, free: 0.9883 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3096/3.091, allocations: 17.04 MB / 1.18 GB, free: 188.9 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/3.092, allocations: 177.2 kB / 1.181 GB, free: 188.9 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/3.092, allocations: 160.6 kB / 1.181 GB, free: 188.9 MB / 0.592 GB Notification: Performance of pre-optimization done (n=825): time 1.347e-05/3.092, allocations: 0.9375 kB / 1.181 GB, free: 188.9 MB / 0.592 GB Notification: Performance of matching and sorting (n=1005): time 0.9785/4.07, allocations: 280.4 MB / 1.454 GB, free: 152.9 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004061/4.071, allocations: 1.359 MB / 1.456 GB, free: 151.3 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05304/4.124, allocations: 23.33 MB / 1.479 GB, free: 144.6 MB / 0.592 GB Notification: Performance of collectPreVariables (initialization): time 0.002927/4.127, allocations: 191.2 kB / 1.479 GB, free: 144.4 MB / 0.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.01475/4.141, allocations: 13.39 MB / 1.492 GB, free: 134.9 MB / 0.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.006328/4.148, allocations: 3.831 MB / 1.496 GB, free: 131.7 MB / 0.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01656/4.164, allocations: 4.29 MB / 1.5 GB, free: 129.4 MB / 0.592 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/4.164, allocations: 305.1 kB / 1.5 GB, free: 129.1 MB / 0.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0203/4.185, allocations: 13.76 MB / 1.514 GB, free: 119.8 MB / 0.592 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02965/4.214, allocations: 23.89 MB / 1.537 GB, free: 91.41 MB / 0.592 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4223/4.637, allocations: 87.31 MB / 1.622 GB, free: 148 MB / 0.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003691/4.637, allocations: 96.94 kB / 1.622 GB, free: 148 MB / 0.592 GB Notification: Performance of matching and sorting (n=2580) (initialization): time 0.09485/4.732, allocations: 53.45 MB / 1.674 GB, free: 137.7 MB / 0.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.000214/4.732, allocations: 151.9 kB / 1.675 GB, free: 137.7 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000482/4.732, allocations: 341.7 kB / 1.675 GB, free: 137.7 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04199/4.774, allocations: 18.29 MB / 1.693 GB, free: 130.2 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01775/4.792, allocations: 5.243 MB / 1.698 GB, free: 128.5 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1323/4.925, allocations: 126.5 MB / 1.821 GB, free: 6.98 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02524/4.95, allocations: 2.239 MB / 1.824 GB, free: 4.777 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005405/4.955, allocations: 1.074 MB / 1.825 GB, free: 3.703 MB / 0.592 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.03635/4.992, allocations: 13.44 MB / 1.838 GB, free: 6.465 MB / 0.6077 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007698/4.999, allocations: 1.829 MB / 1.84 GB, free: 5.652 MB / 0.6077 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.347/5.346, allocations: 41.19 MB / 1.88 GB, free: 178.6 MB / 0.6233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002509/5.346, allocations: 109.5 kB / 1.88 GB, free: 178.6 MB / 0.6233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004802/5.347, allocations: 64.38 kB / 1.88 GB, free: 178.6 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003628/5.347, allocations: 60.11 kB / 1.88 GB, free: 178.6 MB / 0.6233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1729/5.52, allocations: 88.16 MB / 1.966 GB, free: 123.3 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002133/5.52, allocations: 8 kB / 1.966 GB, free: 123.3 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01009/5.53, allocations: 2.414 MB / 1.968 GB, free: 121 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.042/5.572, allocations: 17.43 MB / 1.985 GB, free: 103.9 MB / 0.6233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003141/5.576, allocations: 196 kB / 1.986 GB, free: 103.7 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.446/6.022, allocations: 113.6 MB / 2.097 GB, free: 160.9 MB / 0.6233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/6.022, allocations: 15.31 kB / 2.097 GB, free: 160.9 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1065/6.128, allocations: 59.11 MB / 2.154 GB, free: 147 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01883/6.147, allocations: 4.774 MB / 2.159 GB, free: 145.9 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009979/6.157, allocations: 199 kB / 2.159 GB, free: 145.8 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01652/6.173, allocations: 1.678 MB / 2.161 GB, free: 145.6 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004806/6.178, allocations: 0.7332 MB / 2.162 GB, free: 145.5 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003038/6.181, allocations: 248.1 kB / 2.162 GB, free: 145.5 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.03655/6.218, allocations: 15.87 MB / 2.177 GB, free: 135.7 MB / 0.6233 GB Notification: Performance of sort global known variables: time 2e-07/6.218, allocations: 0 / 2.177 GB, free: 135.7 MB / 0.6233 GB Notification: Performance of remove unused functions: time 0.03225/6.25, allocations: 5.724 MB / 2.183 GB, free: 130 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.0993/6.349, allocations: 60.05 MB / 2.241 GB, free: 71.48 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.05199/6.401, allocations: 34.94 MB / 2.276 GB, free: 36.75 MB / 0.6233 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/6.401, allocations: 4 kB / 2.276 GB, free: 36.74 MB / 0.6233 GB Notification: Performance of simCode: created simulation system equations: time 0.02873/6.43, allocations: 16.83 MB / 2.292 GB, free: 19.91 MB / 0.6233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04252/6.473, allocations: 3.505 MB / 2.295 GB, free: 16.51 MB / 0.6233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.201/7.674, allocations: 324.1 MB / 2.612 GB, free: 136.1 MB / 0.6233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04139/7.715, allocations: 16.46 MB / 2.628 GB, free: 123.5 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.03038/7.745, allocations: 13.23 MB / 2.641 GB, free: 113 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02089/7.766, allocations: 10.62 MB / 2.651 GB, free: 102.4 MB / 0.6233 GB Notification: Performance of SimCode: time 1.283e-06/7.766, allocations: 1.688 kB / 2.651 GB, free: 102.4 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/9.044, allocations: 0.5514 GB / 3.203 GB, free: 46.99 MB / 0.6545 GB Notification: Performance of buildModelFMU: Generate platform static: time 79.4/88.44, allocations: 4.438 kB / 3.203 GB, free: 46.99 MB / 0.6545 GB " [Timeout remaining time 571] (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: 91.98067991300195] Failed to read output from testmodel.py, exit status != 0: 88.79826404999767 88.81053573 88.190109192 Calling exit ...