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.804/1.804, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.722e-05/2.737e-05, allocations: 2.25 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0768/0.07684, allocations: 44.51 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4092, allocations: 73.2 MB / 373 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4095, allocations: 66.8 kB / 373.1 MB, free: 22.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.4324, allocations: 5.945 MB / 379 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4324, allocations: 0 / 379 MB, free: 21.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.429e-06/0.4324, allocations: 0 / 379 MB, free: 21.86 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.0004917/0.4329, allocations: 421.2 kB / 379.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.433, allocations: 9.719 kB / 379.5 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.4331, allocations: 80.47 kB / 379.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4332, allocations: 246.2 kB / 379.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.4332, allocations: 151.9 kB / 379.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.4332, allocations: 150.6 kB / 380.1 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.202e-05/0.4333, allocations: 109.2 kB / 380.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4333, allocations: 75.28 kB / 380.3 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.4334, allocations: 158 kB / 380.4 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.4334, allocations: 150.6 kB / 380.6 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.4334, allocations: 151.8 kB / 380.7 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.4336, allocations: 450 kB / 381.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.4337, allocations: 173.1 kB / 381.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.4337, allocations: 81.33 kB / 381.4 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.4338, allocations: 75.28 kB / 381.5 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.7e-05/0.4339, allocations: 52.8 kB / 381.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.772e-06/0.4339, allocations: 3.938 kB / 381.5 MB, free: 19.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001012/0.434, allocations: 37.39 kB / 381.6 MB, free: 19.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.434, allocations: 56.34 kB / 381.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.4341, allocations: 96.3 kB / 381.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.805e-06/0.4341, allocations: 25.7 kB / 381.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.4342, allocations: 151.8 kB / 381.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.4342, allocations: 0 / 381.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-06/0.4342, allocations: 1.062 kB / 381.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.4342, allocations: 310.8 kB / 382.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-06/0.4343, allocations: 1.344 kB / 382.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-06/0.4343, allocations: 9.375 kB / 382.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.576e-05/0.4343, allocations: 6.922 kB / 382.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-06/0.4343, allocations: 0 / 382.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.163e-05/0.4344, allocations: 34.19 kB / 382.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4344, allocations: 5.312 kB / 382.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-06/0.4344, allocations: 2.062 kB / 382.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4345, allocations: 1.031 kB / 382.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.67e-05/0.4345, allocations: 3.938 kB / 382.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.283e-06/0.4345, allocations: 1.25 kB / 382.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.4345, allocations: 4 kB / 382.3 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-06/0.4345, allocations: 0 / 382.3 MB, free: 18.57 MB / 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 4.618e-05/0.4346, allocations: 103 kB / 382.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.4346, allocations: 7.016 kB / 382.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.4347, allocations: 4.344 kB / 382.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-06/0.4347, allocations: 1.031 kB / 382.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-06/0.4347, allocations: 0 / 382.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-06/0.4347, allocations: 0 / 382.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.742e-05/0.4348, allocations: 152.6 kB / 382.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-06/0.4348, allocations: 8 kB / 382.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-06/0.4348, allocations: 0.9688 kB / 382.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.004e-06/0.4348, allocations: 7.938 kB / 382.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-06/0.4349, allocations: 1 kB / 382.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.603e-06/0.4349, allocations: 2.062 kB / 382.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-06/0.4349, allocations: 0 / 382.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.53e-05/0.435, allocations: 61.05 kB / 382.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.435, allocations: 84.14 kB / 382.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.435, allocations: 8.891 kB / 382.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.435, allocations: 1.031 kB / 382.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-06/0.4351, allocations: 0 / 382.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-06/0.4351, allocations: 1.125 kB / 382.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.177e-05/0.4351, allocations: 84.8 kB / 382.8 MB, free: 18.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.58e-07/0.4351, allocations: 0 / 382.8 MB, free: 18.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006376/0.4358, allocations: 149.2 kB / 382.9 MB, free: 17.98 MB / 314.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.00118/0.437, allocations: 0.4895 MB / 383.4 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.886e-05/0.4371, allocations: 9.891 kB / 383.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.793e-06/0.4371, allocations: 0 / 383.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.4371, allocations: 2.625 kB / 383.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001117/0.4372, allocations: 5.219 kB / 383.4 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.4374, allocations: 84.48 kB / 383.5 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.4375, allocations: 0.678 MB / 384.2 MB, free: 16.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.4375, allocations: 12.91 kB / 384.2 MB, free: 16.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.4375, allocations: 0 / 384.2 MB, free: 16.95 MB / 314.7 MB Notification: Performance of Templates: time 0.006527/0.4441, allocations: 3.147 MB / 387.3 MB, free: 16.55 MB / 314.7 MB