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 1.999/1.999, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.037e-05, allocations: 3.938 kB / 249.6 MB, free: 15.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2504, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.3676, allocations: 72.55 MB / 366.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3679, allocations: 67.97 kB / 366.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02344/0.3913, allocations: 5.78 MB / 372.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.3914, allocations: 0 / 372.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.247e-06/0.3914, allocations: 4 kB / 372.5 MB, free: 3.594 MB / 314.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.000569/0.392, allocations: 426.3 kB / 372.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.392, allocations: 8.031 kB / 372.9 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.3921, allocations: 83.16 kB / 373 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.3923, allocations: 250.3 kB / 373.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-05/0.3924, allocations: 150.6 kB / 373.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.3925, allocations: 150.6 kB / 373.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.093e-05/0.3926, allocations: 154.6 kB / 373.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.228e-05/0.3927, allocations: 105 kB / 373.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.3927, allocations: 79.28 kB / 373.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.3928, allocations: 150.6 kB / 374 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.483e-05/0.3929, allocations: 154.5 kB / 374.2 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3933, allocations: 426.5 kB / 374.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3934, allocations: 177.1 kB / 374.8 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.392e-05/0.3934, allocations: 80.14 kB / 374.8 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.3935, allocations: 75.28 kB / 374.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.3936, allocations: 47.41 kB / 374.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.903e-06/0.3936, allocations: 0 / 374.9 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.3938, allocations: 37.55 kB / 375 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3938, allocations: 51.41 kB / 375 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.3939, allocations: 93 kB / 375.1 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.394, allocations: 29.7 kB / 375.2 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.394, allocations: 150.6 kB / 375.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.3941, allocations: 4.031 kB / 375.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.3941, allocations: 0 / 375.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3942, allocations: 318.8 kB / 375.6 MB, free: 264 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.3943, allocations: 3.984 kB / 375.6 MB, free: 260 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-06/0.3943, allocations: 0 / 375.6 MB, free: 260 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.405e-05/0.3943, allocations: 4 kB / 375.6 MB, free: 256 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.04e-06/0.3943, allocations: 0 / 375.6 MB, free: 256 kB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.686e-05/0.3944, allocations: 37.59 kB / 375.7 MB, free: 212 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3944, allocations: 4.094 kB / 375.7 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.812e-06/0.3945, allocations: 4 kB / 375.7 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3945, allocations: 3.938 kB / 375.7 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.3945, allocations: 4 kB / 375.7 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-06/0.3945, allocations: 0 / 375.7 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.3946, allocations: 0 / 375.7 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-06/0.3946, allocations: 3.984 kB / 375.7 MB, free: 192 kB / 314.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 9.036e-05/0.3947, allocations: 108.8 kB / 375.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.3947, allocations: 7.953 kB / 375.8 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.3948, allocations: 4.469 kB / 375.8 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-06/0.3948, allocations: 4 kB / 375.8 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-06/0.3948, allocations: 0 / 375.8 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-06/0.3948, allocations: 0 / 375.8 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.395, allocations: 138.2 kB / 375.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-06/0.395, allocations: 3.938 kB / 375.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-06/0.395, allocations: 0 / 375.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.764e-06/0.395, allocations: 0 / 375.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-06/0.395, allocations: 0 / 375.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.467e-06/0.395, allocations: 3.953 kB / 375.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.484e-06/0.395, allocations: 4 kB / 376 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.744e-05/0.3951, allocations: 61.06 kB / 376 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.3952, allocations: 77.11 kB / 376.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3952, allocations: 0 / 376.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3953, allocations: 8 kB / 376.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.3953, allocations: 3.953 kB / 376.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-06/0.3953, allocations: 192 / 376.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.3954, allocations: 87.25 kB / 376.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.3954, allocations: 4.031 kB / 376.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006534/0.3961, allocations: 147.9 kB / 376.3 MB, free: 15.46 MB / 330.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.001273/0.3973, allocations: 492.5 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.3974, allocations: 4 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.147e-06/0.3974, allocations: 0 / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.3975, allocations: 4 kB / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000114/0.3976, allocations: 0 / 376.8 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000201/0.3978, allocations: 81.77 kB / 376.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3982, allocations: 0.6806 MB / 377.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.3982, allocations: 15.44 kB / 377.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.541e-06/0.3982, allocations: 0 / 377.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of Templates: time 0.007322/0.4056, allocations: 3.222 MB / 380.8 MB, free: 10.94 MB / 330.7 MB