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.1_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 171.1 MB / 186.3 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.939e-05, allocations: 4 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08051, allocations: 38.78 MB / 266.9 MB, free: 1.125 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001491/0.08206, allocations: 0.9022 MB / 267.8 MB, free: 212 kB / 218.7 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.0856, allocations: 1.652 MB / 269.4 MB, free: 14.55 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.08568, allocations: 0 / 269.4 MB, free: 14.55 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.08572, allocations: 4 kB / 269.4 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.08686, allocations: 235.2 kB / 269.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.08688, allocations: 0 / 269.7 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 3.691e-05/0.08692, allocations: 8 kB / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.08697, allocations: 0 / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.087, allocations: 7.922 kB / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.08712, allocations: 4 kB / 269.7 MB, free: 14.29 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008973/0.08803, allocations: 327.7 kB / 270 MB, free: 13.97 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.08816, allocations: 28 kB / 270 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.08818, allocations: 11.92 kB / 270.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-06/0.0882, allocations: 0 / 270.1 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005435/0.08876, allocations: 215.6 kB / 270.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.08878, allocations: 0 / 270.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.08879, allocations: 0 / 270.3 MB, free: 13.72 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.08881, allocations: 0 / 270.3 MB, free: 13.72 MB / 234.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.0004523/0.08927, allocations: 395.3 kB / 270.6 MB, free: 13.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.08932, allocations: 8.031 kB / 270.7 MB, free: 13.28 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.0894, allocations: 79.19 kB / 270.7 MB, free: 13.2 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.08962, allocations: 254.6 kB / 271 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.08969, allocations: 154.5 kB / 271.1 MB, free: 12.76 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.08976, allocations: 150.6 kB / 271.3 MB, free: 12.61 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.552e-05/0.08983, allocations: 104.9 kB / 271.4 MB, free: 12.5 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.08987, allocations: 75.28 kB / 271.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.08995, allocations: 162.5 kB / 271.6 MB, free: 12.27 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.09001, allocations: 150.6 kB / 271.8 MB, free: 12.12 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.09008, allocations: 154.5 kB / 271.9 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.09042, allocations: 449.9 kB / 272.4 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.09052, allocations: 169.1 kB / 272.5 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.09056, allocations: 83.23 kB / 272.6 MB, free: 11.22 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.09062, allocations: 113.8 kB / 272.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 2.205e-06/0.09064, allocations: 0 / 272.7 MB, free: 11.1 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 8.687e-05/0.09073, allocations: 25.7 kB / 272.7 MB, free: 11.07 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.09081, allocations: 126.7 kB / 272.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.09093, allocations: 96.98 kB / 273 MB, free: 10.83 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.09096, allocations: 29.7 kB / 273 MB, free: 10.8 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.09104, allocations: 154.6 kB / 273.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.09105, allocations: 0 / 273.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.09106, allocations: 0 / 273.1 MB, free: 10.64 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.09121, allocations: 310.8 kB / 273.4 MB, free: 10.33 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-06/0.09123, allocations: 0 / 273.4 MB, free: 10.33 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.09124, allocations: 4 kB / 273.4 MB, free: 10.33 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.09129, allocations: 79.22 kB / 273.5 MB, free: 10.25 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.128e-05/0.09133, allocations: 79.28 kB / 273.6 MB, free: 10.17 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.397e-05/0.0914, allocations: 29.75 kB / 273.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.09148, allocations: 89.11 kB / 273.7 MB, free: 10.05 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/0.09153, allocations: 79.28 kB / 273.8 MB, free: 9.973 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/0.09162, allocations: 154.5 kB / 273.9 MB, free: 9.82 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.951e-05/0.09167, allocations: 79.27 kB / 274 MB, free: 9.742 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-05/0.09175, allocations: 162.6 kB / 274.2 MB, free: 9.582 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.09186, allocations: 83.3 kB / 274.3 MB, free: 9.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.0919, allocations: 75.28 kB / 274.3 MB, free: 9.426 MB / 234.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001498/0.09206, allocations: 260.3 kB / 274.6 MB, free: 9.16 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.09215, allocations: 108.9 kB / 274.7 MB, free: 9.047 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.09222, allocations: 116 kB / 274.8 MB, free: 8.926 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-05/0.09231, allocations: 184.2 kB / 275 MB, free: 8.738 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/0.0924, allocations: 180.3 kB / 275.2 MB, free: 8.555 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/0.09248, allocations: 176.3 kB / 275.3 MB, free: 8.375 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.09278, allocations: 409.1 kB / 275.7 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.09284, allocations: 105 kB / 275.8 MB, free: 7.809 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.09289, allocations: 104.9 kB / 275.9 MB, free: 7.699 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-05/0.09297, allocations: 180.3 kB / 276.1 MB, free: 7.516 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.641e-05/0.09305, allocations: 180.2 kB / 276.3 MB, free: 7.332 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-05/0.09313, allocations: 192.2 kB / 276.5 MB, free: 7.137 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-05/0.09321, allocations: 176.3 kB / 276.6 MB, free: 6.957 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.09337, allocations: 307.8 kB / 276.9 MB, free: 6.633 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.09348, allocations: 186 kB / 277.1 MB, free: 6.426 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.09357, allocations: 184.3 kB / 277.3 MB, free: 6.238 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.09368, allocations: 104.9 kB / 277.4 MB, free: 6.129 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.09379, allocations: 188.1 kB / 277.6 MB, free: 5.938 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.09384, allocations: 101 kB / 277.7 MB, free: 5.832 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.09393, allocations: 91.45 kB / 277.8 MB, free: 5.742 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.09394, allocations: 0 / 277.8 MB, free: 5.742 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006899/0.09464, allocations: 120 kB / 277.9 MB, free: 5.625 MB / 234.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001303/0.09596, allocations: 0.5004 MB / 278.4 MB, free: 5.152 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.866e-05/0.09603, allocations: 3.938 kB / 278.4 MB, free: 5.148 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.09604, allocations: 0 / 278.4 MB, free: 5.148 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.09605, allocations: 0 / 278.4 MB, free: 5.148 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.09639, allocations: 0.5301 MB / 278.9 MB, free: 4.613 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.09672, allocations: 209.6 kB / 279.1 MB, free: 4.375 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.09699, allocations: 0.6731 MB / 279.8 MB, free: 3.676 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.09704, allocations: 15.42 kB / 279.8 MB, free: 3.66 MB / 234.7 MB Notification: Performance of SimCode: time 8.71e-07/0.09705, allocations: 4 kB / 279.8 MB, free: 3.656 MB / 234.7 MB Notification: Performance of Templates: time 0.008295/0.1054, allocations: 3.066 MB / 282.9 MB, free: 0.5859 MB / 234.7 MB