Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.61e-05, allocations: 7.922 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.4556, allocations: 85.77 MB / 468 MB, free: 6.762 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4558, allocations: 59.98 kB / 468 MB, free: 6.703 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.007177/0.463, allocations: 1.681 MB / 469.7 MB, free: 5.016 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.952e-06/0.4631, allocations: 4 kB / 469.7 MB, free: 5.012 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4631, allocations: 0 / 469.7 MB, free: 5.012 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005743/0.4637, allocations: 385 kB / 470.1 MB, free: 4.594 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4637, allocations: 12.02 kB / 470.1 MB, free: 4.582 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.4638, allocations: 11.91 kB / 470.1 MB, free: 4.57 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.4641, allocations: 214.7 kB / 470.3 MB, free: 4.32 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4641, allocations: 0 / 470.3 MB, free: 4.32 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.4642, allocations: 16 kB / 470.3 MB, free: 4.305 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.4644, allocations: 77.66 kB / 470.4 MB, free: 4.223 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4644, allocations: 8 kB / 470.4 MB, free: 4.215 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.4645, allocations: 4 kB / 470.4 MB, free: 4.211 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-06/0.4645, allocations: 0 / 470.4 MB, free: 4.211 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.4646, allocations: 39.98 kB / 470.5 MB, free: 4.172 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.4654, allocations: 364.5 kB / 470.8 MB, free: 3.766 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.4655, allocations: 54.66 kB / 470.9 MB, free: 3.703 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.4656, allocations: 20.86 kB / 470.9 MB, free: 3.68 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.4656, allocations: 0 / 470.9 MB, free: 3.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.4659, allocations: 107.2 kB / 471 MB, free: 3.562 MB / 394.8 MB Notification: Performance of pre-optimization done (n=9): time 5.006e-06/0.4659, allocations: 4 kB / 471 MB, free: 3.559 MB / 394.8 MB Notification: Performance of matching and sorting (n=9): time 0.0002802/0.4662, allocations: 93.52 kB / 471.1 MB, free: 3.461 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4662, allocations: 55.5 kB / 471.1 MB, free: 3.395 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.4664, allocations: 131.5 kB / 471.3 MB, free: 3.258 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.4665, allocations: 25.7 kB / 471.3 MB, free: 3.227 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.4665, allocations: 104.5 kB / 471.4 MB, free: 3.117 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.4666, allocations: 31.62 kB / 471.4 MB, free: 3.086 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-06/0.4666, allocations: 0 / 471.4 MB, free: 3.086 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4668, allocations: 322.8 kB / 471.7 MB, free: 2.762 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.4669, allocations: 24 kB / 471.8 MB, free: 2.738 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.467, allocations: 67.73 kB / 471.8 MB, free: 2.645 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.245e-05/0.4671, allocations: 35.92 kB / 471.9 MB, free: 2.609 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.637e-06/0.4671, allocations: 4 kB / 471.9 MB, free: 2.605 MB / 394.8 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002952/0.4674, allocations: 129.3 kB / 472 MB, free: 2.473 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.4675, allocations: 4 kB / 472 MB, free: 2.469 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4675, allocations: 8.172 kB / 472 MB, free: 2.461 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4675, allocations: 8 kB / 472 MB, free: 2.453 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.4677, allocations: 23.92 kB / 472 MB, free: 2.43 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4677, allocations: 4 kB / 472 MB, free: 2.426 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.4678, allocations: 11.94 kB / 472.1 MB, free: 2.414 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4679, allocations: 11.98 kB / 472.1 MB, free: 2.402 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001051/0.468, allocations: 112.9 kB / 472.2 MB, free: 2.285 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.468, allocations: 7.906 kB / 472.2 MB, free: 2.277 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.4681, allocations: 20.56 kB / 472.2 MB, free: 2.262 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-06/0.4681, allocations: 3.953 kB / 472.2 MB, free: 2.258 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-06/0.4681, allocations: 0 / 472.2 MB, free: 2.258 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.083e-06/0.4681, allocations: 0 / 472.2 MB, free: 2.258 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.4684, allocations: 197.6 kB / 472.4 MB, free: 2.016 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-06/0.4684, allocations: 0 / 472.4 MB, free: 2.016 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.4685, allocations: 15.98 kB / 472.4 MB, free: 2 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.694e-06/0.4685, allocations: 0 / 472.4 MB, free: 2 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4686, allocations: 4 kB / 472.4 MB, free: 1.996 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.382e-06/0.4686, allocations: 0 / 472.4 MB, free: 1.996 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.724e-06/0.4686, allocations: 7.953 kB / 472.4 MB, free: 1.988 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.469, allocations: 156.8 kB / 472.6 MB, free: 1.816 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.4691, allocations: 81.02 kB / 472.7 MB, free: 1.719 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.4691, allocations: 4.125 kB / 472.7 MB, free: 1.715 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.4692, allocations: 11.94 kB / 472.7 MB, free: 1.703 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.4693, allocations: 7.938 kB / 472.7 MB, free: 1.695 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.4693, allocations: 11.98 kB / 472.7 MB, free: 1.684 MB / 394.8 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.4694, allocations: 105.8 kB / 472.8 MB, free: 1.582 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.167e-06/0.4694, allocations: 0 / 472.8 MB, free: 1.582 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003239/0.4697, allocations: 31.88 kB / 472.8 MB, free: 1.551 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001582/0.4699, allocations: 103.4 kB / 472.9 MB, free: 1.438 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4701, allocations: 63.92 kB / 473 MB, free: 1.375 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.632e-06/0.4702, allocations: 4 kB / 473 MB, free: 1.371 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.4703, allocations: 24.38 kB / 473 MB, free: 1.348 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.4705, allocations: 12 kB / 473 MB, free: 1.336 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.4709, allocations: 162.9 kB / 473.2 MB, free: 1.16 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.4713, allocations: 0.7081 MB / 473.9 MB, free: 436 kB / 394.8 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.4714, allocations: 8.547 kB / 473.9 MB, free: 424 kB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.4715, allocations: 23.44 kB / 473.9 MB, free: 400 kB / 394.8 MB Notification: Performance of SimCode: time 1.343e-06/0.4715, allocations: 0 / 473.9 MB, free: 400 kB / 394.8 MB Notification: Performance of Templates: time 0.004087/0.4756, allocations: 0.8036 MB / 474.7 MB, free: 15.59 MB / 410.8 MB