Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.108e-05, allocations: 3.984 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5403, allocations: 84.93 MB / 495.2 MB, free: 3.223 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.5405, allocations: 65.03 kB / 495.3 MB, free: 3.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002131/0.5427, allocations: 0.6149 MB / 495.9 MB, free: 2.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.798e-06/0.5427, allocations: 0 / 495.9 MB, free: 2.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.227e-06/0.5427, allocations: 0 / 495.9 MB, free: 2.547 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002875/0.543, allocations: 313.9 kB / 496.2 MB, free: 2.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5431, allocations: 8.031 kB / 496.2 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.5431, allocations: 11.91 kB / 496.2 MB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.5433, allocations: 167 kB / 496.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-06/0.5433, allocations: 0 / 496.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.5433, allocations: 0 / 496.4 MB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.5434, allocations: 41.58 kB / 496.4 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5435, allocations: 0 / 496.4 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-06/0.5435, allocations: 1.75 kB / 496.4 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.559e-06/0.5435, allocations: 3.984 kB / 496.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.5435, allocations: 12 kB / 496.4 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.5437, allocations: 153.7 kB / 496.6 MB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.5439, allocations: 30.58 kB / 496.6 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.544, allocations: 12.86 kB / 496.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.5444, allocations: 125.1 kB / 496.7 MB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5444, allocations: 38.45 kB / 496.8 MB, free: 1.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.528e-06/0.5445, allocations: 3.938 kB / 496.8 MB, free: 1.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001228/0.5457, allocations: 161.5 kB / 496.9 MB, free: 1.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.5458, allocations: 51.41 kB / 497 MB, free: 1.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.5458, allocations: 85 kB / 497.1 MB, free: 1.152 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.5459, allocations: 28.55 kB / 497.1 MB, free: 1.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.5459, allocations: 84.27 kB / 497.2 MB, free: 1.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.546, allocations: 19.72 kB / 497.2 MB, free: 1.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-06/0.546, allocations: 3.938 kB / 497.2 MB, free: 1.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5462, allocations: 314.8 kB / 497.5 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/0.5462, allocations: 12 kB / 497.5 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.5463, allocations: 12 kB / 497.5 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.5463, allocations: 4 kB / 497.5 MB, free: 0.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-06/0.5463, allocations: 0 / 497.5 MB, free: 0.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001525/0.5465, allocations: 58.56 kB / 497.6 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5465, allocations: 7.953 kB / 497.6 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.921e-06/0.5466, allocations: 4 kB / 497.6 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5466, allocations: 4 kB / 497.6 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.5468, allocations: 15.98 kB / 497.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.143e-06/0.5468, allocations: 0 / 497.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.5469, allocations: 12.23 kB / 497.6 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5469, allocations: 4 kB / 497.6 MB, free: 0.5586 MB / 394.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 (5): * Single equations (assignments): 5 * 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 9.144e-05/0.547, allocations: 108.9 kB / 497.8 MB, free: 456 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.5471, allocations: 4 kB / 497.8 MB, free: 452 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.5473, allocations: 77.19 kB / 497.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-06/0.5473, allocations: 0 / 497.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.849e-06/0.5473, allocations: 0 / 497.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.5473, allocations: 0 / 497.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.5481, allocations: 335.4 kB / 498.2 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.191e-06/0.5481, allocations: 3.953 kB / 498.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.5483, allocations: 19.92 kB / 498.2 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-06/0.5483, allocations: 4 kB / 498.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5483, allocations: 3.984 kB / 498.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5483, allocations: 0 / 498.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.729e-06/0.5483, allocations: 0 / 498.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.5486, allocations: 182 kB / 498.4 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.5486, allocations: 81.11 kB / 498.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5487, allocations: 0 / 498.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5488, allocations: 7.984 kB / 498.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.5489, allocations: 4 kB / 498.5 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-06/0.5489, allocations: 4 kB / 498.5 MB, free: 15.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.5489, allocations: 79.28 kB / 498.5 MB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.549, allocations: 0 / 498.5 MB, free: 15.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.5493, allocations: 15.94 kB / 498.6 MB, free: 15.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000159/0.5495, allocations: 99.23 kB / 498.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.5496, allocations: 27.94 kB / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.644e-06/0.5496, allocations: 4 kB / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/0.5497, allocations: 20.08 kB / 498.7 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.5499, allocations: 10.39 kB / 498.7 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.5503, allocations: 89.83 kB / 498.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.5507, allocations: 0.6809 MB / 499.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.5508, allocations: 8.312 kB / 499.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.5508, allocations: 7.438 kB / 499.5 MB, free: 14.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.326e-06/0.5508, allocations: 0 / 499.5 MB, free: 14.53 MB / 410.7 MB Notification: Performance of Templates: time 0.00348/0.5543, allocations: 0.6003 MB / 0.4884 GB, free: 13.93 MB / 410.7 MB