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_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 221.5 MB, free: 7.746 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.076e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08688, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.4257, allocations: 73.07 MB / 394.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4259, allocations: 69.2 kB / 394.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006586/0.4325, allocations: 1.768 MB / 396.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.473e-06/0.4326, allocations: 0 / 396.7 MB, free: 7.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4326, allocations: 0 / 396.7 MB, free: 7.203 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.000276/0.4329, allocations: 355.7 kB / 397 MB, free: 6.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4329, allocations: 11.5 kB / 397 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.433, allocations: 14.09 kB / 397.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.4331, allocations: 170.3 kB / 397.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4331, allocations: 3.781 kB / 397.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.4332, allocations: 7.828 kB / 397.2 MB, free: 6.625 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4333, allocations: 55.14 kB / 397.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4333, allocations: 3.188 kB / 397.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4333, allocations: 0 / 397.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-06/0.4333, allocations: 2.438 kB / 397.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.4334, allocations: 21.88 kB / 397.3 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.4336, allocations: 183.8 kB / 397.5 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.4338, allocations: 55.25 kB / 397.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.4339, allocations: 22.48 kB / 397.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.4341, allocations: 108 kB / 397.7 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.4342, allocations: 34.06 kB / 397.7 MB, free: 6.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 3.306e-06/0.4342, allocations: 7.875 kB / 397.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.03715/0.4713, allocations: 2.057 MB / 399.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.4714, allocations: 59.16 kB / 399.8 MB, free: 5.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.4715, allocations: 92.52 kB / 399.9 MB, free: 5.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4715, allocations: 31.73 kB / 399.9 MB, free: 5.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.4716, allocations: 81.83 kB / 400 MB, free: 5.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.4717, allocations: 60.64 kB / 400.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.4717, allocations: 3.438 kB / 400.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.4718, allocations: 320.7 kB / 400.4 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.4721, allocations: 142.3 kB / 400.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.4724, allocations: 142.6 kB / 400.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.4729, allocations: 166.5 kB / 400.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-06/0.473, allocations: 3.938 kB / 400.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001066/0.474, allocations: 392.6 kB / 401.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4741, allocations: 5.219 kB / 401.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.392e-06/0.4741, allocations: 1.531 kB / 401.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4741, allocations: 1.312 kB / 401.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.4746, allocations: 86.17 kB / 401.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4747, allocations: 2.297 kB / 401.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.4749, allocations: 25.03 kB / 401.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.475, allocations: 18.7 kB / 401.4 MB, free: 5.137 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.0001088/0.4751, allocations: 117.4 kB / 401.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.4752, allocations: 12.84 kB / 401.5 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.4764, allocations: 476.7 kB / 402 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4765, allocations: 0 / 402 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.766e-06/0.4765, allocations: 0 / 402 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.383e-06/0.4765, allocations: 3.844 kB / 402 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.4789, allocations: 0.8547 MB / 402.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.675e-06/0.4789, allocations: 0 / 402.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.4793, allocations: 76.58 kB / 402.9 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.4794, allocations: 7.797 kB / 402.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.4794, allocations: 19.45 kB / 402.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.656e-06/0.4795, allocations: 0 / 402.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.991e-06/0.4795, allocations: 3.875 kB / 402.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.4803, allocations: 467.7 kB / 403.4 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.4804, allocations: 88.97 kB / 403.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.4804, allocations: 3.875 kB / 403.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.4807, allocations: 25.89 kB / 403.5 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.4808, allocations: 22.94 kB / 403.5 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.4808, allocations: 15.67 kB / 403.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.365e-05/0.4809, allocations: 86.62 kB / 403.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.397e-06/0.4809, allocations: 3.938 kB / 403.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001019/0.4819, allocations: 354.3 kB / 404 MB, free: 3.855 MB / 314.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.001639/0.4836, allocations: 271.8 kB / 404.2 MB, free: 3.695 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006201/0.4842, allocations: 265.3 kB / 404.5 MB, free: 3.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.895e-06/0.4842, allocations: 4 kB / 404.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.4845, allocations: 109.5 kB / 404.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4847, allocations: 15.72 kB / 404.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.4862, allocations: 354 kB / 405 MB, free: 3.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.4866, allocations: 0.7001 MB / 405.7 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004877/0.4871, allocations: 90.7 kB / 405.8 MB, free: 18.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.4873, allocations: 58.05 kB / 405.8 MB, free: 18.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.833e-06/0.4874, allocations: 0 / 405.8 MB, free: 18.71 MB / 330.7 MB Notification: Performance of Templates: time 0.0142/0.5016, allocations: 7.82 MB / 413.6 MB, free: 14.57 MB / 330.7 MB