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_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.515e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08744, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4194, allocations: 72.7 MB / 394.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4196, allocations: 62.41 kB / 394.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001833/0.4215, allocations: 0.6272 MB / 395.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4215, allocations: 0 / 395.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.977e-06/0.4215, allocations: 4 kB / 395.2 MB, free: 7.098 MB / 314.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.0001719/0.4217, allocations: 313.2 kB / 395.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4217, allocations: 7.688 kB / 395.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.4218, allocations: 3.844 kB / 395.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.952e-05/0.4218, allocations: 165 kB / 395.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4219, allocations: 3.953 kB / 395.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.4219, allocations: 6.844 kB / 395.7 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.422, allocations: 33.3 kB / 395.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.422, allocations: 4 kB / 395.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.709e-06/0.422, allocations: 3.844 kB / 395.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.422, allocations: 0 / 395.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.4221, allocations: 7.172 kB / 395.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.4222, allocations: 149.3 kB / 395.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4224, allocations: 39.22 kB / 395.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.4224, allocations: 11.92 kB / 395.9 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.4227, allocations: 126.5 kB / 396 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.4228, allocations: 30.56 kB / 396.1 MB, free: 6.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.151e-06/0.4228, allocations: 0 / 396.1 MB, free: 6.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.00108/0.4239, allocations: 159.5 kB / 396.2 MB, free: 6.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.4239, allocations: 54.03 kB / 396.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.684e-05/0.424, allocations: 100.7 kB / 396.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.424, allocations: 25.7 kB / 396.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.45e-05/0.424, allocations: 81.12 kB / 396.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4241, allocations: 14.92 kB / 396.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-06/0.4241, allocations: 0 / 396.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.4241, allocations: 321.9 kB / 396.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.4242, allocations: 3.75 kB / 396.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.4242, allocations: 11.31 kB / 396.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.4243, allocations: 15.97 kB / 396.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.4243, allocations: 0 / 396.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001284/0.4244, allocations: 63.14 kB / 396.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4245, allocations: 7.75 kB / 396.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-06/0.4245, allocations: 0 / 396.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4245, allocations: 3.688 kB / 396.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4246, allocations: 14.61 kB / 396.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.169e-06/0.4247, allocations: 0 / 396.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.685e-05/0.4248, allocations: 10.95 kB / 396.9 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.4248, allocations: 8.906 kB / 396.9 MB, free: 5.461 MB / 314.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 4.71e-05/0.4249, allocations: 104.9 kB / 397 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.4249, allocations: 11.66 kB / 397 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.4251, allocations: 67.84 kB / 397.1 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-06/0.4251, allocations: 0 / 397.1 MB, free: 5.312 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.82e-06/0.4251, allocations: 4 kB / 397.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.421e-06/0.4251, allocations: 1.688 kB / 397.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.4257, allocations: 343.9 kB / 397.5 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-06/0.4257, allocations: 0 / 397.5 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4258, allocations: 17.45 kB / 397.5 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-06/0.4258, allocations: 4.031 kB / 397.5 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-06/0.4259, allocations: 0 / 397.5 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.974e-06/0.4259, allocations: 3.781 kB / 397.5 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4259, allocations: 0 / 397.5 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.426, allocations: 174.8 kB / 397.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.4261, allocations: 80.8 kB / 397.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4261, allocations: 4.875 kB / 397.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4262, allocations: 6.922 kB / 397.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.4263, allocations: 3.75 kB / 397.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.4263, allocations: 3.656 kB / 397.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.06e-05/0.4263, allocations: 75.28 kB / 397.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.4263, allocations: 0 / 397.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.4267, allocations: 14.61 kB / 397.8 MB, free: 4.66 MB / 314.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.0001275/0.4268, allocations: 106.1 kB / 397.9 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.427, allocations: 33.36 kB / 398 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.172e-06/0.427, allocations: 3.938 kB / 398 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.427, allocations: 11.22 kB / 398 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.4272, allocations: 5.359 kB / 398 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.4276, allocations: 98.22 kB / 398.1 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.428, allocations: 0.6799 MB / 398.8 MB, free: 19.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.123e-05/0.4281, allocations: 7.938 kB / 398.8 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.4281, allocations: 14.36 kB / 398.8 MB, free: 19.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.581e-06/0.4281, allocations: 0 / 398.8 MB, free: 19.76 MB / 330.7 MB Notification: Performance of Templates: time 0.002914/0.431, allocations: 0.591 MB / 399.4 MB, free: 19.71 MB / 330.7 MB