Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 224.7 MB / 241.1 MB, free: 15.95 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.338e-05, allocations: 1.688 kB / 294.5 MB, free: 4.441 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 50.43 MB / 345 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00577/0.1121, allocations: 3.401 MB / 348.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.115, allocations: 1.064 MB / 349.4 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.1156, allocations: 8 kB / 349.4 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1159, allocations: 87.34 kB / 349.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008857/0.1168, allocations: 259.2 kB / 349.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1174, allocations: 139.8 kB / 349.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1187, allocations: 495.2 kB / 350.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.1191, allocations: 146.9 kB / 350.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.1197, allocations: 279.3 kB / 350.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.1203, allocations: 311 kB / 351.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.1205, allocations: 40 kB / 351.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.1207, allocations: 40 kB / 351.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.1209, allocations: 127.5 kB / 351.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.1212, allocations: 79.94 kB / 351.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1222, allocations: 0.6313 MB / 352 MB, free: 3.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1222, allocations: 4 kB / 352 MB, free: 3.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1223, allocations: 0 / 352 MB, free: 3.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.1223, allocations: 4 kB / 352 MB, free: 3.961 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002667/0.125, allocations: 0.9046 MB / 352.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.125, allocations: 8.031 kB / 353 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.1254, allocations: 87.06 kB / 353 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.1264, allocations: 427.8 kB / 353.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00023/0.1266, allocations: 96.41 kB / 353.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.1268, allocations: 44 kB / 353.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.1287, allocations: 0.6638 MB / 354.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.1288, allocations: 4 kB / 354.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.1289, allocations: 20 kB / 354.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.1289, allocations: 12 kB / 354.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.1308, allocations: 471.7 kB / 354.8 MB, free: 1.066 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005411/0.1363, allocations: 1.94 MB / 356.7 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003785/0.1401, allocations: 0.7493 MB / 357.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1402, allocations: 16.41 kB / 357.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.1403, allocations: 43 kB / 357.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 3.656e-06/0.1403, allocations: 0 / 357.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.009736/0.1501, allocations: 1.598 MB / 359.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/0.1504, allocations: 0.5644 MB / 359.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.1513, allocations: 438.3 kB / 360.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.1515, allocations: 37.7 kB / 360.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.1518, allocations: 319.1 kB / 360.4 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.1521, allocations: 189.2 kB / 360.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1522, allocations: 8 kB / 360.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1523, allocations: 334.8 kB / 361 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.1534, allocations: 205 kB / 361.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.1548, allocations: 424.5 kB / 361.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.156, allocations: 264 kB / 361.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.1561, allocations: 0 / 361.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004349/0.1604, allocations: 0.8152 MB / 362.6 MB, free: 8.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.1606, allocations: 37.69 kB / 362.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1606, allocations: 0 / 362.7 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.1624, allocations: 230.3 kB / 362.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.1639, allocations: 139.8 kB / 363 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.1767, allocations: 5.306 MB / 368.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.1781, allocations: 91.72 kB / 368.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.1782, allocations: 19.98 kB / 368.5 MB, free: 2.445 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004543/0.1787, allocations: 193.9 kB / 368.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.1789, allocations: 75.11 kB / 368.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.1832, allocations: 0.8203 MB / 369.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.1833, allocations: 8 kB / 369.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1833, allocations: 0 / 369.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004085/0.1874, allocations: 1.082 MB / 370.6 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005735/0.1932, allocations: 1.522 MB / 372.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.1933, allocations: 0 / 372.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.1948, allocations: 135.8 kB / 372.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.1965, allocations: 185.5 kB / 372.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.796e-05/0.1967, allocations: 8 kB / 372.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008888/0.2056, allocations: 3.603 MB / 376.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2056, allocations: 0 / 376.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.2111, allocations: 1.121 MB / 377.2 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.2117, allocations: 200.1 kB / 377.4 MB, free: 8.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.2119, allocations: 15.95 kB / 377.4 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.2129, allocations: 51.89 kB / 377.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.2132, allocations: 44.88 kB / 377.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.2132, allocations: 15.92 kB / 377.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006728/0.2139, allocations: 350.9 kB / 377.9 MB, free: 8.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2139, allocations: 0 / 377.9 MB, free: 8.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001191/0.2151, allocations: 215.8 kB / 378.1 MB, free: 8.309 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/0.2154, allocations: 127.2 kB / 378.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00432/0.2197, allocations: 1.061 MB / 379.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.472e-05/0.2198, allocations: 0 / 379.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.2218, allocations: 0.5474 MB / 379.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.2233, allocations: 162.4 kB / 380 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.2273, allocations: 1.555 MB / 381.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.228, allocations: 0.9031 MB / 382.4 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.2284, allocations: 47.44 kB / 382.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2284, allocations: 3.938 kB / 382.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of Templates: time 0.02909/0.2575, allocations: 14.21 MB / 396.7 MB, free: 5.602 MB / 330.7 MB