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.2_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 234.9 MB / 250.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.241e-05/5.245e-05, allocations: 7.984 kB / 308 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4215, allocations: 54.86 MB / 362.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.0024/0.424, allocations: 1.322 MB / 364.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.4252, allocations: 0.504 MB / 364.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.34e-05/0.4253, allocations: 7.938 kB / 364.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.25e-05/0.4254, allocations: 7.922 kB / 364.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.4255, allocations: 15.97 kB / 364.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.4258, allocations: 39.83 kB / 364.7 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.4259, allocations: 43.95 kB / 364.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.426, allocations: 23.92 kB / 364.8 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4262, allocations: 31.92 kB / 364.8 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.4263, allocations: 31.84 kB / 364.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.4264, allocations: 4 kB / 364.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.4264, allocations: 4 kB / 364.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.4264, allocations: 23.91 kB / 364.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.4265, allocations: 8 kB / 364.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.4266, allocations: 69.67 kB / 365 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4266, allocations: 0 / 365 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4267, allocations: 0 / 365 MB, free: 9.617 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.4267, allocations: 0 / 365 MB, free: 9.617 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007968/0.4275, allocations: 383.1 kB / 365.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4276, allocations: 19.97 kB / 365.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.4276, allocations: 11.89 kB / 365.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.4279, allocations: 194.9 kB / 365.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.428, allocations: 4 kB / 365.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.428, allocations: 12 kB / 365.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.4283, allocations: 89.58 kB / 365.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4284, allocations: 0 / 365.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4284, allocations: 7.953 kB / 365.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4284, allocations: 0 / 365.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.4287, allocations: 59.97 kB / 365.7 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.4295, allocations: 372.5 kB / 366.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.4298, allocations: 62.55 kB / 366.2 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.4298, allocations: 4.094 kB / 366.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/0.4301, allocations: 99.33 kB / 366.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.4302, allocations: 4 kB / 366.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005633/0.4307, allocations: 129.4 kB / 366.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.4308, allocations: 63.39 kB / 366.5 MB, free: 7.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.431, allocations: 122.2 kB / 366.6 MB, free: 7.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.431, allocations: 29.7 kB / 366.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4311, allocations: 174.7 kB / 366.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.4312, allocations: 23.72 kB / 366.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.4312, allocations: 0 / 366.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4314, allocations: 322.8 kB / 367.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4315, allocations: 27.98 kB / 367.1 MB, free: 7.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4317, allocations: 91.3 kB / 367.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.4319, allocations: 32 kB / 367.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.4319, allocations: 0 / 367.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004275/0.4323, allocations: 145.3 kB / 367.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4324, allocations: 4 kB / 367.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4324, allocations: 4 kB / 367.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.4324, allocations: 4 kB / 367.4 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4327, allocations: 39.86 kB / 367.5 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4327, allocations: 4.219 kB / 367.5 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4328, allocations: 11.94 kB / 367.5 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4328, allocations: 4 kB / 367.5 MB, free: 6.879 MB / 298.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,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.0001819/0.433, allocations: 129.8 kB / 367.6 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.4331, allocations: 11.86 kB / 367.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.4331, allocations: 8.719 kB / 367.6 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4332, allocations: 4 kB / 367.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4332, allocations: 0 / 367.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4332, allocations: 4 kB / 367.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.4335, allocations: 213.6 kB / 367.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4335, allocations: 0 / 367.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.4337, allocations: 15.98 kB / 367.9 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4337, allocations: 3.953 kB / 367.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4338, allocations: 0 / 367.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4338, allocations: 3.984 kB / 367.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4338, allocations: 0 / 367.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.4344, allocations: 177.2 kB / 368 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.4345, allocations: 85.14 kB / 368.1 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.4345, allocations: 11.92 kB / 368.1 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4346, allocations: 8 kB / 368.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4347, allocations: 7.984 kB / 368.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4347, allocations: 4 kB / 368.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4349, allocations: 109.7 kB / 368.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4349, allocations: 0 / 368.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003047/0.4352, allocations: 16 kB / 368.3 MB, free: 5.98 MB / 298.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,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.0001507/0.4353, allocations: 107.2 kB / 368.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.4357, allocations: 75.84 kB / 368.5 MB, free: 5.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4357, allocations: 4.438 kB / 368.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.4359, allocations: 35.98 kB / 368.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.4361, allocations: 11.98 kB / 368.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.4369, allocations: 316.6 kB / 368.8 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4373, allocations: 0.7043 MB / 369.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.4374, allocations: 15.42 kB / 369.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4374, allocations: 0 / 369.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of Templates: time 0.004183/0.4416, allocations: 1.285 MB / 370.8 MB, free: 3.371 MB / 298.7 MB