Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.926e-05, allocations: 4 kB / 292.1 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.41 MB / 342.5 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.4716, allocations: 79.27 MB / 421.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4718, allocations: 73.28 kB / 421.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02533/0.4972, allocations: 6.352 MB / 428.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4972, allocations: 0 / 428.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4972, allocations: 4 kB / 428.2 MB, free: 9.758 MB / 346.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.0005846/0.4978, allocations: 428.4 kB / 428.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4979, allocations: 8.031 kB / 428.7 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.498, allocations: 79.23 kB / 428.7 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.4982, allocations: 249.3 kB / 429 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.4983, allocations: 154.6 kB / 429.1 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.4984, allocations: 150.6 kB / 429.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.302e-05/0.4985, allocations: 101 kB / 429.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.4985, allocations: 75.28 kB / 429.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.4986, allocations: 154.6 kB / 429.6 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/0.4987, allocations: 154.6 kB / 429.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.4988, allocations: 158.5 kB / 429.9 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.4992, allocations: 445.6 kB / 430.3 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4993, allocations: 173.1 kB / 430.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.4993, allocations: 84.14 kB / 430.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.4994, allocations: 75.28 kB / 430.7 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.4995, allocations: 47.34 kB / 430.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.92e-06/0.4995, allocations: 0 / 430.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.4997, allocations: 33.61 kB / 430.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4997, allocations: 51.41 kB / 430.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.4998, allocations: 104.3 kB / 430.9 MB, free: 6.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.4999, allocations: 25.7 kB / 430.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.4999, allocations: 84.12 kB / 431 MB, free: 6.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.5, allocations: 3.375 kB / 431 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-06/0.5, allocations: 0 / 431 MB, free: 6.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5001, allocations: 310.8 kB / 431.3 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-06/0.5002, allocations: 4 kB / 431.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.5002, allocations: 0 / 431.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/0.5002, allocations: 4.062 kB / 431.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-06/0.5002, allocations: 0 / 431.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.688e-05/0.5003, allocations: 37.64 kB / 431.4 MB, free: 6.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5003, allocations: 4 kB / 431.4 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-06/0.5003, allocations: 3.984 kB / 431.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5004, allocations: 3.938 kB / 431.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.618e-05/0.5004, allocations: 3.938 kB / 431.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.5004, allocations: 0 / 431.4 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.5004, allocations: 4 kB / 431.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-06/0.5005, allocations: 7.953 kB / 431.4 MB, free: 6.402 MB / 346.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 7.92e-05/0.5005, allocations: 108.5 kB / 431.5 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.5006, allocations: 0 / 431.5 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.5006, allocations: 7.125 kB / 431.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-06/0.5006, allocations: 0 / 431.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.979e-06/0.5006, allocations: 192 / 431.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-06/0.5006, allocations: 0 / 431.5 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.5008, allocations: 161.5 kB / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.03e-06/0.5008, allocations: 0 / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-06/0.5009, allocations: 0 / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5009, allocations: 0 / 431.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-06/0.5009, allocations: 4 kB / 431.7 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.613e-06/0.5009, allocations: 3.984 kB / 431.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-06/0.5009, allocations: 0 / 431.7 MB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.988e-05/0.501, allocations: 61.03 kB / 431.7 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.5011, allocations: 88.69 kB / 431.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5011, allocations: 0 / 431.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.5011, allocations: 4 kB / 431.8 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-06/0.5012, allocations: 4.031 kB / 431.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-06/0.5012, allocations: 0 / 431.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.5012, allocations: 79.28 kB / 431.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.5012, allocations: 0 / 431.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000634/0.5019, allocations: 150.6 kB / 432 MB, free: 5.672 MB / 346.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.001447/0.5033, allocations: 0.5308 MB / 432.6 MB, free: 5.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.194e-05/0.5034, allocations: 11.94 kB / 432.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.646e-06/0.5034, allocations: 0 / 432.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-06/0.5035, allocations: 0 / 432.6 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.5036, allocations: 15.22 kB / 432.6 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000152/0.5038, allocations: 45.5 kB / 432.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.5041, allocations: 0.6809 MB / 433.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.5042, allocations: 7.984 kB / 433.3 MB, free: 4.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.5042, allocations: 15.5 kB / 433.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of SimCode: time 1.337e-06/0.5042, allocations: 4 kB / 433.4 MB, free: 4.391 MB / 346.7 MB Notification: Performance of Templates: time 0.007821/0.512, allocations: 2.74 MB / 436.1 MB, free: 1.664 MB / 346.7 MB