Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.661e-05, allocations: 2.5 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.464, allocations: 76.73 MB / 419.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4642, allocations: 71.08 kB / 419.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00498/0.4692, allocations: 1.35 MB / 421.2 MB, free: 208 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4693, allocations: 0 / 421.2 MB, free: 208 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.4693, allocations: 0 / 421.2 MB, free: 208 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005379/0.4698, allocations: 377.5 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4699, allocations: 8.031 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.4699, allocations: 7.953 kB / 421.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4701, allocations: 171 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4701, allocations: 0 / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.4702, allocations: 7.875 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4703, allocations: 60.19 kB / 421.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.603e-06/0.4704, allocations: 0 / 421.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4704, allocations: 0 / 421.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-06/0.4704, allocations: 8 kB / 421.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4705, allocations: 38.27 kB / 421.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.4711, allocations: 311.3 kB / 422.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.4712, allocations: 48.58 kB / 422.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.4713, allocations: 19.23 kB / 422.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4713, allocations: 7.953 kB / 422.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4714, allocations: 34.56 kB / 422.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.28e-06/0.4714, allocations: 0 / 422.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002204/0.4716, allocations: 67.94 kB / 422.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4717, allocations: 55.34 kB / 422.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.4718, allocations: 109 kB / 422.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4718, allocations: 25.7 kB / 422.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.4719, allocations: 91.73 kB / 422.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.4719, allocations: 19.06 kB / 422.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-06/0.4719, allocations: 0 / 422.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4721, allocations: 318.2 kB / 423 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.4722, allocations: 18.31 kB / 423 MB, free: 14.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.4722, allocations: 11.44 kB / 423 MB, free: 14.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.4723, allocations: 13.12 kB / 423 MB, free: 14.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4723, allocations: 0 / 423 MB, free: 14.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001619/0.4725, allocations: 66.12 kB / 423.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4725, allocations: 7.953 kB / 423.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-06/0.4725, allocations: 4 kB / 423.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4725, allocations: 0 / 423.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.4727, allocations: 31.91 kB / 423.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.91e-06/0.4728, allocations: 0 / 423.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.4729, allocations: 23.83 kB / 423.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4729, allocations: 4 kB / 423.1 MB, free: 14.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.345e-05/0.473, allocations: 105 kB / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.4731, allocations: 0 / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.4733, allocations: 90.77 kB / 423.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-06/0.4733, allocations: 0 / 423.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.129e-06/0.4733, allocations: 3.984 kB / 423.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-06/0.4733, allocations: 0 / 423.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.4736, allocations: 187 kB / 423.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-06/0.4736, allocations: 0 / 423.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4738, allocations: 35.91 kB / 423.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.559e-06/0.4738, allocations: 0 / 423.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4738, allocations: 4.25 kB / 423.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.789e-06/0.4739, allocations: 3.953 kB / 423.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4739, allocations: 4 kB / 423.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.4741, allocations: 169.5 kB / 423.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.4742, allocations: 89.02 kB / 423.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4742, allocations: 0 / 423.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4744, allocations: 15.98 kB / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4744, allocations: 8.312 kB / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-06/0.4745, allocations: 7.312 kB / 423.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.93e-05/0.4745, allocations: 94.58 kB / 423.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.4746, allocations: 0 / 423.9 MB, free: 13.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.4749, allocations: 23.94 kB / 424 MB, free: 13.33 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001572/0.4751, allocations: 106.4 kB / 424.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.4752, allocations: 36.69 kB / 424.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4752, allocations: 3.938 kB / 424.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.4753, allocations: 26.38 kB / 424.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.4756, allocations: 14.8 kB / 424.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.4759, allocations: 90.92 kB / 424.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.4762, allocations: 0.6926 MB / 424.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.4763, allocations: 0 / 424.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.4763, allocations: 11.44 kB / 424.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.417e-06/0.4764, allocations: 0 / 424.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of Templates: time 0.003697/0.4801, allocations: 0.7843 MB / 425.7 MB, free: 11.56 MB / 346.7 MB