Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.521e-05, allocations: 0 / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07715/0.07719, allocations: 38.77 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001819/0.07905, allocations: 1.172 MB / 268.1 MB, free: 15.3 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.07994, allocations: 439.6 kB / 268.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.08, allocations: 4 kB / 268.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.641e-05/0.08007, allocations: 11.86 kB / 268.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.08014, allocations: 4 kB / 268.5 MB, free: 14.84 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.08028, allocations: 23.91 kB / 268.5 MB, free: 14.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.08036, allocations: 31.95 kB / 268.6 MB, free: 14.79 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.08046, allocations: 8 kB / 268.6 MB, free: 14.78 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.08059, allocations: 23.86 kB / 268.6 MB, free: 14.76 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.08066, allocations: 19.91 kB / 268.6 MB, free: 14.74 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.08073, allocations: 8 kB / 268.6 MB, free: 14.73 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.08076, allocations: 4 kB / 268.6 MB, free: 14.73 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.08079, allocations: 11.97 kB / 268.7 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.08082, allocations: 4 kB / 268.7 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.08097, allocations: 35.94 kB / 268.7 MB, free: 14.68 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.08099, allocations: 4 kB / 268.7 MB, free: 14.67 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.081, allocations: 4 kB / 268.7 MB, free: 14.67 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.08102, allocations: 0 / 268.7 MB, free: 14.67 MB / 234.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.0007057/0.08173, allocations: 375.5 kB / 269.1 MB, free: 14.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.08179, allocations: 12.03 kB / 269.1 MB, free: 14.24 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.08184, allocations: 7.906 kB / 269.1 MB, free: 14.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.08197, allocations: 174.9 kB / 269.3 MB, free: 14.02 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.082, allocations: 7.953 kB / 269.3 MB, free: 14.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.08203, allocations: 8 kB / 269.3 MB, free: 14.01 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.08243, allocations: 89.64 kB / 269.4 MB, free: 13.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.08246, allocations: 0 / 269.4 MB, free: 13.91 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.08248, allocations: 4 kB / 269.4 MB, free: 13.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.0825, allocations: 0 / 269.4 MB, free: 13.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.08308, allocations: 103.9 kB / 269.5 MB, free: 13.81 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.08357, allocations: 296.7 kB / 269.8 MB, free: 13.47 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.08396, allocations: 82.56 kB / 269.8 MB, free: 13.38 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.08399, allocations: 0 / 269.8 MB, free: 13.38 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.08403, allocations: 30.56 kB / 269.9 MB, free: 13.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.08404, allocations: 3.938 kB / 269.9 MB, free: 13.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009523/0.085, allocations: 173.7 kB / 270 MB, free: 13.16 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.08506, allocations: 55.39 kB / 270.1 MB, free: 13.09 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.08515, allocations: 100.9 kB / 270.2 MB, free: 12.99 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.08518, allocations: 25.7 kB / 270.2 MB, free: 12.96 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.08524, allocations: 99.97 kB / 270.3 MB, free: 12.86 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.08528, allocations: 19.75 kB / 270.3 MB, free: 12.84 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.0853, allocations: 0 / 270.3 MB, free: 12.84 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.08542, allocations: 318.8 kB / 270.6 MB, free: 12.52 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.08571, allocations: 47.95 kB / 270.7 MB, free: 12.47 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.08599, allocations: 47.95 kB / 270.7 MB, free: 12.42 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.08627, allocations: 44.25 kB / 270.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.08629, allocations: 0 / 270.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006112/0.08691, allocations: 129.6 kB / 270.9 MB, free: 12.25 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.08694, allocations: 7.984 kB / 270.9 MB, free: 12.24 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.08696, allocations: 0 / 270.9 MB, free: 12.24 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.08698, allocations: 0 / 270.9 MB, free: 12.24 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.08721, allocations: 23.92 kB / 270.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.08723, allocations: 4 kB / 270.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.0874, allocations: 23.89 kB / 271 MB, free: 12.19 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.08742, allocations: 0 / 271 MB, free: 12.19 MB / 234.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 (4): * Single equations (assignments): 4 * 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 9.185e-05/0.08752, allocations: 121.8 kB / 271.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.08757, allocations: 0 / 271.1 MB, free: 12.06 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.08824, allocations: 145.5 kB / 271.2 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.08826, allocations: 0 / 271.2 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.08828, allocations: 0 / 271.2 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.08829, allocations: 0 / 271.2 MB, free: 11.91 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.08852, allocations: 185.6 kB / 271.4 MB, free: 11.68 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.08854, allocations: 4 kB / 271.4 MB, free: 11.67 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.08876, allocations: 35.97 kB / 271.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.08877, allocations: 0 / 271.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.08879, allocations: 4 kB / 271.4 MB, free: 11.63 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.0888, allocations: 0 / 271.4 MB, free: 11.63 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.08881, allocations: 320 / 271.5 MB, free: 11.63 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.08949, allocations: 239.3 kB / 271.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.08956, allocations: 88.95 kB / 271.8 MB, free: 11.28 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.08959, allocations: 3.938 kB / 271.8 MB, free: 11.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.08979, allocations: 19.98 kB / 271.8 MB, free: 11.25 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.08985, allocations: 3.984 kB / 271.8 MB, free: 11.25 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.08987, allocations: 4 kB / 271.8 MB, free: 11.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.481e-05/0.08993, allocations: 91.27 kB / 271.9 MB, free: 11.16 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.08994, allocations: 0 / 271.9 MB, free: 11.16 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.09023, allocations: 12 kB / 271.9 MB, free: 11.14 MB / 234.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 (6): * Single equations (assignments): 6 * 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.0001322/0.09037, allocations: 107.2 kB / 272 MB, free: 11.03 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.09099, allocations: 99.92 kB / 272.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.09101, allocations: 0 / 272.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.09133, allocations: 59.95 kB / 272.2 MB, free: 10.88 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.09154, allocations: 7.891 kB / 272.2 MB, free: 10.87 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.09196, allocations: 172.8 kB / 272.3 MB, free: 10.67 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.09221, allocations: 0.6887 MB / 273 MB, free: 9.957 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.09227, allocations: 4 kB / 273 MB, free: 9.953 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.09232, allocations: 11.44 kB / 273 MB, free: 9.941 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.09233, allocations: 0 / 273 MB, free: 9.941 MB / 234.7 MB Notification: Performance of Templates: time 0.003732/0.09607, allocations: 0.7208 MB / 273.8 MB, free: 9.227 MB / 234.7 MB