Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.618e-05, allocations: 3.984 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08639, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4537, allocations: 71.31 MB / 371.1 MB, free: 20.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.454, allocations: 62.97 kB / 371.2 MB, free: 20.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004806/0.4588, allocations: 1.258 MB / 372.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4588, allocations: 0 / 372.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.684e-06/0.4589, allocations: 1.719 kB / 372.5 MB, free: 20.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004075/0.4593, allocations: 373.2 kB / 372.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.4593, allocations: 10.05 kB / 372.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.4594, allocations: 7.031 kB / 372.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.4595, allocations: 179.9 kB / 373 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4595, allocations: 1.5 kB / 373 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.4595, allocations: 3.719 kB / 373 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4597, allocations: 64.41 kB / 373.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.449e-06/0.4597, allocations: 0.8438 kB / 373.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4597, allocations: 0 / 373.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-06/0.4598, allocations: 1.906 kB / 373.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4599, allocations: 31.89 kB / 373.1 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.4603, allocations: 306.2 kB / 373.4 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.4605, allocations: 54.77 kB / 373.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.4606, allocations: 21.45 kB / 373.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.4606, allocations: 6.25 kB / 373.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.4606, allocations: 33.31 kB / 373.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.043e-06/0.4606, allocations: 0 / 373.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002099/0.4608, allocations: 71.45 kB / 373.6 MB, free: 19.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.4609, allocations: 52.56 kB / 373.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.461, allocations: 112.4 kB / 373.8 MB, free: 19.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.461, allocations: 28.95 kB / 373.8 MB, free: 19.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.461, allocations: 161.9 kB / 373.9 MB, free: 19.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.4611, allocations: 15.11 kB / 374 MB, free: 19.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-06/0.4611, allocations: 1.125 kB / 374 MB, free: 19.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.4612, allocations: 315.3 kB / 374.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.4612, allocations: 12.16 kB / 374.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.4613, allocations: 19.53 kB / 374.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.4613, allocations: 14.69 kB / 374.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-06/0.4613, allocations: 4 kB / 374.3 MB, free: 18.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.4615, allocations: 64.61 kB / 374.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4615, allocations: 5.953 kB / 374.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4615, allocations: 0.7969 kB / 374.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4616, allocations: 1.156 kB / 374.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.4618, allocations: 26.48 kB / 374.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.587e-06/0.4618, allocations: 1.375 kB / 374.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.4619, allocations: 23.77 kB / 374.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-06/0.4619, allocations: 1.312 kB / 374.4 MB, free: 18.86 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: 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 5.103e-05/0.462, allocations: 106.7 kB / 374.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.4621, allocations: 10.56 kB / 374.6 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.4623, allocations: 85.41 kB / 374.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-06/0.4623, allocations: 1.844 kB / 374.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-06/0.4623, allocations: 1.656 kB / 374.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-06/0.4623, allocations: 4 kB / 374.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.4625, allocations: 187.3 kB / 374.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-06/0.4625, allocations: 0 / 374.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4627, allocations: 26.11 kB / 374.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.336e-06/0.4627, allocations: 1.781 kB / 374.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4628, allocations: 7.125 kB / 374.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-06/0.4628, allocations: 0 / 374.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.303e-06/0.4628, allocations: 1.781 kB / 374.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.463, allocations: 182.5 kB / 375 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.463, allocations: 83.89 kB / 375.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4631, allocations: 1.531 kB / 375.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4632, allocations: 24.48 kB / 375.1 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.4633, allocations: 9.109 kB / 375.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.4633, allocations: 5.844 kB / 375.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.009e-05/0.4634, allocations: 88.23 kB / 375.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.4634, allocations: 0 / 375.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000315/0.4637, allocations: 14.56 kB / 375.3 MB, free: 18.18 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: 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.0001256/0.4639, allocations: 108.7 kB / 375.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.464, allocations: 43.3 kB / 375.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.91e-06/0.464, allocations: 4 kB / 375.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.4641, allocations: 24.25 kB / 375.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.4644, allocations: 9.453 kB / 375.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.4647, allocations: 127.4 kB / 375.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4648, allocations: 0.6918 MB / 376.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.4649, allocations: 11.16 kB / 376.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4649, allocations: 4 kB / 376.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of Templates: time 0.002916/0.4678, allocations: 0.9388 MB / 377.2 MB, free: 17.21 MB / 314.7 MB