Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.179e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3485, allocations: 48.69 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0008143/0.3494, allocations: 268.6 kB / 325.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.3496, allocations: 60.36 kB / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.3497, allocations: 0 / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.3497, allocations: 0.5625 kB / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3499, allocations: 11.33 kB / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.648e-05/0.3499, allocations: 1.688 kB / 325.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.468e-05/0.35, allocations: 7.453 kB / 325.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.35, allocations: 0 / 325.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.35, allocations: 5.875 kB / 325.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.3501, allocations: 2.969 kB / 325.2 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.3502, allocations: 22.56 kB / 325.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3502, allocations: 2.719 kB / 325.2 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.3502, allocations: 5.875 kB / 325.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.767e-06/0.3503, allocations: 1.125 kB / 325.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.28e-05/0.3503, allocations: 9.516 kB / 325.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3503, allocations: 1.281 kB / 325.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3504, allocations: 0 / 325.2 MB, free: 2.816 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3504, allocations: 0 / 325.2 MB, free: 2.816 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.0002291/0.3506, allocations: 320.8 kB / 325.5 MB, free: 2.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3507, allocations: 9.547 kB / 325.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3507, allocations: 1.156 kB / 325.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.3508, allocations: 163.4 kB / 325.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3508, allocations: 7.953 kB / 325.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3509, allocations: 5.156 kB / 325.7 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.351, allocations: 37.05 kB / 325.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.351, allocations: 0 / 325.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.351, allocations: 1.125 kB / 325.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.351, allocations: 0 / 325.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.3511, allocations: 6.453 kB / 325.8 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.3512, allocations: 151.3 kB / 325.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3514, allocations: 47.2 kB / 326 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/0.352, allocations: 125.1 kB / 326.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.3521, allocations: 35.12 kB / 326.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.3521, allocations: 0 / 326.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.002148/0.3542, allocations: 218.8 kB / 326.3 MB, free: 1.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.3543, allocations: 51.97 kB / 326.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.3544, allocations: 90.7 kB / 326.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3544, allocations: 30.8 kB / 326.5 MB, free: 1.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.3544, allocations: 151.5 kB / 326.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.3545, allocations: 19.38 kB / 326.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.3545, allocations: 0 / 326.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.3545, allocations: 313 kB / 327 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3547, allocations: 27.23 kB / 327 MB, free: 1.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3549, allocations: 24.81 kB / 327 MB, free: 1.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.355, allocations: 27.12 kB / 327.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.355, allocations: 0 / 327.1 MB, free: 1.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003493/0.3554, allocations: 92.34 kB / 327.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3554, allocations: 8.906 kB / 327.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3554, allocations: 2 kB / 327.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3555, allocations: 0 / 327.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3557, allocations: 19.3 kB / 327.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3557, allocations: 0 / 327.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3559, allocations: 8.891 kB / 327.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3559, allocations: 5.547 kB / 327.2 MB, free: 1.055 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 6.737e-05/0.356, allocations: 112.4 kB / 327.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.356, allocations: 5.391 kB / 327.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.3564, allocations: 100.7 kB / 327.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3565, allocations: 1.062 kB / 327.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3565, allocations: 0 / 327.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3565, allocations: 0.6094 kB / 327.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3575, allocations: 376.8 kB / 327.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3575, allocations: 1.312 kB / 327.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3577, allocations: 16.45 kB / 327.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3577, allocations: 1.094 kB / 327.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3578, allocations: 5.219 kB / 327.8 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3578, allocations: 6.922 kB / 327.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3578, allocations: 0 / 327.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.3581, allocations: 198.6 kB / 328 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.283e-05/0.3582, allocations: 79.23 kB / 328.1 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.3582, allocations: 2.5 kB / 328.1 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3584, allocations: 13.2 kB / 328.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3584, allocations: 2.812 kB / 328.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3584, allocations: 6.219 kB / 328.1 MB, free: 276 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.378e-05/0.3585, allocations: 76.31 kB / 328.2 MB, free: 200 kB / 266.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3585, allocations: 0 / 328.2 MB, free: 200 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.3588, allocations: 16.44 kB / 328.2 MB, free: 192 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001428/0.3589, allocations: 99.03 kB / 328.3 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.3593, allocations: 53.81 kB / 328.3 MB, free: 96 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3593, allocations: 3.938 kB / 328.3 MB, free: 92 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3595, allocations: 37.31 kB / 328.4 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.3597, allocations: 8.922 kB / 328.4 MB, free: 76 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.3603, allocations: 174.8 kB / 328.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3606, allocations: 0.6792 MB / 329.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.3607, allocations: 11.69 kB / 329.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3607, allocations: 0 / 329.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of Templates: time 0.002932/0.3637, allocations: 0.6685 MB / 329.9 MB, free: 15.18 MB / 282.7 MB