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.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.609e-05, allocations: 8 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4518, allocations: 84.28 MB / 466.5 MB, free: 8.254 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.452, allocations: 71.97 kB / 466.6 MB, free: 8.184 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.007163/0.4592, allocations: 1.761 MB / 468.3 MB, free: 6.422 MB / 394.8 MB Notification: Performance of FrontEnd: time 5.022e-06/0.4592, allocations: 0 / 468.3 MB, free: 6.422 MB / 394.8 MB Notification: Performance of Transformations before backend: time 6.94e-06/0.4593, allocations: 3.938 kB / 468.3 MB, free: 6.418 MB / 394.8 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.0003925/0.4597, allocations: 362.3 kB / 468.7 MB, free: 6.02 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4597, allocations: 12.03 kB / 468.7 MB, free: 6.008 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.4598, allocations: 7.859 kB / 468.7 MB, free: 6 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.4599, allocations: 167 kB / 468.9 MB, free: 5.797 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4599, allocations: 4 kB / 468.9 MB, free: 5.793 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.46, allocations: 4 kB / 468.9 MB, free: 5.789 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4601, allocations: 53.67 kB / 468.9 MB, free: 5.73 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4602, allocations: 0 / 468.9 MB, free: 5.73 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4602, allocations: 4 kB / 468.9 MB, free: 5.727 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-06/0.4602, allocations: 0 / 468.9 MB, free: 5.727 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.4603, allocations: 24 kB / 468.9 MB, free: 5.703 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.4605, allocations: 185.5 kB / 469.1 MB, free: 5.473 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.4608, allocations: 54.56 kB / 469.2 MB, free: 5.41 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.4609, allocations: 28.84 kB / 469.2 MB, free: 5.379 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.4611, allocations: 109.1 kB / 469.3 MB, free: 5.254 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4612, allocations: 34.5 kB / 469.3 MB, free: 5.211 MB / 394.8 MB Notification: Performance of pre-optimization done (n=9): time 2.389e-06/0.4612, allocations: 4 kB / 469.4 MB, free: 5.207 MB / 394.8 MB Notification: Performance of matching and sorting (n=19): time 0.03718/0.4984, allocations: 2.05 MB / 471.4 MB, free: 3.117 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4985, allocations: 55.41 kB / 471.5 MB, free: 3.051 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.4986, allocations: 97 kB / 471.6 MB, free: 2.949 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.4987, allocations: 29.7 kB / 471.6 MB, free: 2.914 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.4987, allocations: 88.06 kB / 471.7 MB, free: 2.824 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.4988, allocations: 67 kB / 471.7 MB, free: 2.758 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.4989, allocations: 8.188 kB / 471.7 MB, free: 2.75 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4991, allocations: 326.8 kB / 472.1 MB, free: 2.422 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.4994, allocations: 135.9 kB / 472.2 MB, free: 2.289 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.4997, allocations: 146.9 kB / 472.3 MB, free: 2.148 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.5003, allocations: 159.9 kB / 472.5 MB, free: 1.992 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5003, allocations: 0 / 472.5 MB, free: 1.992 MB / 394.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001053/0.5014, allocations: 389.4 kB / 472.9 MB, free: 1.605 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5014, allocations: 11.98 kB / 472.9 MB, free: 1.594 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-06/0.5014, allocations: 0 / 472.9 MB, free: 1.594 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5014, allocations: 0 / 472.9 MB, free: 1.594 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.502, allocations: 83.88 kB / 473 MB, free: 1.512 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.225e-06/0.502, allocations: 0 / 473 MB, free: 1.512 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5023, allocations: 31.94 kB / 473 MB, free: 1.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.5023, allocations: 15.98 kB / 473 MB, free: 1.465 MB / 394.8 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.0001431/0.5025, allocations: 112.9 kB / 473.1 MB, free: 1.348 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.5025, allocations: 7.906 kB / 473.1 MB, free: 1.34 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.5039, allocations: 485.2 kB / 473.6 MB, free: 0.8594 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-06/0.504, allocations: 0 / 473.6 MB, free: 0.8594 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.456e-06/0.504, allocations: 0 / 473.6 MB, free: 0.8594 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-06/0.504, allocations: 4 kB / 473.6 MB, free: 0.8555 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.5065, allocations: 0.8467 MB / 474.5 MB, free: 15.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-06/0.5065, allocations: 0 / 474.5 MB, free: 15.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.5069, allocations: 71.89 kB / 474.5 MB, free: 15.86 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.5069, allocations: 4 kB / 474.5 MB, free: 15.86 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.507, allocations: 19.98 kB / 474.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.401e-06/0.507, allocations: 8.125 kB / 474.6 MB, free: 15.83 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.545e-06/0.507, allocations: 4 kB / 474.6 MB, free: 15.83 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009144/0.5079, allocations: 458.7 kB / 475 MB, free: 15.31 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/0.508, allocations: 88.95 kB / 475.1 MB, free: 15.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.5081, allocations: 15.94 kB / 475.1 MB, free: 15.19 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.5084, allocations: 23.98 kB / 475.1 MB, free: 15.16 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.5084, allocations: 15.98 kB / 475.1 MB, free: 15.15 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.5085, allocations: 16.23 kB / 475.2 MB, free: 15.13 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.149e-05/0.5085, allocations: 91.28 kB / 475.3 MB, free: 15.04 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.43e-07/0.5086, allocations: 0 / 475.3 MB, free: 15.04 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001096/0.5097, allocations: 343.7 kB / 475.6 MB, free: 14.71 MB / 410.8 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.001658/0.5113, allocations: 270.8 kB / 475.9 MB, free: 14.43 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.512, allocations: 271.9 kB / 476.1 MB, free: 14.17 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.025e-06/0.5121, allocations: 0 / 476.1 MB, free: 14.17 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.5124, allocations: 111.9 kB / 476.2 MB, free: 14.06 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.5126, allocations: 11.94 kB / 476.2 MB, free: 14.05 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.514, allocations: 366.6 kB / 476.6 MB, free: 13.65 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.5144, allocations: 0.7007 MB / 477.3 MB, free: 12.92 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.515, allocations: 92.89 kB / 477.4 MB, free: 12.82 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.5152, allocations: 51.39 kB / 477.4 MB, free: 12.77 MB / 410.8 MB Notification: Performance of SimCode: time 1.424e-06/0.5152, allocations: 0 / 477.4 MB, free: 12.77 MB / 410.8 MB Notification: Performance of Templates: time 0.01596/0.5312, allocations: 7.821 MB / 485.3 MB, free: 5 MB / 410.8 MB