Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo", uses=false) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo", uses=false) Using package Modelica_LinearSystems2 with version 3.0.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Using package DymolaCommands with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Running command: translateModel(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum") translateModel(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.001004/0.001004, allocations: 31.2 kB / 15.72 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 105.9 kB / 16.56 MB, free: 5.496 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.001499/0.001499, allocations: 193.3 kB / 17.5 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 225.6 MB / 243.9 MB, free: 14.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo): time 0.2831/0.2831, allocations: 41.92 MB / 338.7 MB, free: 3.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 83.86 kB / 473 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.5481, allocations: 60.36 MB / 0.5209 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum): time 0.04515/0.5932, allocations: 28.98 MB / 0.5492 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09685/0.6901, allocations: 40.42 MB / 0.5886 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0144/0.7045, allocations: 239.2 kB / 0.5889 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02804/0.7325, allocations: 9.634 MB / 0.5983 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.747, allocations: 3.054 MB / 0.6012 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.7635, allocations: 5.655 MB / 0.6068 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02376/0.7873, allocations: 9.936 MB / 0.6165 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03734/0.8246, allocations: 12 MB / 0.6282 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01401/0.8386, allocations: 4.384 MB / 0.6325 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.014/0.8526, allocations: 5.536 MB / 0.6379 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00659/0.8592, allocations: 1.469 MB / 0.6393 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/0.8724, allocations: 2.537 MB / 0.6418 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01401/0.8864, allocations: 5.012 MB / 0.6467 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02191/0.9083, allocations: 5.94 MB / 0.6525 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04217/0.9505, allocations: 21.13 MB / 0.6731 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.9505, allocations: 4 kB / 0.6731 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.005e-06/0.9505, allocations: 4 kB / 0.6731 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009382/0.9514, allocations: 0 / 0.6731 GB, free: 0.5156 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2689 * Number of variables: 2689 Notification: Performance of Generate backend data structure: time 0.05493/1.006, allocations: 11.2 MB / 0.6841 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 9.244e-05/1.006, allocations: 12.03 kB / 0.6841 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01514/1.022, allocations: 1.958 MB / 0.686 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02533/1.047, allocations: 7.848 MB / 0.6936 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/1.048, allocations: 0.6019 MB / 0.6942 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005511/1.053, allocations: 0.8004 MB / 0.695 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06657/1.12, allocations: 20.35 MB / 0.7149 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007447/1.121, allocations: 75.47 kB / 0.715 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004414/1.125, allocations: 351.9 kB / 0.7153 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005733/1.131, allocations: 2.419 MB / 0.7177 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7463/1.877, allocations: 16.67 MB / 0.7339 GB, free: 154.2 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/1.981, allocations: 75.79 MB / 0.808 GB, free: 84.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/2.001, allocations: 7.348 MB / 0.8151 GB, free: 76.88 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/2.006, allocations: 4.624 MB / 0.8196 GB, free: 72.25 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009241/2.007, allocations: 1.05 MB / 0.8207 GB, free: 71.05 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01821/2.025, allocations: 6.441 MB / 0.827 GB, free: 64.62 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.272e-06/2.025, allocations: 7.875 kB / 0.827 GB, free: 64.61 MB / 0.5607 GB Notification: Performance of matching and sorting (n=327): time 0.231/2.256, allocations: 66.32 MB / 0.8917 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00022/2.256, allocations: 218.4 kB / 0.8919 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01577/2.272, allocations: 6.234 MB / 0.898 GB, free: 8.805 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001365/2.274, allocations: 92.38 kB / 0.8981 GB, free: 8.711 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.007659/2.281, allocations: 5.37 MB / 0.9034 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002971/2.284, allocations: 1.253 MB / 0.9046 GB, free: 2.371 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003963/2.288, allocations: 1.765 MB / 0.9063 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001468/2.288, allocations: 305.1 kB / 0.9066 GB, free: 300 kB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008739/2.297, allocations: 4.953 MB / 0.9114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01528/2.312, allocations: 9.18 MB / 0.9204 GB, free: 172 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02369/2.336, allocations: 14.94 MB / 0.935 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002218/2.336, allocations: 43.94 kB / 0.935 GB, free: 15.11 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1061) (initialization): time 0.04721/2.383, allocations: 17.5 MB / 0.9521 GB, free: 13.57 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003867/2.384, allocations: 94.64 kB / 0.9522 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005639/2.384, allocations: 148 kB / 0.9524 GB, free: 13.32 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01486/2.399, allocations: 4.023 MB / 0.9563 GB, free: 9.297 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009656/2.409, allocations: 1.981 MB / 0.9582 GB, free: 7.312 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4625/2.871, allocations: 24.5 MB / 0.9821 GB, free: 207.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008019/2.879, allocations: 0.528 MB / 0.9827 GB, free: 207.5 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001688/2.881, allocations: 464.2 kB / 0.9831 GB, free: 207.4 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0147/2.896, allocations: 8.788 MB / 0.9917 GB, free: 203.3 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008663/2.904, allocations: 9.168 MB / 1.001 GB, free: 195.6 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01688/2.921, allocations: 14.92 MB / 1.015 GB, free: 184.9 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003266/2.922, allocations: 43.5 kB / 1.015 GB, free: 184.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1061) (initialization_lambda0): time 0.03388/2.956, allocations: 17.48 MB / 1.032 GB, free: 174.5 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/2.956, allocations: 99.11 kB / 1.032 GB, free: 174.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/2.956, allocations: 155 kB / 1.033 GB, free: 174.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/2.966, allocations: 4.016 MB / 1.036 GB, free: 170.5 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006966/2.973, allocations: 1.897 MB / 1.038 GB, free: 168.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0263/2.999, allocations: 22.93 MB / 1.061 GB, free: 145.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007848/3.007, allocations: 0.5273 MB / 1.061 GB, free: 145.2 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/3.009, allocations: 460 kB / 1.062 GB, free: 144.7 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 112 ($PRE.noise.discretePart.ticks,$PRE.noise1.discretePart.ticks,noise1.discretePart.sampleTrigger,$whenCondition1,noise.discretePart.sampleTrigger,$whenCondition2,noise1.discretePart.y_sampled,noise1.discretePart.noise,noise1.discretePart.seedState[3],$PRE.noise1.discretePart.seedState[3],noise1.discretePart.seedState[2],$PRE.noise1.discretePart.seedState[2],noise1.discretePart.seedState[1],$PRE.noise1.discretePart.seedState[1],noise.discretePart.y_sampled,noise.discretePart.noise,noise.discretePart.seedState[3],$PRE.noise.discretePart.seedState[3],noise.discretePart.seedState[2],$PRE.noise.discretePart.seedState[2],noise.discretePart.seedState[1],$PRE.noise.discretePart.seedState[1],pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition3,noise1.discretePart.cont,noise1.cont,noise.discretePart.cont,noise.cont,accelerationLimiter.integrator2.cont,accelerationLimiter.integrator1.cont,accelerationLimiter.cont,samplerOut[6].cont,samplerOut[5].cont,samplerOut[4].cont,samplerOut[3].cont,samplerOut[2].cont,samplerOut[1].cont,samplerFeedback[1].cont,samplerPreFilter[1].cont,plant.inverseDoublePendulum.torque.torqueArrow.arrowLine.twoHeadedArrow,plant.inverseDoublePendulum.torque.torqueArrow.headAtOrigin,preFilter.cont,feedbackMatrix.cont,noise1.discretePart.ticks,noise.discretePart.ticks,sampleClock.sampleTrigger,plant.inverseDoublePendulum.fixedShape2.color[3],plant.inverseDoublePendulum.fixedShape2.color[2],plant.inverseDoublePendulum.fixedShape2.color[1],plant.inverseDoublePendulum.bodyCylinder1.color[3],plant.inverseDoublePendulum.bodyCylinder1.color[2],plant.inverseDoublePendulum.bodyCylinder1.color[1],plant.inverseDoublePendulum.bodyCylinder.color[3],plant.inverseDoublePendulum.bodyCylinder.color[2],plant.inverseDoublePendulum.bodyCylinder.color[1],plant.inverseDoublePendulum.torque.connectionLineColor[3],plant.inverseDoublePendulum.torque.connectionLineColor[2],plant.inverseDoublePendulum.torque.connectionLineColor[1],plant.inverseDoublePendulum.torque.torqueColor[3],plant.inverseDoublePendulum.torque.torqueColor[2],plant.inverseDoublePendulum.torque.torqueColor[1],plant.inverseDoublePendulum.bodyCylinder1.body.sphereColor[3],plant.inverseDoublePendulum.bodyCylinder1.body.sphereColor[2],plant.inverseDoublePendulum.bodyCylinder1.body.sphereColor[1],plant.inverseDoublePendulum.bodyCylinder.body.sphereColor[3],plant.inverseDoublePendulum.bodyCylinder.body.sphereColor[2],plant.inverseDoublePendulum.bodyCylinder.body.sphereColor[1],plant.inverseDoublePendulum.body.sphereColor[3],plant.inverseDoublePendulum.body.sphereColor[2],plant.inverseDoublePendulum.body.sphereColor[1],plant.inverseDoublePendulum.bodyShape.color[3],plant.inverseDoublePendulum.bodyShape.color[2],plant.inverseDoublePendulum.bodyShape.color[1],plant.inverseDoublePendulum.bodyShape.body.sphereColor[3],plant.inverseDoublePendulum.bodyShape.body.sphereColor[2],plant.inverseDoublePendulum.bodyShape.body.sphereColor[1],plant.inverseDoublePendulum.bodyShape.frameTranslation.color[3],plant.inverseDoublePendulum.bodyShape.frameTranslation.color[2],plant.inverseDoublePendulum.bodyShape.frameTranslation.color[1],plant.inverseDoublePendulum.revolute2.cylinderColor[3],plant.inverseDoublePendulum.revolute2.cylinderColor[2],plant.inverseDoublePendulum.revolute2.cylinderColor[1],plant.inverseDoublePendulum.revolute1.cylinderColor[3],plant.inverseDoublePendulum.revolute1.cylinderColor[2],plant.inverseDoublePendulum.revolute1.cylinderColor[1],plant.inverseDoublePendulum.prismatic.boxColor[3],plant.inverseDoublePendulum.prismatic.boxColor[2],plant.inverseDoublePendulum.prismatic.boxColor[1],plant.inverseDoublePendulum.world.groundColor[3],plant.inverseDoublePendulum.world.groundColor[2],plant.inverseDoublePendulum.world.groundColor[1],plant.inverseDoublePendulum.world.gravitySphereColor[3],plant.inverseDoublePendulum.world.gravitySphereColor[2],plant.inverseDoublePendulum.world.gravitySphereColor[1],plant.inverseDoublePendulum.world.gravityArrowColor[3],plant.inverseDoublePendulum.world.gravityArrowColor[2],plant.inverseDoublePendulum.world.gravityArrowColor[1],plant.inverseDoublePendulum.world.axisColor_x[3],plant.inverseDoublePendulum.world.axisColor_x[2],plant.inverseDoublePendulum.world.axisColor_x[1],plant.inverseDoublePendulum.relativeSensorAng2.arrowColor[3],plant.inverseDoublePendulum.relativeSensorAng2.arrowColor[2],plant.inverseDoublePendulum.relativeSensorAng2.arrowColor[1],plant.inverseDoublePendulum.relativeSensorAng1.arrowColor[3],plant.inverseDoublePendulum.relativeSensorAng1.arrowColor[2],plant.inverseDoublePendulum.relativeSensorAng1.arrowColor[1],plant.inverseDoublePendulum.relativeSensorPrismatic.arrowColor[3],plant.inverseDoublePendulum.relativeSensorPrismatic.arrowColor[2],plant.inverseDoublePendulum.relativeSensorPrismatic.arrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (981): * Single equations (assignments): 974 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,66,93.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002196/3.011, allocations: 0.8789 MB / 1.063 GB, free: 143.9 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/3.013, allocations: 0.5779 MB / 1.063 GB, free: 143.7 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02875/3.041, allocations: 11.87 MB / 1.075 GB, free: 131.8 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001158/3.041, allocations: 47.98 kB / 1.075 GB, free: 131.7 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/3.041, allocations: 12 kB / 1.075 GB, free: 131.7 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.338e-05/3.042, allocations: 15.94 kB / 1.075 GB, free: 131.7 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06208/3.104, allocations: 26.71 MB / 1.101 GB, free: 105 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-05/3.104, allocations: 12 kB / 1.101 GB, free: 105 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/3.107, allocations: 0.5875 MB / 1.101 GB, free: 104.4 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009843/3.117, allocations: 3.744 MB / 1.105 GB, free: 100.7 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008283/3.118, allocations: 75.98 kB / 1.105 GB, free: 100.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/3.142, allocations: 22.22 MB / 1.127 GB, free: 78.38 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/3.142, allocations: 17.78 kB / 1.127 GB, free: 78.36 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02562/3.167, allocations: 17.48 MB / 1.144 GB, free: 60.82 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004551/3.172, allocations: 1.477 MB / 1.145 GB, free: 59.32 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/3.173, allocations: 75.92 kB / 1.145 GB, free: 59.25 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/3.177, allocations: 285.6 kB / 1.146 GB, free: 58.97 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007758/3.177, allocations: 241 kB / 1.146 GB, free: 58.73 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002785/3.178, allocations: 106.1 kB / 1.146 GB, free: 58.64 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.00646/3.184, allocations: 4.051 MB / 1.15 GB, free: 54.59 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8.1e-08/3.184, allocations: 0 / 1.15 GB, free: 54.59 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01573/3.2, allocations: 3.443 MB / 1.153 GB, free: 51.15 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 8 (plant.inverseDoublePendulum.prismatic.s,plant.inverseDoublePendulum.prismatic.v,plant.inverseDoublePendulum.revolute1.phi,plant.inverseDoublePendulum.revolute1.w,plant.inverseDoublePendulum.revolute2.phi,plant.inverseDoublePendulum.revolute2.w,accelerationLimiter.integrator1.y,accelerationLimiter.integrator2.y) * Number of discrete variables: 17 (noise.discretePart.sampleTrigger,noise1.discretePart.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,noise.discretePart.seedState[1],noise.discretePart.seedState[2],noise.discretePart.seedState[3],noise.discretePart.noise,noise.discretePart.y_sampled,noise1.discretePart.seedState[1],noise1.discretePart.seedState[2],noise1.discretePart.seedState[3],noise1.discretePart.noise,noise1.discretePart.y_sampled) * Number of discrete states: 7 (pulse.count,noise1.discretePart.seedState[1],noise1.discretePart.seedState[2],noise1.discretePart.seedState[3],noise.discretePart.seedState[1],noise.discretePart.seedState[2],noise.discretePart.seedState[3]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 248 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,63,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/3.201, allocations: 354 kB / 1.154 GB, free: 50.85 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02504/3.226, allocations: 18.54 MB / 1.172 GB, free: 32.32 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/3.226, allocations: 4.25 kB / 1.172 GB, free: 32.31 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.005538/3.231, allocations: 4.422 MB / 1.176 GB, free: 27.88 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/3.237, allocations: 1.278 MB / 1.177 GB, free: 26.75 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/3.267, allocations: 20.92 MB / 1.198 GB, free: 5.703 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3313/3.598, allocations: 6.346 MB / 1.204 GB, free: 199.1 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.01282/3.611, allocations: 3.817 MB / 1.208 GB, free: 199.1 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002189/3.613, allocations: 372 kB / 1.208 GB, free: 199.1 MB / 0.6388 GB Notification: Performance of SimCode: time 2.023e-06/3.613, allocations: 0 / 1.208 GB, free: 199.1 MB / 0.6388 GB Notification: Performance of Templates: time 0.1908/3.804, allocations: 113.4 MB / 1.319 GB, free: 113.2 MB / 0.6388 GB make -j1 -f Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.makefile (rm -f Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.pipe ; mkfifo Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.pipe ; head -c 1048576 < Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.pipe >> ../files/Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.sim & ./Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_LinearSystems2_dev_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum.pipe 2>&1)