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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.378e-05, allocations: 6.109 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5526, allocations: 85.35 MB / 495.6 MB, free: 2.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.5528, allocations: 71.95 kB / 495.7 MB, free: 2.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007227/0.5601, allocations: 1.772 MB / 497.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5601, allocations: 2.844 kB / 497.5 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.5601, allocations: 4 kB / 497.5 MB, free: 0.9688 MB / 394.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.0003995/0.5606, allocations: 366.3 kB / 497.8 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5606, allocations: 8.031 kB / 497.8 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.5607, allocations: 4 kB / 497.8 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.5608, allocations: 170.9 kB / 498 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5608, allocations: 4 kB / 498 MB, free: 352 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.5609, allocations: 11.98 kB / 498 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.561, allocations: 45.69 kB / 498.1 MB, free: 288 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5611, allocations: 3.938 kB / 498.1 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5611, allocations: 4 kB / 498.1 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-06/0.5611, allocations: 0 / 498.1 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.653e-05/0.5612, allocations: 31.98 kB / 498.1 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.5614, allocations: 169.6 kB / 498.3 MB, free: 28 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.5617, allocations: 58.59 kB / 498.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.5618, allocations: 20.86 kB / 498.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.5621, allocations: 121.3 kB / 498.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5621, allocations: 34.5 kB / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/0.5622, allocations: 0 / 498.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.03709/0.5992, allocations: 2.057 MB / 0.4888 GB, free: 13.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5993, allocations: 55.41 kB / 0.4889 GB, free: 13.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.5994, allocations: 93 kB / 0.489 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.5995, allocations: 25.7 kB / 0.489 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.5996, allocations: 92.12 kB / 0.4891 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.5997, allocations: 63.2 kB / 0.4891 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.5997, allocations: 4 kB / 0.4891 GB, free: 13.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5999, allocations: 322.8 kB / 0.4895 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.6003, allocations: 144 kB / 0.4896 GB, free: 12.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.6006, allocations: 140 kB / 0.4897 GB, free: 12.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.6011, allocations: 163.9 kB / 0.4899 GB, free: 12.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-06/0.6012, allocations: 0 / 0.4899 GB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001078/0.6022, allocations: 395.9 kB / 0.4903 GB, free: 12.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6023, allocations: 4 kB / 0.4903 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.316e-06/0.6023, allocations: 0 / 0.4903 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6023, allocations: 8 kB / 0.4903 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.6028, allocations: 75.94 kB / 0.4903 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.6029, allocations: 4 kB / 0.4903 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.6031, allocations: 23.98 kB / 0.4904 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.6032, allocations: 19.98 kB / 0.4904 GB, free: 12.02 MB / 410.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.0001456/0.6034, allocations: 116.9 kB / 0.4905 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.6034, allocations: 7.906 kB / 0.4905 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.6048, allocations: 473.8 kB / 0.491 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-06/0.6049, allocations: 4 kB / 0.491 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.444e-06/0.6049, allocations: 0 / 0.491 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-06/0.6049, allocations: 0 / 0.491 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.6074, allocations: 0.8505 MB / 0.4918 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.763e-06/0.6074, allocations: 4 kB / 0.4918 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.6078, allocations: 75.88 kB / 0.4919 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.6079, allocations: 4 kB / 0.4919 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.6079, allocations: 12.17 kB / 0.4919 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.363e-06/0.6079, allocations: 12.2 kB / 0.4919 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.908e-06/0.6079, allocations: 0 / 0.4919 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009364/0.6089, allocations: 471.5 kB / 0.4923 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.609, allocations: 89 kB / 0.4924 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.609, allocations: 0 / 0.4924 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.6093, allocations: 31.98 kB / 0.4925 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.6094, allocations: 19.94 kB / 0.4925 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.6094, allocations: 15.98 kB / 0.4925 GB, free: 9.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.6095, allocations: 79.28 kB / 0.4926 GB, free: 9.602 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.6095, allocations: 0 / 0.4926 GB, free: 9.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00111/0.6106, allocations: 355.7 kB / 0.4929 GB, free: 9.254 MB / 410.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.001671/0.6123, allocations: 266.8 kB / 0.4932 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.613, allocations: 274.8 kB / 0.4934 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.44e-06/0.613, allocations: 0 / 0.4934 GB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.6133, allocations: 111.9 kB / 0.4935 GB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.6136, allocations: 11.94 kB / 0.4935 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.615, allocations: 366.5 kB / 0.4939 GB, free: 8.199 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.6154, allocations: 0.7046 MB / 0.4946 GB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.6159, allocations: 92.83 kB / 0.4947 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.6162, allocations: 51.39 kB / 0.4947 GB, free: 7.316 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6162, allocations: 0 / 0.4947 GB, free: 7.316 MB / 410.7 MB Notification: Performance of Templates: time 0.01654/0.6327, allocations: 7.83 MB / 0.5024 GB, free: 15.78 MB / 426.7 MB