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_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.22e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 44.49 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005261/0.2936, allocations: 3.295 MB / 306.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.2963, allocations: 1.063 MB / 307.7 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.2967, allocations: 8 kB / 307.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.297, allocations: 87.28 kB / 307.8 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007615/0.2977, allocations: 239.3 kB / 308 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.2983, allocations: 151.6 kB / 308.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000939/0.2992, allocations: 483.4 kB / 308.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.2995, allocations: 131 kB / 308.7 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000459/0.3, allocations: 283.3 kB / 309 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.3006, allocations: 311 kB / 309.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3007, allocations: 40 kB / 309.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3009, allocations: 40 kB / 309.4 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.301, allocations: 119.6 kB / 309.5 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.3013, allocations: 76 kB / 309.6 MB, free: 7.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.3022, allocations: 0.6231 MB / 310.2 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3022, allocations: 4 kB / 310.2 MB, free: 6.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3022, allocations: 0 / 310.2 MB, free: 6.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.3022, allocations: 0 / 310.2 MB, free: 6.664 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002373/0.3046, allocations: 0.8883 MB / 311.1 MB, free: 5.715 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3047, allocations: 8.031 kB / 311.1 MB, free: 5.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.3049, allocations: 87.02 kB / 311.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/0.3057, allocations: 420 kB / 311.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.306, allocations: 100.4 kB / 311.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3061, allocations: 47.91 kB / 311.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.3079, allocations: 0.6599 MB / 312.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.308, allocations: 0 / 312.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.3081, allocations: 24 kB / 312.4 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.3081, allocations: 16 kB / 312.5 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.31, allocations: 475.7 kB / 312.9 MB, free: 3.773 MB / 250.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.004477/0.3145, allocations: 1.913 MB / 314.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.3181, allocations: 0.7453 MB / 315.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.3182, allocations: 12.42 kB / 315.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3182, allocations: 39 kB / 315.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 3.367e-06/0.3182, allocations: 0 / 315.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.009326/0.3276, allocations: 1.598 MB / 317.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002446/0.3279, allocations: 0.5605 MB / 317.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/0.3287, allocations: 430.2 kB / 318.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.3288, allocations: 41.7 kB / 318.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.3291, allocations: 276.7 kB / 318.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.3293, allocations: 185.2 kB / 318.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.3294, allocations: 12 kB / 318.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3296, allocations: 370.8 kB / 319.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009232/0.3305, allocations: 205 kB / 319.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.3317, allocations: 431.3 kB / 319.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009919/0.3327, allocations: 283.8 kB / 320 MB, free: 12.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.3327, allocations: 0 / 320 MB, free: 12.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004159/0.3369, allocations: 0.8537 MB / 320.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.337, allocations: 34.64 kB / 320.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.337, allocations: 4.031 kB / 320.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.3387, allocations: 230.3 kB / 321.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.3402, allocations: 131.8 kB / 321.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.3523, allocations: 5.305 MB / 326.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3536, allocations: 91.64 kB / 326.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.3537, allocations: 19.98 kB / 326.6 MB, free: 5.145 MB / 266.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.000396/0.3541, allocations: 201.8 kB / 326.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3543, allocations: 71.19 kB / 326.9 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.3584, allocations: 0.8123 MB / 327.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3584, allocations: 11.95 kB / 327.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3584, allocations: 0 / 327.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003868/0.3623, allocations: 1.09 MB / 328.8 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/0.3677, allocations: 1.514 MB / 330.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3677, allocations: 7.938 kB / 330.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.3692, allocations: 135.8 kB / 330.5 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.3707, allocations: 189.5 kB / 330.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.3708, allocations: 15.98 kB / 330.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008442/0.3792, allocations: 3.599 MB / 334.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3792, allocations: 0 / 334.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005039/0.3843, allocations: 1.128 MB / 335.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.3847, allocations: 200.2 kB / 335.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.3849, allocations: 12 kB / 335.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/0.3859, allocations: 39.97 kB / 335.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.386, allocations: 48.48 kB / 335.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.3861, allocations: 16 kB / 335.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005892/0.3867, allocations: 346.8 kB / 336 MB, free: 11.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3867, allocations: 0 / 336 MB, free: 11.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009864/0.3877, allocations: 215.7 kB / 336.2 MB, free: 11 MB / 282.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.0001962/0.3879, allocations: 112.2 kB / 336.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.3918, allocations: 1.081 MB / 337.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3918, allocations: 0 / 337.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.3935, allocations: 0.5512 MB / 338 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3947, allocations: 162.1 kB / 338.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.3981, allocations: 1.525 MB / 339.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.3986, allocations: 0.8953 MB / 340.6 MB, free: 6.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.3992, allocations: 68.66 kB / 340.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3994, allocations: 47.42 kB / 340.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.3994, allocations: 0 / 340.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of Templates: time 0.03105/0.4304, allocations: 11.81 MB / 352.5 MB, free: 10.65 MB / 298.7 MB