Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.014e-05, allocations: 7.984 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3592, allocations: 48.69 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006742/0.3599, allocations: 224.3 kB / 325.1 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.362, allocations: 1.296 MB / 326.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.362, allocations: 0 / 326.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.362, allocations: 4.922 kB / 326.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.741e-05/0.3621, allocations: 0 / 326.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.3627, allocations: 132.8 kB / 326.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.315e-05/0.3628, allocations: 8.891 kB / 326.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.3628, allocations: 0 / 326.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.3628, allocations: 3.344 kB / 326.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.3629, allocations: 2.75 kB / 326.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005634/0.3635, allocations: 254.3 kB / 326.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.717e-05/0.3635, allocations: 16.53 kB / 326.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.3636, allocations: 6.391 kB / 326.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.273e-05/0.3636, allocations: 0 / 326.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3638, allocations: 91.36 kB / 326.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3638, allocations: 0 / 326.9 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3638, allocations: 4 kB / 326.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.3638, allocations: 0 / 326.9 MB, free: 2.102 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002868/0.3641, allocations: 330.8 kB / 327.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3642, allocations: 8.812 kB / 327.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3642, allocations: 2.453 kB / 327.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.018e-05/0.3643, allocations: 164.3 kB / 327.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.3643, allocations: 1.172 kB / 327.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3643, allocations: 1.094 kB / 327.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3645, allocations: 41.92 kB / 327.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3645, allocations: 0 / 327.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3645, allocations: 1.25 kB / 327.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3645, allocations: 0 / 327.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.3646, allocations: 15.55 kB / 327.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.3649, allocations: 239.1 kB / 327.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.3649, allocations: 16.59 kB / 327.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.365, allocations: 5.25 kB / 327.7 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.365, allocations: 34.08 kB / 327.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.365, allocations: 0 / 327.7 MB, free: 1.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.000135/0.3651, allocations: 39.7 kB / 327.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.3652, allocations: 52.44 kB / 327.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.3652, allocations: 90.56 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.3652, allocations: 25.7 kB / 327.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.3653, allocations: 164.9 kB / 328.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.151e-06/0.3653, allocations: 1.062 kB / 328.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.3653, allocations: 0 / 328.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.3654, allocations: 316.9 kB / 328.4 MB, free: 476 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.3654, allocations: 2.672 kB / 328.4 MB, free: 476 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.3654, allocations: 27.19 kB / 328.4 MB, free: 444 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.3655, allocations: 8.312 kB / 328.4 MB, free: 440 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3655, allocations: 0 / 328.4 MB, free: 440 kB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.798e-05/0.3656, allocations: 56.03 kB / 328.5 MB, free: 392 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3656, allocations: 9.797 kB / 328.5 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3656, allocations: 1.125 kB / 328.5 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3657, allocations: 4.688 kB / 328.5 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.3657, allocations: 10.39 kB / 328.5 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3657, allocations: 0 / 328.5 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.3658, allocations: 6.094 kB / 328.5 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.3658, allocations: 4.688 kB / 328.5 MB, free: 384 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.169e-05/0.3659, allocations: 116.7 kB / 328.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3659, allocations: 0 / 328.6 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.366, allocations: 43.7 kB / 328.7 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.366, allocations: 0.9375 kB / 328.7 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3661, allocations: 0.8906 kB / 328.7 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3661, allocations: 1.156 kB / 328.7 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3662, allocations: 159.5 kB / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3662, allocations: 0.9844 kB / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.3662, allocations: 1.188 kB / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3662, allocations: 0 / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3663, allocations: 1.094 kB / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3663, allocations: 0 / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3663, allocations: 2.516 kB / 328.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3664, allocations: 135.5 kB / 329 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3665, allocations: 79.39 kB / 329 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3665, allocations: 1.188 kB / 329 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.3666, allocations: 2.203 kB / 329 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.3666, allocations: 0.5625 kB / 329 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3666, allocations: 1.062 kB / 329 MB, free: 15.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.045e-05/0.3667, allocations: 78.22 kB / 329.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3667, allocations: 0 / 329.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.3671, allocations: 44.45 kB / 329.2 MB, free: 15.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003596/0.3675, allocations: 140 kB / 329.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.004e-05/0.3676, allocations: 15.41 kB / 329.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3676, allocations: 0 / 329.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.3676, allocations: 29.83 kB / 329.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.3678, allocations: 5.656 kB / 329.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.368, allocations: 112.2 kB / 329.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3683, allocations: 0.6837 MB / 330.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.3683, allocations: 13.5 kB / 330.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3683, allocations: 0 / 330.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Templates: time 0.003489/0.3718, allocations: 1.009 MB / 331.2 MB, free: 14.6 MB / 282.7 MB