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.3_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.996e-05, allocations: 4 kB / 269.3 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.08445, allocations: 47.57 MB / 316.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4623, allocations: 77.95 MB / 394.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4626, allocations: 68.78 kB / 394.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02517/0.4878, allocations: 6.26 MB / 401.2 MB, free: 5.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4878, allocations: 0 / 401.2 MB, free: 5.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.765e-06/0.4879, allocations: 4 kB / 401.2 MB, free: 5.047 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.0005843/0.4884, allocations: 433.9 kB / 401.6 MB, free: 4.586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4885, allocations: 11.97 kB / 401.6 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.4886, allocations: 75.28 kB / 401.7 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.4888, allocations: 242.2 kB / 401.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.4889, allocations: 154.6 kB / 402.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.337e-05/0.489, allocations: 154.6 kB / 402.2 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.548e-05/0.4891, allocations: 112.9 kB / 402.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/0.4891, allocations: 75.28 kB / 402.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.306e-05/0.4892, allocations: 154.5 kB / 402.6 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/0.4893, allocations: 154.5 kB / 402.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.4894, allocations: 150.6 kB / 402.9 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.4898, allocations: 449.9 kB / 403.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.4899, allocations: 169.1 kB / 403.5 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.49, allocations: 80.19 kB / 403.6 MB, free: 2.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.49, allocations: 83.27 kB / 403.6 MB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.4902, allocations: 55.22 kB / 403.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 3.179e-06/0.4902, allocations: 0 / 403.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.4903, allocations: 33.69 kB / 403.7 MB, free: 2.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4904, allocations: 55.34 kB / 403.8 MB, free: 2.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.4905, allocations: 96.94 kB / 403.9 MB, free: 2.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4905, allocations: 25.7 kB / 403.9 MB, free: 2.156 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.4906, allocations: 80.14 kB / 404 MB, free: 2.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.4906, allocations: 4.031 kB / 404 MB, free: 2.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-06/0.4906, allocations: 0 / 404 MB, free: 2.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4908, allocations: 318.8 kB / 404.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-06/0.4908, allocations: 0 / 404.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-06/0.4908, allocations: 0 / 404.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.936e-05/0.4908, allocations: 7.984 kB / 404.3 MB, free: 1.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4908, allocations: 0 / 404.3 MB, free: 1.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.386e-05/0.4909, allocations: 29.7 kB / 404.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.491, allocations: 8.094 kB / 404.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.899e-06/0.491, allocations: 3.953 kB / 404.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.491, allocations: 0 / 404.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.491, allocations: 4.188 kB / 404.3 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.875e-06/0.491, allocations: 0 / 404.3 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.4911, allocations: 0 / 404.3 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4911, allocations: 0 / 404.3 MB, free: 1.695 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 8.459e-05/0.4912, allocations: 108.9 kB / 404.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.4912, allocations: 7.984 kB / 404.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.4913, allocations: 11.08 kB / 404.5 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.084e-06/0.4913, allocations: 3.953 kB / 404.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.4913, allocations: 0 / 404.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-06/0.4913, allocations: 0 / 404.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.4915, allocations: 157.4 kB / 404.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.517e-06/0.4915, allocations: 0 / 404.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-06/0.4915, allocations: 3.938 kB / 404.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-06/0.4915, allocations: 0 / 404.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.4915, allocations: 0 / 404.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.4915, allocations: 0 / 404.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-06/0.4916, allocations: 7.953 kB / 404.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.4917, allocations: 64.97 kB / 404.7 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.4917, allocations: 77.11 kB / 404.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4918, allocations: 4 kB / 404.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.4918, allocations: 0 / 404.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.4918, allocations: 3.953 kB / 404.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4918, allocations: 0 / 404.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.4919, allocations: 90.89 kB / 404.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4919, allocations: 4.031 kB / 404.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006879/0.4926, allocations: 151.1 kB / 405 MB, free: 0.9414 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.001327/0.494, allocations: 0.4958 MB / 405.5 MB, free: 488 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.4941, allocations: 7.875 kB / 405.5 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.282e-06/0.4941, allocations: 4 kB / 405.5 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.4941, allocations: 3.938 kB / 405.5 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.4942, allocations: 7.875 kB / 405.5 MB, free: 468 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.4944, allocations: 60.92 kB / 405.6 MB, free: 384 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.4948, allocations: 0.6731 MB / 406.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.4948, allocations: 7.984 kB / 406.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.4949, allocations: 19.55 kB / 406.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4949, allocations: 0 / 406.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of Templates: time 0.008241/0.5032, allocations: 2.749 MB / 409.1 MB, free: 12.91 MB / 330.7 MB