Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.553e-05, allocations: 8 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09098, allocations: 48.69 MB / 321.7 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5328, allocations: 73.08 MB / 394.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.533, allocations: 58.58 kB / 394.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006466/0.5395, allocations: 1.767 MB / 396.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.879e-06/0.5395, allocations: 0 / 396.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.391e-06/0.5396, allocations: 0 / 396.7 MB, free: 6.723 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000277/0.5398, allocations: 359.4 kB / 397 MB, free: 6.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.5399, allocations: 7.562 kB / 397 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.5399, allocations: 11.72 kB / 397 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.54, allocations: 170.6 kB / 397.2 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.54, allocations: 11.66 kB / 397.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.5401, allocations: 3.875 kB / 397.2 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.5402, allocations: 54.03 kB / 397.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5402, allocations: 0 / 397.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.682e-06/0.5402, allocations: 0 / 397.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-06/0.5403, allocations: 3.844 kB / 397.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.5403, allocations: 26.5 kB / 397.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.5405, allocations: 182.9 kB / 397.5 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.5407, allocations: 51.92 kB / 397.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.5408, allocations: 23.98 kB / 397.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.541, allocations: 113.7 kB / 397.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.5411, allocations: 34.5 kB / 397.7 MB, free: 5.734 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.397e-06/0.5411, allocations: 0 / 397.7 MB, free: 5.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.03712/0.5782, allocations: 2.058 MB / 399.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.5783, allocations: 55.28 kB / 399.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.5783, allocations: 93.16 kB / 399.9 MB, free: 5.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.5784, allocations: 29.52 kB / 399.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.5784, allocations: 154.5 kB / 400.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.457e-05/0.5785, allocations: 59.88 kB / 400.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.5786, allocations: 0 / 400.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.5786, allocations: 323 kB / 400.4 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.5789, allocations: 144.5 kB / 400.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.5793, allocations: 141.2 kB / 400.7 MB, free: 4.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.5798, allocations: 158.8 kB / 400.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-06/0.5798, allocations: 3.938 kB / 400.9 MB, free: 4.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001014/0.5808, allocations: 394.9 kB / 401.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5809, allocations: 3.844 kB / 401.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.13e-06/0.5809, allocations: 0 / 401.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5809, allocations: 7.781 kB / 401.3 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.5814, allocations: 78.62 kB / 401.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.961e-06/0.5814, allocations: 256 / 401.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.5817, allocations: 33.41 kB / 401.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.5818, allocations: 18.41 kB / 401.4 MB, free: 4.59 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 (19): * Single equations (assignments): 19 * 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.0001029/0.5819, allocations: 116.3 kB / 401.5 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.5819, allocations: 7.75 kB / 401.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.5833, allocations: 478.7 kB / 402 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.197e-06/0.5834, allocations: 3.781 kB / 402 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-06/0.5834, allocations: 0 / 402 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-06/0.5834, allocations: 1.969 kB / 402 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.5857, allocations: 0.8535 MB / 402.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.497e-06/0.5857, allocations: 3.406 kB / 402.9 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.5861, allocations: 77.58 kB / 402.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.432e-06/0.5861, allocations: 7.859 kB / 402.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.5862, allocations: 11.62 kB / 402.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.202e-06/0.5862, allocations: 7.828 kB / 403 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.975e-06/0.5862, allocations: 7.906 kB / 403 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008782/0.5871, allocations: 465.5 kB / 403.4 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.5872, allocations: 84.98 kB / 403.5 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.5872, allocations: 3.875 kB / 403.5 MB, free: 19.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.5875, allocations: 34.91 kB / 403.5 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.5876, allocations: 15.09 kB / 403.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.5876, allocations: 15.38 kB / 403.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.5877, allocations: 85.45 kB / 403.7 MB, free: 19.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.36e-06/0.5877, allocations: 0 / 403.7 MB, free: 19.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001016/0.5887, allocations: 348 kB / 404 MB, free: 19.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001621/0.5904, allocations: 275.6 kB / 404.3 MB, free: 19.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.591, allocations: 266.2 kB / 404.5 MB, free: 19.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.246e-06/0.591, allocations: 0 / 404.5 MB, free: 19.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.5913, allocations: 119.1 kB / 404.6 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.5915, allocations: 15.27 kB / 404.7 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.593, allocations: 383.3 kB / 405 MB, free: 18.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.5934, allocations: 0.6995 MB / 405.7 MB, free: 18.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.5937, allocations: 51.69 kB / 405.8 MB, free: 18.26 MB / 330.7 MB Notification: Performance of SimCode: time 1.602e-06/0.5937, allocations: 0 / 405.8 MB, free: 18.26 MB / 330.7 MB Notification: Performance of Templates: time 0.01216/0.6058, allocations: 7.457 MB / 413.2 MB, free: 13.93 MB / 330.7 MB