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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.004346/0.004346, allocations: 175.3 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.04/1.04, allocations: 194.5 MB / 210.3 MB, free: 7.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03633/0.03633, allocations: 8.104 MB / 263.6 MB, free: 2.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001479/0.00148, allocations: 128.3 kB / 310.6 MB, free: 27.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 8 kB / 367.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 46.19 MB / 413.4 MB, free: 47.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08739/0.2625, allocations: 88.37 MB / 0.4901 GB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001266/0.2627, allocations: 47.98 kB / 0.4901 GB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229/1.491, allocations: 412.8 MB / 0.8933 GB, free: 13.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.491, allocations: 0 / 0.8933 GB, free: 13.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001645/1.493, allocations: 427.2 kB / 0.8937 GB, free: 13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6079 * Number of variables: 6079 Notification: Performance of Generate backend data structure: time 0.07111/1.564, allocations: 30.66 MB / 0.9236 GB, free: 3.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/1.564, allocations: 8.719 kB / 0.9236 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1257/1.69, allocations: 37.85 MB / 0.9606 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07057/1.761, allocations: 39.92 MB / 0.9996 GB, free: 232 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004704/1.765, allocations: 1.675 MB / 1.001 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007237/1.773, allocations: 1.962 MB / 1.003 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4286/2.201, allocations: 52.34 MB / 1.054 GB, free: 34 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001098/2.202, allocations: 325.9 kB / 1.055 GB, free: 33.96 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002965/2.205, allocations: 0.8232 MB / 1.055 GB, free: 33.96 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005334/2.211, allocations: 4.199 MB / 1.059 GB, free: 33.86 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07167/2.282, allocations: 45.96 MB / 1.104 GB, free: 31.41 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5627/2.845, allocations: 205.8 MB / 1.305 GB, free: 15.47 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05949/2.905, allocations: 32.28 MB / 1.337 GB, free: 13.95 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/2.905, allocations: 187.5 kB / 1.337 GB, free: 13.95 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/2.905, allocations: 159 kB / 1.337 GB, free: 13.9 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=810): time 1.278e-05/2.905, allocations: 0 / 1.337 GB, free: 13.9 MB / 0.5107 GB Notification: Performance of matching and sorting (n=990): time 0.8603/3.766, allocations: 256 MB / 1.587 GB, free: 96.91 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002875/3.766, allocations: 1.358 MB / 1.588 GB, free: 95.38 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03324/3.799, allocations: 20.49 MB / 1.609 GB, free: 94.64 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.001837/3.801, allocations: 181.9 kB / 1.609 GB, free: 94.61 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.008598/3.81, allocations: 13.09 MB / 1.621 GB, free: 91.16 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004146/3.814, allocations: 3.629 MB / 1.625 GB, free: 88.98 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/3.815, allocations: 408.3 kB / 1.625 GB, free: 88.98 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0008956/3.816, allocations: 1.234 MB / 1.627 GB, free: 88.63 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01395/3.83, allocations: 12.7 MB / 1.639 GB, free: 88.58 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01841/3.848, allocations: 23.25 MB / 1.662 GB, free: 73.21 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/3.867, allocations: 17.94 MB / 1.679 GB, free: 67.41 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002624/3.868, allocations: 106.3 kB / 1.679 GB, free: 67.41 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2651) (initialization): time 0.07208/3.94, allocations: 48.5 MB / 1.727 GB, free: 44.41 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/3.94, allocations: 170.3 kB / 1.727 GB, free: 44.25 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003245/3.94, allocations: 360 kB / 1.727 GB, free: 43.9 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0306/3.971, allocations: 14.68 MB / 1.742 GB, free: 33.52 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01734/3.988, allocations: 5.952 MB / 1.747 GB, free: 28.9 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3082/4.296, allocations: 103.1 MB / 1.848 GB, free: 46.09 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0191/4.316, allocations: 2.053 MB / 1.85 GB, free: 45.77 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003511/4.319, allocations: 1.112 MB / 1.851 GB, free: 45.61 MB / 0.5107 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: 1643 * Number of states: 0 () * Number of discrete variables: 234 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (2327): * Single equations (assignments): 2309 * 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%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01947/4.339, allocations: 13.5 MB / 1.864 GB, free: 41.46 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004096/4.343, allocations: 1.734 MB / 1.866 GB, free: 41.46 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05384/4.396, allocations: 35.44 MB / 1.901 GB, free: 31.33 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/4.397, allocations: 104.2 kB / 1.901 GB, free: 31.33 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001711/4.397, allocations: 61.19 kB / 1.901 GB, free: 31.33 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001989/4.397, allocations: 56.98 kB / 1.901 GB, free: 31.33 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3202/4.717, allocations: 79.22 MB / 1.978 GB, free: 63.75 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.473e-05/4.717, allocations: 7.75 kB / 1.978 GB, free: 63.75 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01011/4.727, allocations: 2.933 MB / 1.981 GB, free: 63.75 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03031/4.758, allocations: 13.88 MB / 1.995 GB, free: 63.61 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/4.759, allocations: 193.5 kB / 1.995 GB, free: 63.61 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08173/4.841, allocations: 92.86 MB / 2.085 GB, free: 30.57 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/4.841, allocations: 8.969 kB / 2.086 GB, free: 30.57 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2943/5.135, allocations: 54.72 MB / 2.139 GB, free: 72.35 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01283/5.148, allocations: 4.26 MB / 2.143 GB, free: 72.26 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00368/5.152, allocations: 191.5 kB / 2.143 GB, free: 72.26 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009889/5.161, allocations: 1.442 MB / 2.145 GB, free: 72.26 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001838/5.163, allocations: 0.6679 MB / 2.145 GB, free: 72.26 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007085/5.164, allocations: 239.5 kB / 2.146 GB, free: 72.26 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0227/5.187, allocations: 15.38 MB / 2.161 GB, free: 71.79 MB / 0.5263 GB Notification: Performance of sort global known variables: time 5.61e-07/5.187, allocations: 0 / 2.161 GB, free: 71.79 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.02272/5.209, allocations: 5.457 MB / 2.166 GB, free: 71.79 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 30 (pendulum[1].revolute.phi,pendulum[1].revolute.w,pendulum[2].revolute.phi,pendulum[2].revolute.w,pendulum[3].revolute.phi,pendulum[3].revolute.w,pendulum[4].revolute.phi,pendulum[4].revolute.w,pendulum[5].revolute.phi,pendulum[5].revolute.w,pendulum[6].revolute.phi,pendulum[6].revolute.w,pendulum[7].revolute.phi,pendulum[7].revolute.w,pendulum[8].revolute.phi,pendulum[8].revolute.w,pendulum[9].revolute.phi,pendulum[9].revolute.w,pendulum[10].revolute.phi,pendulum[10].revolute.w,pendulum[11].revolute.phi,pendulum[11].revolute.w,pendulum[12].revolute.phi,pendulum[12].revolute.w,pendulum[13].revolute.phi,pendulum[13].revolute.w,pendulum[14].revolute.phi,pendulum[14].revolute.w,pendulum[15].revolute.phi,pendulum[15].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 (726): * Single equations (assignments): 708 * 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%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18,(1,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/5.211, allocations: 405.1 kB / 2.166 GB, free: 71.7 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.04342/5.254, allocations: 33.47 MB / 2.199 GB, free: 69.06 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/5.254, allocations: 2.734 kB / 2.199 GB, free: 69.06 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.02254/5.277, allocations: 16.32 MB / 2.215 GB, free: 67.05 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01677/5.294, allocations: 3.16 MB / 2.218 GB, free: 66.96 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1053/5.399, allocations: 75.71 MB / 2.292 GB, free: 25.36 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02563/5.425, allocations: 16.86 MB / 2.308 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.02857/5.453, allocations: 13.76 MB / 2.322 GB, free: 4.023 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004099/5.458, allocations: 1.04 MB / 2.323 GB, free: 3.027 MB / 0.5263 GB Notification: Performance of SimCode: time 5.11e-07/5.458, allocations: 0 / 2.323 GB, free: 3.027 MB / 0.5263 GB Notification: Performance of Templates: time 0.8154/6.273, allocations: 271.1 MB / 2.588 GB, free: 93.95 MB / 0.5575 GB make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.Pendula.System.makefile (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)