Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-05/5.502e-05, allocations: 0 / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5535, allocations: 85.54 MB / 495.8 MB, free: 2.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5538, allocations: 64.97 kB / 495.9 MB, free: 2.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.5677, allocations: 3.044 MB / 498.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5677, allocations: 0 / 498.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5677, allocations: 0 / 498.9 MB, free: 15.45 MB / 410.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.0004079/0.5682, allocations: 366.3 kB / 499.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5682, allocations: 8.031 kB / 499.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.5683, allocations: 7.938 kB / 499.3 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.5684, allocations: 174.9 kB / 499.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5685, allocations: 11.95 kB / 499.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.5685, allocations: 4 kB / 499.5 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.5686, allocations: 57.62 kB / 499.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5687, allocations: 0 / 499.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5687, allocations: 0 / 499.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5687, allocations: 0 / 499.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.5688, allocations: 31.92 kB / 499.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.569, allocations: 162.5 kB / 499.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.5693, allocations: 63.41 kB / 499.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/0.5694, allocations: 28.81 kB / 499.8 MB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/0.5697, allocations: 109.1 kB / 499.9 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5697, allocations: 34.55 kB / 500 MB, free: 14.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.469e-06/0.5698, allocations: 4 kB / 500 MB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1257/0.6955, allocations: 5.375 MB / 0.4935 GB, free: 8.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.6956, allocations: 59.39 kB / 0.4936 GB, free: 8.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.6957, allocations: 93 kB / 0.4936 GB, free: 8.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.6958, allocations: 29.7 kB / 0.4937 GB, free: 8.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.6958, allocations: 84.14 kB / 0.4938 GB, free: 8.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.696, allocations: 67 kB / 0.4938 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.696, allocations: 4 kB / 0.4938 GB, free: 8.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6962, allocations: 322.8 kB / 0.4941 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.6967, allocations: 187.9 kB / 0.4943 GB, free: 7.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.6972, allocations: 195.8 kB / 0.4945 GB, free: 7.762 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.6985, allocations: 235.8 kB / 0.4947 GB, free: 7.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.583e-06/0.6985, allocations: 0 / 0.4947 GB, free: 7.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00205/0.7005, allocations: 0.531 MB / 0.4952 GB, free: 6.996 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.7006, allocations: 11.98 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-06/0.7006, allocations: 0 / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.7006, allocations: 0 / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008854/0.7015, allocations: 111.8 kB / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.7016, allocations: 7.938 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.7021, allocations: 31.97 kB / 0.4954 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.7022, allocations: 31.94 kB / 0.4954 GB, free: 6.805 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.0001725/0.7024, allocations: 109 kB / 0.4955 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.7025, allocations: 11.86 kB / 0.4955 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.7051, allocations: 0.654 MB / 0.4962 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.338e-06/0.7051, allocations: 0 / 0.4962 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7051, allocations: 4 kB / 0.4962 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.293e-06/0.7051, allocations: 0 / 0.4962 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/0.7101, allocations: 1.109 MB / 0.4973 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.862e-06/0.7101, allocations: 0 / 0.4973 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.7109, allocations: 112 kB / 0.4974 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.643e-06/0.7109, allocations: 192 / 0.4974 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.711, allocations: 31.95 kB / 0.4974 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.164e-06/0.711, allocations: 3.938 kB / 0.4974 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.118e-06/0.711, allocations: 7.953 kB / 0.4974 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.7129, allocations: 0.576 MB / 0.498 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.713, allocations: 89.02 kB / 0.4981 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.713, allocations: 4 kB / 0.4981 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.7136, allocations: 35.95 kB / 0.4981 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.7137, allocations: 27.86 kB / 0.4981 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.7138, allocations: 31.95 kB / 0.4982 GB, free: 3.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.209e-05/0.7138, allocations: 83.22 kB / 0.4982 GB, free: 3.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.7139, allocations: 0 / 0.4982 GB, free: 3.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002013/0.7159, allocations: 0.6286 MB / 0.4989 GB, free: 3.117 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.003622/0.7195, allocations: 338.7 kB / 0.4992 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.7206, allocations: 363.8 kB / 0.4995 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7206, allocations: 0 / 0.4995 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004352/0.7211, allocations: 167.8 kB / 0.4997 GB, free: 2.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.7213, allocations: 11.92 kB / 0.4997 GB, free: 2.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.7242, allocations: 474.3 kB / 0.5001 GB, free: 1.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.7246, allocations: 0.6968 MB / 0.5008 GB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000771/0.7254, allocations: 125.1 kB / 0.5009 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.7258, allocations: 91.28 kB / 0.501 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of SimCode: time 1.708e-06/0.7258, allocations: 0 / 0.501 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of Templates: time 0.04021/0.766, allocations: 20.55 MB / 0.5211 GB, free: 12.72 MB / 442.7 MB