Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.175e-05, allocations: 7.984 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08773, allocations: 48.7 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4231, allocations: 73.86 MB / 395.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001531/0.4233, allocations: 59.48 kB / 395.7 MB, free: 7.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003196/0.4266, allocations: 0.9441 MB / 396.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.748e-06/0.4266, allocations: 0 / 396.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.991e-06/0.4266, allocations: 7.812 kB / 396.6 MB, free: 7.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003168/0.4269, allocations: 337 kB / 397 MB, free: 6.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.427, allocations: 15.02 kB / 397 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.427, allocations: 7.891 kB / 397 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4272, allocations: 177.9 kB / 397.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4272, allocations: 5.031 kB / 397.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.4273, allocations: 3.812 kB / 397.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4274, allocations: 46.73 kB / 397.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4274, allocations: 0 / 397.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4274, allocations: 10.94 kB / 397.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.354e-06/0.4275, allocations: 0 / 397.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.4275, allocations: 3.875 kB / 397.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.4279, allocations: 279.8 kB / 397.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.541e-05/0.428, allocations: 26.2 kB / 397.5 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.428, allocations: 12.08 kB / 397.5 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4281, allocations: 3.781 kB / 397.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.4282, allocations: 66.86 kB / 397.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.613e-06/0.4282, allocations: 0 / 397.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.4284, allocations: 54.81 kB / 397.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4285, allocations: 61.98 kB / 397.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.4286, allocations: 107.4 kB / 397.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4286, allocations: 28.33 kB / 397.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.4286, allocations: 84.44 kB / 397.9 MB, free: 5.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4287, allocations: 15.53 kB / 398 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-06/0.4287, allocations: 3.812 kB / 398 MB, free: 5.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.4287, allocations: 317.5 kB / 398.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.187e-05/0.4288, allocations: 11.59 kB / 398.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.4288, allocations: 45.47 kB / 398.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.4289, allocations: 10.72 kB / 398.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.411e-06/0.4289, allocations: 3.875 kB / 398.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001527/0.4291, allocations: 72.73 kB / 398.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4291, allocations: 11.66 kB / 398.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-06/0.4291, allocations: 0 / 398.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4291, allocations: 3.812 kB / 398.4 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4293, allocations: 16.12 kB / 398.4 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.468e-06/0.4293, allocations: 3.844 kB / 398.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.4294, allocations: 7.75 kB / 398.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4294, allocations: 3.844 kB / 398.5 MB, free: 5.445 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.mean.y,mean.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.68e-05/0.4295, allocations: 119.3 kB / 398.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.4295, allocations: 3.719 kB / 398.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.4295, allocations: 4.844 kB / 398.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-06/0.4296, allocations: 0 / 398.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-06/0.4296, allocations: 3.812 kB / 398.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.835e-06/0.4296, allocations: 0 / 398.6 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.4297, allocations: 169.8 kB / 398.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-06/0.4297, allocations: 0 / 398.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.645e-05/0.4298, allocations: 13.5 kB / 398.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4298, allocations: 4 kB / 398.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4298, allocations: 3.812 kB / 398.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-06/0.4299, allocations: 0 / 398.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-06/0.4299, allocations: 0 / 398.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.4301, allocations: 107.7 kB / 398.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.4301, allocations: 84.86 kB / 399 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.4302, allocations: 4.031 kB / 399 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.4302, allocations: 2.719 kB / 399 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.4303, allocations: 9.812 kB / 399 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4303, allocations: 1.281 kB / 399 MB, free: 4.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.629e-05/0.4304, allocations: 93.84 kB / 399.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.69e-07/0.4304, allocations: 1.312 kB / 399.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.4307, allocations: 10.53 kB / 399.1 MB, free: 4.867 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mean.x) * Number of discrete variables: 2 ($whenCondition1,mean.y) * Number of discrete states: 1 (mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001047/0.4308, allocations: 95 kB / 399.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4309, allocations: 31.61 kB / 399.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.938e-06/0.4309, allocations: 4.125 kB / 399.2 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.431, allocations: 12.59 kB / 399.2 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.4311, allocations: 5.234 kB / 399.2 MB, free: 4.766 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.4314, allocations: 105.6 kB / 399.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.4317, allocations: 0.6884 MB / 400 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.4318, allocations: 3.594 kB / 400 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.4318, allocations: 11.44 kB / 400 MB, free: 19.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.566e-06/0.4318, allocations: 0 / 400 MB, free: 19.97 MB / 330.7 MB Notification: Performance of Templates: time 0.002689/0.4345, allocations: 415.6 kB / 400.4 MB, free: 19.93 MB / 330.7 MB