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.0005471/0.0005471, allocations: 47.25 kB / 15.17 MB, free: 0.7031 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.004241/0.004241, allocations: 100.3 kB / 15.96 MB, free: 6.758 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.001034/0.001034, allocations: 195.5 kB / 16.89 MB, free: 6.594 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-dev/package.mo): time 0.3367/0.3367, allocations: 41.69 MB / 332.4 MB, free: 11.18 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.88 kB / 402 MB, free: 6.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 57.42 MB / 459.4 MB, free: 29.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulum): time 0.09282/0.3412, allocations: 116.4 MB / 0.5623 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3425/0.6838, allocations: 56.89 MB / 0.6179 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01979/0.7036, allocations: 0.5406 MB / 0.6184 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01414/0.7177, allocations: 9.586 MB / 0.6278 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.7237, allocations: 2.783 MB / 0.6305 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00864/0.7323, allocations: 5.465 MB / 0.6358 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.7466, allocations: 13.84 MB / 0.6493 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.7622, allocations: 14.97 MB / 0.6639 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00475/0.767, allocations: 3.483 MB / 0.6673 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005515/0.7725, allocations: 5.247 MB / 0.6725 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.7739, allocations: 0.7695 MB / 0.6732 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.777, allocations: 1.903 MB / 0.6751 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003409/0.7804, allocations: 4.262 MB / 0.6792 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004664/0.7851, allocations: 5.173 MB / 0.6843 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.8011, allocations: 20.3 MB / 0.7041 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8011, allocations: 0 / 0.7041 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8011, allocations: 3.938 kB / 0.7041 GB, free: 6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003599/0.8015, allocations: 0 / 0.7041 GB, free: 6 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.02161/0.8231, allocations: 10.95 MB / 0.7148 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.8231, allocations: 12.03 kB / 0.7148 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008583/0.8317, allocations: 1.911 MB / 0.7167 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.8451, allocations: 7.686 MB / 0.7242 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.8455, allocations: 0.5973 MB / 0.7248 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002191/0.8477, allocations: 0.7986 MB / 0.7256 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/0.8823, allocations: 20.36 MB / 0.7454 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/0.8826, allocations: 71.33 kB / 0.7455 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.8839, allocations: 360.3 kB / 0.7458 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003224/0.8871, allocations: 2.418 MB / 0.7482 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03006/0.9172, allocations: 16.66 MB / 0.7645 GB, free: 7.512 MB / 0.5762 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.3901/1.307, allocations: 76.1 MB / 0.8388 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/1.325, allocations: 7.569 MB / 0.8462 GB, free: 216.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004412/1.33, allocations: 4.891 MB / 0.851 GB, free: 214 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/1.33, allocations: 1.052 MB / 0.852 GB, free: 213.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01547/1.346, allocations: 6.434 MB / 0.8583 GB, free: 211.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=257): time 4.058e-06/1.346, allocations: 0 / 0.8583 GB, free: 211.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=327): time 0.1497/1.496, allocations: 66.04 MB / 0.9228 GB, free: 159.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/1.496, allocations: 214.4 kB / 0.923 GB, free: 159 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005836/1.502, allocations: 6.24 MB / 0.9291 GB, free: 152.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003155/1.502, allocations: 85.7 kB / 0.9291 GB, free: 152.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002582/1.505, allocations: 5.193 MB / 0.9342 GB, free: 147.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007714/1.505, allocations: 1.202 MB / 0.9354 GB, free: 146.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/1.507, allocations: 1.748 MB / 0.9371 GB, free: 144.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 2.92e-05/1.507, allocations: 307.8 kB / 0.9374 GB, free: 144.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004792/1.512, allocations: 4.944 MB / 0.9422 GB, free: 139.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005976/1.518, allocations: 9.194 MB / 0.9512 GB, free: 128.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.53, allocations: 14.94 MB / 0.9658 GB, free: 111.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.045e-05/1.53, allocations: 44 kB / 0.9658 GB, free: 111.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1061) (initialization): time 0.02416/1.554, allocations: 17.52 MB / 0.9829 GB, free: 93.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/1.554, allocations: 97.45 kB / 0.983 GB, free: 93.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.13e-05/1.554, allocations: 148 kB / 0.9832 GB, free: 93.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008674/1.563, allocations: 4.027 MB / 0.9871 GB, free: 89.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0055/1.569, allocations: 1.981 MB / 0.989 GB, free: 87.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/1.591, allocations: 22.94 MB / 1.011 GB, free: 64.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/1.596, allocations: 0.5345 MB / 1.012 GB, free: 63.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007171/1.597, allocations: 463.3 kB / 1.012 GB, free: 63.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008961/1.606, allocations: 8.782 MB / 1.021 GB, free: 54.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00604/1.612, allocations: 9.179 MB / 1.03 GB, free: 43.15 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01192/1.624, allocations: 14.92 MB / 1.045 GB, free: 26.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.509e-05/1.624, allocations: 40 kB / 1.045 GB, free: 26.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1061) (initialization_lambda0): time 0.02345/1.647, allocations: 17.49 MB / 1.062 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.041e-05/1.648, allocations: 100 kB / 1.062 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.762e-05/1.648, allocations: 148 kB / 1.062 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008827/1.656, allocations: 4.023 MB / 1.066 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/1.662, allocations: 1.899 MB / 1.068 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2039/1.866, allocations: 21.48 MB / 1.089 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005645/1.872, allocations: 0.5258 MB / 1.089 GB, free: 222.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/1.872, allocations: 460.3 kB / 1.09 GB, free: 222.5 MB / 0.6075 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.001376/1.874, allocations: 0.8888 MB / 1.09 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/1.874, allocations: 0.5469 MB / 1.091 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/1.892, allocations: 11.91 MB / 1.103 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/1.892, allocations: 46.94 kB / 1.103 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.892, allocations: 16.5 kB / 1.103 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.892, allocations: 14.62 kB / 1.103 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03114/1.923, allocations: 26.86 MB / 1.129 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/1.923, allocations: 7.938 kB / 1.129 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.925, allocations: 0.5842 MB / 1.129 GB, free: 205.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008249/1.933, allocations: 3.744 MB / 1.133 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002587/1.934, allocations: 70.86 kB / 1.133 GB, free: 203.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/1.953, allocations: 20.77 MB / 1.153 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.953, allocations: 15.94 kB / 1.154 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/1.973, allocations: 17.49 MB / 1.171 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.975, allocations: 1.452 MB / 1.172 GB, free: 165.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000667/1.976, allocations: 78.72 kB / 1.172 GB, free: 165.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.978, allocations: 287.6 kB / 1.172 GB, free: 164.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/1.979, allocations: 245.8 kB / 1.173 GB, free: 164.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/1.979, allocations: 92 kB / 1.173 GB, free: 164.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004136/1.983, allocations: 4.067 MB / 1.177 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.983, allocations: 0 / 1.177 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009064/1.992, allocations: 3.449 MB / 1.18 GB, free: 157.1 MB / 0.6075 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.0007259/1.993, allocations: 329 kB / 1.18 GB, free: 156.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01903/2.012, allocations: 19.46 MB / 1.199 GB, free: 137.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/2.012, allocations: 7.094 kB / 1.199 GB, free: 137.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/2.017, allocations: 4.768 MB / 1.204 GB, free: 132.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/2.021, allocations: 1.187 MB / 1.205 GB, free: 131.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/2.043, allocations: 24.66 MB / 1.229 GB, free: 107.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005283/2.048, allocations: 6.35 MB / 1.235 GB, free: 100.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007743/2.056, allocations: 3.821 MB / 1.239 GB, free: 97.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/2.057, allocations: 367.4 kB / 1.24 GB, free: 96.8 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/2.057, allocations: 0 / 1.24 GB, free: 96.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.2891/2.346, allocations: 112.2 MB / 1.349 GB, free: 209.7 MB / 0.6075 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)