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.672/1.672, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.798e-05, allocations: 0 / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3106, allocations: 65.98 MB / 329.7 MB, free: 7.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3108, allocations: 63.97 kB / 329.8 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004662/0.3155, allocations: 1.23 MB / 331 MB, free: 6.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.046e-06/0.3156, allocations: 0 / 331 MB, free: 6.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.179e-06/0.3156, allocations: 3.938 kB / 331 MB, free: 6.473 MB / 282.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.0005544/0.3161, allocations: 374.4 kB / 331.4 MB, free: 6.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3162, allocations: 8.031 kB / 331.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3162, allocations: 7.906 kB / 331.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3164, allocations: 174.9 kB / 331.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.3164, allocations: 7.984 kB / 331.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3165, allocations: 4 kB / 331.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3166, allocations: 65.64 kB / 331.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.561e-06/0.3167, allocations: 0 / 331.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3167, allocations: 0 / 331.7 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.222e-06/0.3167, allocations: 4 kB / 331.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3168, allocations: 31.92 kB / 331.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.3173, allocations: 300.7 kB / 332 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3175, allocations: 50.61 kB / 332 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.3176, allocations: 16.86 kB / 332.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3176, allocations: 0 / 332.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3177, allocations: 34.64 kB / 332.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.916e-06/0.3177, allocations: 0 / 332.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002202/0.3179, allocations: 61.61 kB / 332.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.318, allocations: 55.39 kB / 332.2 MB, free: 5.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.3181, allocations: 105 kB / 332.3 MB, free: 5.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3181, allocations: 25.7 kB / 332.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.3182, allocations: 96.06 kB / 332.4 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3182, allocations: 7.812 kB / 332.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-06/0.3182, allocations: 0 / 332.4 MB, free: 4.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3184, allocations: 318.8 kB / 332.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.3185, allocations: 8 kB / 332.8 MB, free: 4.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.3185, allocations: 15.94 kB / 332.8 MB, free: 4.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.3186, allocations: 15.94 kB / 332.8 MB, free: 4.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-06/0.3186, allocations: 8 kB / 332.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001564/0.3188, allocations: 57.59 kB / 332.9 MB, free: 4.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3188, allocations: 8 kB / 332.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.449e-06/0.3188, allocations: 4 kB / 332.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3189, allocations: 0 / 332.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.319, allocations: 19.98 kB / 332.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3191, allocations: 0 / 332.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3192, allocations: 27.91 kB / 332.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-06/0.3192, allocations: 0 / 332.9 MB, free: 4.387 MB / 282.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.459e-05/0.3193, allocations: 113.6 kB / 333 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.3194, allocations: 192 / 333 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.3196, allocations: 81.64 kB / 333.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.683e-06/0.3196, allocations: 3.984 kB / 333.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.913e-06/0.3196, allocations: 3.938 kB / 333.1 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-06/0.3196, allocations: 4 kB / 333.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3199, allocations: 189.5 kB / 333.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3199, allocations: 3.953 kB / 333.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3201, allocations: 23.97 kB / 333.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.512e-06/0.3201, allocations: 4 kB / 333.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3202, allocations: 0 / 333.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.86e-06/0.3202, allocations: 0 / 333.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.58e-06/0.3202, allocations: 0 / 333.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.3204, allocations: 163.5 kB / 333.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.3205, allocations: 88.97 kB / 333.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3205, allocations: 4 kB / 333.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3207, allocations: 15.98 kB / 333.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3208, allocations: 7.984 kB / 333.6 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3208, allocations: 4 kB / 333.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.3209, allocations: 91.58 kB / 333.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.3209, allocations: 0 / 333.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.3212, allocations: 16 kB / 333.7 MB, free: 3.48 MB / 282.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.0001599/0.3214, allocations: 103.2 kB / 333.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3215, allocations: 32.12 kB / 333.8 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3216, allocations: 4 kB / 333.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.3216, allocations: 27.94 kB / 333.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.3219, allocations: 4 kB / 333.9 MB, free: 3.305 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.3222, allocations: 96.91 kB / 334 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3226, allocations: 0.6965 MB / 334.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.3226, allocations: 4 kB / 334.7 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3227, allocations: 15.42 kB / 334.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of SimCode: time 1.405e-06/0.3227, allocations: 0 / 334.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Templates: time 0.003648/0.3264, allocations: 0.7473 MB / 335.4 MB, free: 1.707 MB / 282.7 MB