Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 194.9 MB / 211.2 MB, free: 7.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.614e-05, allocations: 0 / 258.8 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4533, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001564/0.4549, allocations: 0.9049 MB / 304.2 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.4587, allocations: 1.681 MB / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.4588, allocations: 0 / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.4588, allocations: 0 / 305.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.46, allocations: 241.4 kB / 306.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.257e-05/0.46, allocations: 8.984 kB / 306.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.296e-05/0.4601, allocations: 10.8 kB / 306.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.4601, allocations: 0 / 306.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.025e-05/0.4601, allocations: 3.312 kB / 306.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.4603, allocations: 7.688 kB / 306.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009088/0.4612, allocations: 335.1 kB / 306.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.4613, allocations: 27.19 kB / 306.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.4613, allocations: 7.875 kB / 306.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.4614, allocations: 1 kB / 306.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.4619, allocations: 218.4 kB / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4619, allocations: 4 kB / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4619, allocations: 0 / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.462, allocations: 0 / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004887/0.4624, allocations: 399.3 kB / 307.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4625, allocations: 11.97 kB / 307.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.4626, allocations: 75.28 kB / 307.2 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4628, allocations: 248.1 kB / 307.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.4628, allocations: 150.6 kB / 307.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.4629, allocations: 158.5 kB / 307.7 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.366e-05/0.463, allocations: 101 kB / 307.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.463, allocations: 79.28 kB / 307.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.4631, allocations: 150.6 kB / 308.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/0.4632, allocations: 154.6 kB / 308.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.4632, allocations: 158.5 kB / 308.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.4635, allocations: 445.9 kB / 308.8 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.896e-05/0.4636, allocations: 173.1 kB / 309 MB, free: 7.785 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4637, allocations: 75.28 kB / 309 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.4638, allocations: 55.34 kB / 309.1 MB, free: 7.645 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 3.326e-06/0.4638, allocations: 0 / 309.1 MB, free: 7.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.464, allocations: 33.7 kB / 309.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.464, allocations: 51.41 kB / 309.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.4641, allocations: 96.98 kB / 309.3 MB, free: 7.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4642, allocations: 25.7 kB / 309.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4642, allocations: 150.6 kB / 309.4 MB, free: 7.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.4643, allocations: 12.03 kB / 309.5 MB, free: 7.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.4643, allocations: 0 / 309.5 MB, free: 7.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.4644, allocations: 310.8 kB / 309.8 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.4644, allocations: 4 kB / 309.8 MB, free: 6.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.4644, allocations: 3.938 kB / 309.8 MB, free: 6.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.772e-05/0.4644, allocations: 3.953 kB / 309.8 MB, free: 6.926 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4645, allocations: 0 / 309.8 MB, free: 6.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.331e-05/0.4645, allocations: 33.69 kB / 309.8 MB, free: 6.887 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4646, allocations: 12.09 kB / 309.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.4646, allocations: 0 / 309.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4646, allocations: 0 / 309.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/0.4646, allocations: 0 / 309.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4646, allocations: 0 / 309.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.4647, allocations: 3.938 kB / 309.8 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4647, allocations: 0 / 309.8 MB, free: 6.871 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.4648, allocations: 124.3 kB / 309.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.4648, allocations: 0 / 309.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.4649, allocations: 7.109 kB / 309.9 MB, free: 6.734 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4649, allocations: 8 kB / 310 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4649, allocations: 0 / 310 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4649, allocations: 0 / 310 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.465, allocations: 145.7 kB / 310.1 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.465, allocations: 7.953 kB / 310.1 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-06/0.4651, allocations: 3.938 kB / 310.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4651, allocations: 0 / 310.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.4651, allocations: 0 / 310.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4651, allocations: 0 / 310.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4651, allocations: 0 / 310.1 MB, free: 6.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.582e-05/0.4652, allocations: 61.14 kB / 310.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.4653, allocations: 85.05 kB / 310.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4653, allocations: 0 / 310.2 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.4653, allocations: 4 kB / 310.3 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.4653, allocations: 0 / 310.3 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.4653, allocations: 4 kB / 310.3 MB, free: 6.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5e-05/0.4654, allocations: 83.45 kB / 310.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4654, allocations: 0 / 310.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.466, allocations: 128 kB / 310.5 MB, free: 6.129 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.4673, allocations: 480.8 kB / 310.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.4675, allocations: 11.88 kB / 310.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4675, allocations: 0 / 310.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.4675, allocations: 4 kB / 310.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.4676, allocations: 4.125 kB / 311 MB, free: 5.668 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.4679, allocations: 134.3 kB / 311.1 MB, free: 5.504 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.4682, allocations: 0.677 MB / 311.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.4682, allocations: 11.44 kB / 311.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4682, allocations: 0 / 311.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of Templates: time 0.008373/0.4766, allocations: 3.156 MB / 314.9 MB, free: 1.629 MB / 250.7 MB