Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.92e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1271, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006329/0.1278, allocations: 216.6 kB / 411.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.1281, allocations: 87.77 kB / 411.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.1282, allocations: 0 / 411.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.718e-06/0.1282, allocations: 0 / 411.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1284, allocations: 15.97 kB / 411.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.52e-05/0.1284, allocations: 0 / 411.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.765e-05/0.1284, allocations: 4 kB / 411.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.1285, allocations: 0 / 411.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.1285, allocations: 3.984 kB / 411.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.1286, allocations: 11.88 kB / 411.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.1287, allocations: 19.98 kB / 411.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1287, allocations: 0 / 411.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-06/0.1287, allocations: 0 / 411.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.083e-05/0.1287, allocations: 4 kB / 411.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.16e-05/0.1288, allocations: 19.97 kB / 411.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1288, allocations: 0 / 411.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1288, allocations: 0 / 411.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1289, allocations: 0 / 411.3 MB, free: 12.5 MB / 346.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.0002901/0.1292, allocations: 323.3 kB / 411.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1292, allocations: 8.031 kB / 411.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.1292, allocations: 0 / 411.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1294, allocations: 167.1 kB / 411.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1294, allocations: 0 / 411.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1294, allocations: 0 / 411.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1296, allocations: 45.58 kB / 411.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1296, allocations: 0 / 411.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1296, allocations: 4 kB / 411.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1296, allocations: 7.938 kB / 411.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.1297, allocations: 7.984 kB / 411.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.1298, allocations: 145.7 kB / 412 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1301, allocations: 38.61 kB / 412 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/0.1306, allocations: 129.1 kB / 412.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1307, allocations: 34.5 kB / 412.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.1307, allocations: 0 / 412.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.002089/0.1328, allocations: 221.6 kB / 412.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1328, allocations: 55.34 kB / 412.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.1329, allocations: 89 kB / 412.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.133, allocations: 29.83 kB / 412.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.133, allocations: 150.6 kB / 412.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.1331, allocations: 15.8 kB / 412.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.1331, allocations: 0 / 412.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1332, allocations: 318.8 kB / 413 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1334, allocations: 19.98 kB / 413.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1335, allocations: 27.98 kB / 413.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1337, allocations: 23.98 kB / 413.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1337, allocations: 0 / 413.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003465/0.134, allocations: 81.66 kB / 413.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1341, allocations: 8 kB / 413.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1341, allocations: 3.953 kB / 413.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1341, allocations: 0 / 413.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.1343, allocations: 23.92 kB / 413.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1344, allocations: 0 / 413.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1345, allocations: 7.984 kB / 413.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1345, allocations: 0 / 413.2 MB, free: 10.33 MB / 346.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 8.86e-05/0.1346, allocations: 117.8 kB / 413.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1347, allocations: 256 / 413.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.1351, allocations: 97.2 kB / 413.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1351, allocations: 3.953 kB / 413.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1352, allocations: 8 kB / 413.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1352, allocations: 0 / 413.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.1363, allocations: 375.2 kB / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1363, allocations: 0 / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1365, allocations: 23.88 kB / 413.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1365, allocations: 336 / 413.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1365, allocations: 8 kB / 413.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1365, allocations: 0 / 413.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1366, allocations: 0 / 413.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.137, allocations: 198.1 kB / 414.1 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.137, allocations: 85.11 kB / 414.1 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.137, allocations: 3.938 kB / 414.1 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1372, allocations: 11.98 kB / 414.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.1373, allocations: 4 kB / 414.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1373, allocations: 0 / 414.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.1373, allocations: 79.28 kB / 414.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.464e-06/0.1373, allocations: 0 / 414.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.1376, allocations: 15.94 kB / 414.2 MB, free: 9.199 MB / 346.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.0001749/0.1378, allocations: 109.8 kB / 414.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1382, allocations: 47.97 kB / 414.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1382, allocations: 0 / 414.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1384, allocations: 35.91 kB / 414.4 MB, free: 9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1385, allocations: 8.016 kB / 414.4 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.1392, allocations: 169.2 kB / 414.6 MB, free: 8.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1395, allocations: 0.6809 MB / 415.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1396, allocations: 11.44 kB / 415.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1396, allocations: 0 / 415.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of Templates: time 0.002649/0.1422, allocations: 0.6692 MB / 416 MB, free: 7.406 MB / 346.7 MB