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_trunk_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.46e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1312, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002453/0.1337, allocations: 1.333 MB / 412.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1348, allocations: 487.3 kB / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.135, allocations: 4 kB / 412.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.825e-05/0.135, allocations: 11.86 kB / 412.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.1351, allocations: 11.92 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1354, allocations: 35.95 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1355, allocations: 51.88 kB / 412.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1356, allocations: 23.89 kB / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1358, allocations: 39.89 kB / 412.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1359, allocations: 35.84 kB / 412.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.362e-05/0.136, allocations: 4 kB / 412.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.136, allocations: 7.938 kB / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.136, allocations: 15.92 kB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.1361, allocations: 4 kB / 413 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1362, allocations: 71.84 kB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1362, allocations: 0 / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1363, allocations: 0 / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1363, allocations: 4 kB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008072/0.1371, allocations: 383.5 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1372, allocations: 16.02 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.1372, allocations: 7.906 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1375, allocations: 201.4 kB / 413.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1375, allocations: 8 kB / 413.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1376, allocations: 19.95 kB / 413.7 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1379, allocations: 93.58 kB / 413.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.138, allocations: 0 / 413.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.138, allocations: 4 kB / 413.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.138, allocations: 4 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.1383, allocations: 51.95 kB / 413.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007965/0.1391, allocations: 384.4 kB / 414.2 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1393, allocations: 58.56 kB / 414.2 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1393, allocations: 4 kB / 414.3 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.1396, allocations: 107.4 kB / 414.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.1397, allocations: 0 / 414.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005148/0.1402, allocations: 133.5 kB / 414.5 MB, free: 9.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1402, allocations: 55.41 kB / 414.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1404, allocations: 129.1 kB / 414.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.1405, allocations: 29.7 kB / 414.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1406, allocations: 178.3 kB / 414.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1406, allocations: 31.78 kB / 414.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.1407, allocations: 0 / 414.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1409, allocations: 314.8 kB / 415.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.141, allocations: 35.92 kB / 415.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1412, allocations: 83.64 kB / 415.3 MB, free: 8.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1414, allocations: 47.97 kB / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1414, allocations: 0 / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004075/0.1418, allocations: 141.5 kB / 415.5 MB, free: 8.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1418, allocations: 4 kB / 415.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1419, allocations: 4 kB / 415.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1419, allocations: 0 / 415.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1421, allocations: 27.92 kB / 415.5 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.1421, allocations: 4 kB / 415.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1422, allocations: 4 kB / 415.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1423, allocations: 19.92 kB / 415.6 MB, free: 7.941 MB / 346.7 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_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * 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.0001647/0.1425, allocations: 134.1 kB / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.1425, allocations: 7.906 kB / 415.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.1425, allocations: 12.72 kB / 415.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1426, allocations: 4 kB / 415.7 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1426, allocations: 3.984 kB / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1426, allocations: 384 / 415.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1429, allocations: 209.5 kB / 415.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1429, allocations: 0 / 415.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.143, allocations: 12 kB / 415.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1431, allocations: 7.938 kB / 416 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.1431, allocations: 7.984 kB / 416 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1431, allocations: 0 / 416 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1431, allocations: 0 / 416 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.1437, allocations: 168.9 kB / 416.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.1437, allocations: 89.11 kB / 416.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.1438, allocations: 4 kB / 416.2 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.1439, allocations: 4 kB / 416.2 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.144, allocations: 7.984 kB / 416.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.144, allocations: 4 kB / 416.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1441, allocations: 118.8 kB / 416.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1441, allocations: 0 / 416.4 MB, free: 7.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.1444, allocations: 12 kB / 416.4 MB, free: 7.059 MB / 346.7 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_last,rootMeanSquare.mean.y_last) * 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.0001567/0.1446, allocations: 111.2 kB / 416.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1449, allocations: 79.83 kB / 416.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.145, allocations: 0 / 416.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.1451, allocations: 31.98 kB / 416.6 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1453, allocations: 24.27 kB / 416.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.1461, allocations: 321.2 kB / 416.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1465, allocations: 0.7082 MB / 417.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.1466, allocations: 23.38 kB / 417.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1466, allocations: 0 / 417.7 MB, free: 5.703 MB / 346.7 MB Notification: Performance of Templates: time 0.004096/0.1507, allocations: 1.313 MB / 419 MB, free: 4.391 MB / 346.7 MB