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.0009152/0.0009152, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009179/0.0009179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0375/0.0375, allocations: 8.12 MB / 278.5 MB, free: 13.2 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.0004945/0.0004947, allocations: 15.98 kB / 338.4 MB, free: 26.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09599, allocations: 49.27 MB / 387.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.0243/0.1203, allocations: 26.82 MB / 414.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1336, allocations: 6.859 MB / 421.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004737/0.1383, allocations: 123.7 kB / 421.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.1423, allocations: 1.357 MB / 422.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.156, allocations: 4.281 MB / 427.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.158, allocations: 483.2 kB / 427.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.7339/0.8919, allocations: 261.1 MB / 0.6725 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02518/0.9172, allocations: 21.59 MB / 0.6936 GB, free: 65.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.9302, allocations: 6.967 MB / 0.7004 GB, free: 58.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0193/0.9496, allocations: 11.97 MB / 0.7121 GB, free: 46.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005973/0.9556, allocations: 0.8008 MB / 0.7128 GB, free: 45.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008699/0.9643, allocations: 1.538 MB / 0.7144 GB, free: 44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01399/0.9784, allocations: 10.47 MB / 0.7246 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.9888, allocations: 4.66 MB / 0.7291 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5048/1.494, allocations: 38.57 MB / 0.7668 GB, free: 75.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.494, allocations: 0.875 kB / 0.7668 GB, free: 75.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/1.494, allocations: 1.375 kB / 0.7668 GB, free: 75.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001914/1.496, allocations: 0 / 0.7668 GB, free: 75.97 MB / 446.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.1037/1.599, allocations: 32.7 MB / 0.7987 GB, free: 65.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.599, allocations: 11.72 kB / 0.7987 GB, free: 65.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01951/1.619, allocations: 3.067 MB / 0.8017 GB, free: 65.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3453/1.964, allocations: 105.9 MB / 0.9051 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09371/2.058, allocations: 37.67 MB / 0.9419 GB, free: 5.805 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001615/2.06, allocations: 1.157 MB / 0.9431 GB, free: 4.754 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01438/2.074, allocations: 1.671 MB / 0.9447 GB, free: 3.188 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.458/2.532, allocations: 53.91 MB / 0.9973 GB, free: 154.8 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002473/2.535, allocations: 315.1 kB / 0.9976 GB, free: 154.5 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01213/2.547, allocations: 0.7016 MB / 0.9983 GB, free: 153.9 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01119/2.558, allocations: 6.766 MB / 1.005 GB, free: 147.2 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09323/2.651, allocations: 48.01 MB / 1.052 GB, free: 99.29 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6117/3.263, allocations: 200.7 MB / 1.248 GB, free: 60.38 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06951/3.333, allocations: 34.08 MB / 1.281 GB, free: 45.62 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0227/3.355, allocations: 17.93 MB / 1.299 GB, free: 27.61 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/3.357, allocations: 181.6 kB / 1.299 GB, free: 27.5 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/3.357, allocations: 164.1 kB / 1.299 GB, free: 27.35 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=825): time 1.106e-05/3.357, allocations: 0 / 1.299 GB, free: 27.35 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1005): time 1.218/4.575, allocations: 278.5 MB / 1.571 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003867/4.575, allocations: 1.36 MB / 1.572 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04091/4.616, allocations: 23.19 MB / 1.595 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.002558/4.619, allocations: 184.9 kB / 1.595 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01173/4.631, allocations: 13 MB / 1.608 GB, free: 127.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.005495/4.636, allocations: 3.657 MB / 1.611 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003798/4.64, allocations: 399 kB / 1.612 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.001412/4.641, allocations: 1.216 MB / 1.613 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01983/4.661, allocations: 13.68 MB / 1.626 GB, free: 110 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02244/4.684, allocations: 23.81 MB / 1.65 GB, free: 81.7 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02406/4.708, allocations: 18.75 MB / 1.668 GB, free: 63.36 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004175/4.708, allocations: 100 kB / 1.668 GB, free: 63.27 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2580) (initialization): time 0.3512/5.06, allocations: 53.34 MB / 1.72 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003211/5.06, allocations: 156.5 kB / 1.72 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008056/5.061, allocations: 341.2 kB / 1.72 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04002/5.101, allocations: 18.33 MB / 1.738 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01665/5.118, allocations: 5.254 MB / 1.744 GB, free: 134.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1244/5.242, allocations: 119 MB / 1.86 GB, free: 36.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02282/5.265, allocations: 2.254 MB / 1.862 GB, free: 34.66 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005631/5.271, allocations: 1.07 MB / 1.863 GB, free: 33.59 MB / 0.5138 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 (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02811/5.299, allocations: 13.45 MB / 1.876 GB, free: 20.31 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008548/5.307, allocations: 1.732 MB / 1.878 GB, free: 19.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3797/5.687, allocations: 41.28 MB / 1.918 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001852/5.687, allocations: 107.3 kB / 1.918 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003273/5.688, allocations: 67.09 kB / 1.918 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000294/5.688, allocations: 54.44 kB / 1.918 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1658/5.854, allocations: 88.02 MB / 2.004 GB, free: 83.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000194/5.854, allocations: 8 kB / 2.004 GB, free: 83.93 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009413/5.863, allocations: 2.413 MB / 2.007 GB, free: 81.61 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04006/5.903, allocations: 17.43 MB / 2.024 GB, free: 64.57 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003427/5.907, allocations: 200 kB / 2.024 GB, free: 64.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4343/6.341, allocations: 107.1 MB / 2.128 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/6.341, allocations: 11.34 kB / 2.129 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09848/6.44, allocations: 59.08 MB / 2.186 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0133/6.453, allocations: 4.627 MB / 2.191 GB, free: 101.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008599/6.462, allocations: 194.9 kB / 2.191 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01615/6.478, allocations: 1.695 MB / 2.193 GB, free: 99.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004608/6.483, allocations: 0.69 MB / 2.193 GB, free: 98.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002667/6.485, allocations: 244.7 kB / 2.193 GB, free: 98.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.03081/6.516, allocations: 15.75 MB / 2.209 GB, free: 83.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/6.516, allocations: 7.969 kB / 2.209 GB, free: 83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.03352/6.55, allocations: 5.721 MB / 2.214 GB, free: 77.29 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20,(1,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.09952/6.649, allocations: 60.03 MB / 2.273 GB, free: 17.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.3501/6.999, allocations: 35.65 MB / 2.308 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/6.999, allocations: 0 / 2.308 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.03025/7.03, allocations: 17.58 MB / 2.325 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03399/7.064, allocations: 3.334 MB / 2.328 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.889/8.952, allocations: 340.5 MB / 2.661 GB, free: 36.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03903/8.991, allocations: 16.46 MB / 2.677 GB, free: 19.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.2916/9.283, allocations: 13.4 MB / 2.69 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0244/9.307, allocations: 10.62 MB / 2.7 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of SimCode: time 3.316e-06/9.308, allocations: 0 / 2.7 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.232/10.54, allocations: 0.5177 GB / 3.218 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/10.54, allocations: 223 kB / 3.218 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/25.11, allocations: 4 kB / 3.218 GB, free: 11.33 MB / 0.5294 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_Pendula_System_fmu --startTime=0 --stopTime=54 --timeout=50 --tolerance=1e-08 ModelicaByExample_ModelicaByExample_Subsystems_Pendula_System.fmu > ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe 2>&1) Environment - environmentSimulation: