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.639/1.639, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.106e-05, allocations: 8 kB / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2109, allocations: 38.76 MB / 263.7 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3238, allocations: 67.5 MB / 331.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.3242, allocations: 63.97 kB / 331.3 MB, free: 6.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04069/0.3649, allocations: 7.002 MB / 338.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.365, allocations: 0 / 338.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.904e-06/0.365, allocations: 0 / 338.3 MB, free: 15.19 MB / 298.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.0008833/0.3659, allocations: 418.2 kB / 338.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.366, allocations: 12.03 kB / 338.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.3661, allocations: 75.28 kB / 338.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3664, allocations: 242.3 kB / 339 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3666, allocations: 154.6 kB / 339.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3667, allocations: 150.6 kB / 339.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3669, allocations: 116.9 kB / 339.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.3669, allocations: 75.28 kB / 339.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3671, allocations: 154.6 kB / 339.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.3672, allocations: 154.6 kB / 339.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3673, allocations: 150.6 kB / 340 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.368, allocations: 453.9 kB / 340.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3682, allocations: 165.1 kB / 340.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.3683, allocations: 88.19 kB / 340.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.3683, allocations: 79.22 kB / 340.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.511e-05/0.3685, allocations: 109.8 kB / 340.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 3.179e-06/0.3685, allocations: 0 / 340.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001275/0.3686, allocations: 33.64 kB / 340.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3687, allocations: 126.7 kB / 341 MB, free: 12.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3689, allocations: 97 kB / 341.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.369, allocations: 29.7 kB / 341.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3691, allocations: 150.6 kB / 341.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-06/0.3691, allocations: 0 / 341.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-06/0.3691, allocations: 0 / 341.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3693, allocations: 310.8 kB / 341.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-06/0.3694, allocations: 0 / 341.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.692e-06/0.3694, allocations: 0 / 341.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.3694, allocations: 83.22 kB / 341.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.697e-05/0.3695, allocations: 83.28 kB / 341.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001325/0.3697, allocations: 29.69 kB / 341.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.3698, allocations: 79.28 kB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.914e-05/0.3698, allocations: 79.28 kB / 341.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.37, allocations: 154.5 kB / 342.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.37, allocations: 79.23 kB / 342.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-05/0.3702, allocations: 154.5 kB / 342.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3704, allocations: 83.22 kB / 342.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.3704, allocations: 79.28 kB / 342.5 MB, free: 10.8 MB / 298.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.0001897/0.3706, allocations: 251.5 kB / 342.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3708, allocations: 105 kB / 342.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.3709, allocations: 116 kB / 342.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/0.3711, allocations: 180.3 kB / 343.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001262/0.3712, allocations: 180.2 kB / 343.3 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/0.3713, allocations: 180.2 kB / 343.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.3718, allocations: 401.2 kB / 343.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-05/0.3719, allocations: 110.2 kB / 343.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.372, allocations: 108.9 kB / 344.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.3722, allocations: 184.3 kB / 344.2 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.3723, allocations: 176.3 kB / 344.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000115/0.3724, allocations: 180.2 kB / 344.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001285/0.3726, allocations: 176.3 kB / 344.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3729, allocations: 315.7 kB / 345.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.3731, allocations: 182 kB / 345.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.3733, allocations: 184.7 kB / 345.4 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3735, allocations: 108.9 kB / 345.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3736, allocations: 176.3 kB / 345.7 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.3737, allocations: 101 kB / 345.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.3738, allocations: 95.45 kB / 345.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.029e-06/0.3738, allocations: 0 / 345.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001258/0.3751, allocations: 147.8 kB / 346 MB, free: 7 MB / 298.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.00196/0.3771, allocations: 0.5595 MB / 346.6 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.331e-05/0.3772, allocations: 4 kB / 346.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.053e-06/0.3772, allocations: 0 / 346.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.524e-06/0.3772, allocations: 0 / 346.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.3778, allocations: 0.5263 MB / 347.1 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.3781, allocations: 149.9 kB / 347.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3785, allocations: 0.6809 MB / 348 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.3786, allocations: 7.438 kB / 348 MB, free: 5.043 MB / 298.7 MB Notification: Performance of SimCode: time 1.847e-06/0.3786, allocations: 0 / 348 MB, free: 5.043 MB / 298.7 MB Notification: Performance of Templates: time 0.00833/0.3869, allocations: 3.065 MB / 351 MB, free: 1.973 MB / 298.7 MB