Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.595e-05, allocations: 4 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4232, allocations: 54.87 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007327/0.424, allocations: 262.6 kB / 363.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.4243, allocations: 57.44 kB / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.4243, allocations: 5.406 kB / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.4243, allocations: 0 / 363.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.4245, allocations: 17.38 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.425e-05/0.4245, allocations: 0 / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.407e-05/0.4246, allocations: 0.9375 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.4246, allocations: 0.875 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.4247, allocations: 5.594 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.4247, allocations: 1.438 kB / 363.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.4248, allocations: 22.34 kB / 363.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.4249, allocations: 5.125 kB / 363.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-06/0.4249, allocations: 4 kB / 363.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.436e-06/0.4249, allocations: 1.406 kB / 363.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.283e-05/0.425, allocations: 12.31 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.425, allocations: 1.5 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.425, allocations: 3.938 kB / 363.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.425, allocations: 0 / 363.2 MB, free: 11.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003124/0.4254, allocations: 318.8 kB / 363.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4254, allocations: 9.219 kB / 363.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.4255, allocations: 8.797 kB / 363.6 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4256, allocations: 168.9 kB / 363.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4256, allocations: 0.9375 kB / 363.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.4257, allocations: 5.422 kB / 363.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.4258, allocations: 34.2 kB / 363.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4258, allocations: 0 / 363.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4258, allocations: 3.984 kB / 363.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4258, allocations: 0.9688 kB / 363.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.4259, allocations: 8.359 kB / 363.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.4261, allocations: 157.1 kB / 363.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.4263, allocations: 35.64 kB / 364 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/0.4269, allocations: 125.9 kB / 364.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.427, allocations: 39.5 kB / 364.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.427, allocations: 0 / 364.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.002118/0.4291, allocations: 209 kB / 364.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.4292, allocations: 56.38 kB / 364.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.4293, allocations: 90.83 kB / 364.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4293, allocations: 25.7 kB / 364.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.4294, allocations: 151.1 kB / 364.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.4294, allocations: 22.16 kB / 364.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.4294, allocations: 0 / 364.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4296, allocations: 316.7 kB / 365 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.4297, allocations: 26.02 kB / 365 MB, free: 9.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4299, allocations: 26.38 kB / 365 MB, free: 9.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.43, allocations: 26.95 kB / 365.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4301, allocations: 3.938 kB / 365.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003586/0.4304, allocations: 82.92 kB / 365.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4305, allocations: 4.25 kB / 365.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4305, allocations: 1.281 kB / 365.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4305, allocations: 0 / 365.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.4307, allocations: 17.23 kB / 365.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4307, allocations: 3.984 kB / 365.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4309, allocations: 9.031 kB / 365.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.4309, allocations: 2.281 kB / 365.2 MB, free: 9.887 MB / 298.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 9.922e-05/0.431, allocations: 115 kB / 365.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.4311, allocations: 5.109 kB / 365.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.4315, allocations: 97.5 kB / 365.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.4315, allocations: 1.344 kB / 365.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4315, allocations: 0 / 365.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4315, allocations: 0 / 365.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.4327, allocations: 376.1 kB / 365.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4327, allocations: 1.531 kB / 365.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4329, allocations: 16.39 kB / 365.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.4329, allocations: 320 / 365.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.4329, allocations: 5.438 kB / 365.8 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4329, allocations: 9.5 kB / 365.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4329, allocations: 0 / 365.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.4334, allocations: 208 kB / 366 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4334, allocations: 77.86 kB / 366.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4334, allocations: 9.094 kB / 366.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4336, allocations: 5.438 kB / 366.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.4337, allocations: 6.828 kB / 366.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4337, allocations: 5.422 kB / 366.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.419e-05/0.4337, allocations: 76.81 kB / 366.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4337, allocations: 0 / 366.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000295/0.434, allocations: 15.75 kB / 366.2 MB, free: 8.938 MB / 298.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.0001841/0.4342, allocations: 106.4 kB / 366.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.4346, allocations: 54.8 kB / 366.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.4346, allocations: 0 / 366.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.4348, allocations: 34.86 kB / 366.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.435, allocations: 3.125 kB / 366.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.4357, allocations: 180.4 kB / 366.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.436, allocations: 0.6787 MB / 367.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.4361, allocations: 11.22 kB / 367.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4361, allocations: 0 / 367.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of Templates: time 0.002751/0.4388, allocations: 0.6619 MB / 367.9 MB, free: 7.59 MB / 298.7 MB