Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 2.658/2.658, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.955e-05, allocations: 11.98 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3913, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Mean): time 0.003241/0.3946, allocations: 1.762 MB / 364.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3966, allocations: 0.6826 MB / 365.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.3968, allocations: 8.625 kB / 365.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.397, allocations: 20.78 kB / 365.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.3972, allocations: 46.77 kB / 365.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.3976, allocations: 93.56 kB / 365.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.398, allocations: 161 kB / 365.6 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.3982, allocations: 72.75 kB / 365.7 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.3984, allocations: 81.62 kB / 365.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3987, allocations: 108.5 kB / 365.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.3988, allocations: 13.88 kB / 365.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.3988, allocations: 10.06 kB / 365.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.3989, allocations: 51.42 kB / 366 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.399, allocations: 17.94 kB / 366 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.3994, allocations: 236.7 kB / 366.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3994, allocations: 0 / 366.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3994, allocations: 0 / 366.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3994, allocations: 1 kB / 366.2 MB, free: 9.629 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001292/0.4007, allocations: 0.5164 MB / 366.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4008, allocations: 10.12 kB / 366.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4009, allocations: 34.38 kB / 366.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.4016, allocations: 320.1 kB / 367.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.4017, allocations: 23.5 kB / 367.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.4018, allocations: 31.55 kB / 367.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/0.4026, allocations: 250.7 kB / 367.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4026, allocations: 4.938 kB / 367.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.4027, allocations: 10.19 kB / 367.4 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.4027, allocations: 10.27 kB / 367.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.4035, allocations: 195.6 kB / 367.6 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.4056, allocations: 0.7788 MB / 368.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.4063, allocations: 210.3 kB / 368.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.4064, allocations: 11.14 kB / 368.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007005/0.4071, allocations: 231.5 kB / 368.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.507e-06/0.4071, allocations: 0 / 368.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001429/0.4086, allocations: 388.2 kB / 369.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.4086, allocations: 55.41 kB / 369.3 MB, free: 7.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.409, allocations: 204.1 kB / 369.5 MB, free: 7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.4091, allocations: 37.7 kB / 369.5 MB, free: 6.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.4092, allocations: 168.6 kB / 369.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.4094, allocations: 98.64 kB / 369.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.4094, allocations: 4 kB / 369.8 MB, free: 6.688 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4096, allocations: 338.8 kB / 370.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.41, allocations: 96.69 kB / 370.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.4104, allocations: 234.4 kB / 370.4 MB, free: 5.961 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.4109, allocations: 119.9 kB / 370.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.4109, allocations: 4 kB / 370.5 MB, free: 5.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001162/0.4121, allocations: 373.2 kB / 370.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.4121, allocations: 12 kB / 370.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4122, allocations: 4 kB / 370.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.4122, allocations: 8 kB / 370.9 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.4128, allocations: 75.92 kB / 371 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.4128, allocations: 11.94 kB / 371 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.4131, allocations: 39.73 kB / 371 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.4132, allocations: 12 kB / 371.1 MB, free: 5.309 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 0.0003045/0.4135, allocations: 173.6 kB / 371.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.4136, allocations: 23.72 kB / 371.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.4147, allocations: 331.1 kB / 371.6 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4147, allocations: 7.984 kB / 371.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4148, allocations: 0 / 371.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4148, allocations: 0 / 371.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.4163, allocations: 0.7128 MB / 372.3 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4164, allocations: 0 / 372.3 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/0.4169, allocations: 59.91 kB / 372.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.4169, allocations: 0 / 372.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.417, allocations: 11.98 kB / 372.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.417, allocations: 4 kB / 372.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.417, allocations: 4 kB / 372.4 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.4185, allocations: 0.5345 MB / 372.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4186, allocations: 100.9 kB / 373 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.4187, allocations: 12.05 kB / 373 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.419, allocations: 15.98 kB / 373 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4191, allocations: 23.95 kB / 373.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.259e-05/0.4192, allocations: 19.94 kB / 373.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.4194, allocations: 164.5 kB / 373.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4194, allocations: 0 / 373.2 MB, free: 3.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.42, allocations: 63.83 kB / 373.3 MB, free: 2.957 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001841/0.4202, allocations: 112.5 kB / 373.4 MB, free: 2.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.4212, allocations: 275.5 kB / 373.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4212, allocations: 0 / 373.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.4217, allocations: 140.8 kB / 373.8 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.4222, allocations: 30.75 kB / 373.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.4238, allocations: 0.6796 MB / 374.5 MB, free: 1.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.4243, allocations: 0.7802 MB / 375.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.4246, allocations: 42.53 kB / 375.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.4248, allocations: 35.61 kB / 375.4 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of SimCode: time 1.814e-06/0.4248, allocations: 0 / 375.4 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of Templates: time 0.00941/0.4342, allocations: 2.192 MB / 377.6 MB, free: 14.63 MB / 314.7 MB