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: translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") translateModel(ModelicaByExample.Subsystems.Pendula.System,tolerance=1e-08,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.006725/0.006725, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04031/0.04031, allocations: 8.111 MB / 278.8 MB, free: 13.12 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.0006451/0.0006452, allocations: 16 kB / 338.9 MB, free: 26.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1278, allocations: 49.27 MB / 388.2 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.Pendula.System): time 0.03532/0.1632, allocations: 28.79 MB / 416.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02355/0.1868, allocations: 7.24 MB / 424.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00777/0.1946, allocations: 123.7 kB / 424.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.1962, allocations: 318.5 kB / 424.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005465/0.2017, allocations: 1.484 MB / 426.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.2035, allocations: 0.5343 MB / 426.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.285/0.4885, allocations: 43.11 MB / 469.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03784/0.5264, allocations: 24.63 MB / 494.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01746/0.5439, allocations: 6.417 MB / 0.489 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02527/0.5692, allocations: 12.03 MB / 0.5008 GB, free: 2.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006218/0.5755, allocations: 0.8008 MB / 0.5016 GB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.5858, allocations: 1.69 MB / 0.5032 GB, free: 92 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01934/0.6052, allocations: 10.44 MB / 0.5134 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0316/0.6369, allocations: 10.96 MB / 0.5241 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06102/0.6979, allocations: 42.11 MB / 0.5652 GB, free: 1.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.698, allocations: 4 kB / 0.5652 GB, free: 1.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.698, allocations: 0 / 0.5652 GB, free: 1.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.002217/0.7003, allocations: 7.938 kB / 0.5653 GB, free: 1.367 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.5829/1.283, allocations: 29.6 MB / 0.5942 GB, free: 124.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/1.283, allocations: 9.219 kB / 0.5942 GB, free: 124.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08682/1.37, allocations: 20.03 MB / 0.6137 GB, free: 108.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07885/1.449, allocations: 33.02 MB / 0.646 GB, free: 75.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001578/1.451, allocations: 1.153 MB / 0.6471 GB, free: 74.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01198/1.463, allocations: 1.679 MB / 0.6487 GB, free: 72.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1328/1.596, allocations: 55.53 MB / 0.703 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001686/1.597, allocations: 309.6 kB / 0.7033 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007479/1.605, allocations: 0.6999 MB / 0.7039 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008663/1.613, allocations: 6.769 MB / 0.7106 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.106/1.72, allocations: 51.16 MB / 0.7605 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.066/2.785, allocations: 207.3 MB / 0.963 GB, free: 122.4 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07544/2.861, allocations: 35.54 MB / 0.9977 GB, free: 120.6 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02697/2.888, allocations: 19.37 MB / 1.017 GB, free: 112.6 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/2.889, allocations: 178.6 kB / 1.017 GB, free: 112.6 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/2.889, allocations: 166.8 kB / 1.017 GB, free: 112.5 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=825): time 3.926e-05/2.889, allocations: 0 / 1.017 GB, free: 112.5 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1005): time 1.218/4.108, allocations: 299.4 MB / 1.309 GB, free: 37.55 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003541/4.108, allocations: 1.359 MB / 1.311 GB, free: 35.89 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.416/4.524, allocations: 23.23 MB / 1.333 GB, free: 153 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.004447/4.529, allocations: 186.1 kB / 1.334 GB, free: 153 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01756/4.546, allocations: 12.59 MB / 1.346 GB, free: 146.2 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.009108/4.555, allocations: 3.699 MB / 1.349 GB, free: 143.4 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009417/4.565, allocations: 2.072 MB / 1.351 GB, free: 142.6 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/4.565, allocations: 305.1 kB / 1.352 GB, free: 142.3 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02974/4.595, allocations: 16.07 MB / 1.367 GB, free: 137.4 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03979/4.635, allocations: 26.37 MB / 1.393 GB, free: 119.2 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6851/5.32, allocations: 120.1 MB / 1.51 GB, free: 134.3 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008547/5.321, allocations: 97.56 kB / 1.511 GB, free: 134.3 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2865) (initialization): time 0.1496/5.47, allocations: 66.17 MB / 1.575 GB, free: 119.1 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 0.001285/5.472, allocations: 152.1 kB / 1.575 GB, free: 119.1 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001424/5.473, allocations: 341.4 kB / 1.576 GB, free: 119.1 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06212/5.535, allocations: 25.96 MB / 1.601 GB, free: 97.45 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02241/5.558, allocations: 5.681 MB / 1.607 GB, free: 91.76 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5745/6.132, allocations: 136.5 MB / 1.74 GB, free: 128.2 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03322/6.165, allocations: 2.61 MB / 1.742 GB, free: 127.8 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009032/6.175, allocations: 1.129 MB / 1.743 GB, free: 127.7 MB / 0.5295 GB Warning: Assuming fixed start value for the following 15 variables: 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] 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[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[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[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[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[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[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[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[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[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[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[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[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[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] 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 (2496): * Single equations (assignments): 2478 * 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.03857/6.213, allocations: 13.37 MB / 1.757 GB, free: 123.4 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008942/6.222, allocations: 1.686 MB / 1.758 GB, free: 123.4 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09911/6.321, allocations: 51.79 MB / 1.809 GB, free: 94.75 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002266/6.322, allocations: 108 kB / 1.809 GB, free: 94.64 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004136/6.322, allocations: 71.98 kB / 1.809 GB, free: 94.57 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003554/6.322, allocations: 55.83 kB / 1.809 GB, free: 94.52 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5714/6.894, allocations: 98.65 MB / 1.905 GB, free: 117 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000243/6.894, allocations: 7.875 kB / 1.905 GB, free: 117 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01069/6.905, allocations: 2.405 MB / 1.908 GB, free: 117 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05924/6.964, allocations: 25.08 MB / 1.932 GB, free: 116.9 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005519/6.97, allocations: 198.1 kB / 1.932 GB, free: 116.9 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1474/7.117, allocations: 124.4 MB / 2.054 GB, free: 40.34 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-05/7.117, allocations: 11.94 kB / 2.054 GB, free: 40.33 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4862/7.603, allocations: 71.71 MB / 2.124 GB, free: 128 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01691/7.62, allocations: 4.992 MB / 2.129 GB, free: 127.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01059/7.631, allocations: 198.9 kB / 2.129 GB, free: 127.9 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01949/7.65, allocations: 2.003 MB / 2.131 GB, free: 127.9 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007709/7.658, allocations: 0.683 MB / 2.132 GB, free: 127.9 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003969/7.662, allocations: 248.7 kB / 2.132 GB, free: 127.9 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0367/7.699, allocations: 15.72 MB / 2.147 GB, free: 124.2 MB / 0.5452 GB Notification: Performance of sort global known variables: time 8.32e-07/7.699, allocations: 6.125 kB / 2.147 GB, free: 124.2 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.04352/7.742, allocations: 6.257 MB / 2.153 GB, free: 123.6 MB / 0.5452 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.003678/7.746, allocations: 391.5 kB / 2.154 GB, free: 123.4 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.06423/7.81, allocations: 40.01 MB / 2.193 GB, free: 108.2 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/7.811, allocations: 5.125 kB / 2.193 GB, free: 108.2 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.03089/7.841, allocations: 19.03 MB / 2.211 GB, free: 92.6 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05829/7.9, allocations: 3.017 MB / 2.214 GB, free: 90.07 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5316/8.431, allocations: 98.35 MB / 2.31 GB, free: 117 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04102/8.473, allocations: 16.46 MB / 2.326 GB, free: 115.8 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.03862/8.511, allocations: 13.12 MB / 2.339 GB, free: 115.5 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006164/8.517, allocations: 1.025 MB / 2.34 GB, free: 115.5 MB / 0.5452 GB Notification: Performance of SimCode: time 1.233e-06/8.517, allocations: 0 / 2.34 GB, free: 115.5 MB / 0.5452 GB Notification: Performance of Templates: time 0.8236/9.341, allocations: 319.1 MB / 2.652 GB, free: 46.53 MB / 0.5608 GB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile Environment - environmentSimulation: (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 & ./ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.pipe 2>&1) Environment - environmentSimulation: