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.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.815e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0822/0.08225, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006366/0.08868, allocations: 3.285 MB / 270.2 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.09165, allocations: 1.056 MB / 271.3 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.09214, allocations: 12 kB / 271.3 MB, free: 12.1 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.09243, allocations: 87.34 kB / 271.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007498/0.0932, allocations: 243.2 kB / 271.6 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.09372, allocations: 135.7 kB / 271.7 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.09476, allocations: 487.2 kB / 272.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.09511, allocations: 135 kB / 272.3 MB, free: 11.03 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.09567, allocations: 279.3 kB / 272.6 MB, free: 10.75 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007031/0.09639, allocations: 307 kB / 272.9 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.09661, allocations: 40 kB / 272.9 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.09677, allocations: 40 kB / 273 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.09695, allocations: 127.5 kB / 273.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.09719, allocations: 76 kB / 273.2 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.09811, allocations: 0.6154 MB / 273.8 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.09813, allocations: 0 / 273.8 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09814, allocations: 0 / 273.8 MB, free: 9.559 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.09817, allocations: 0 / 273.8 MB, free: 9.559 MB / 234.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.002477/0.1007, allocations: 0.8844 MB / 274.7 MB, free: 8.613 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.1007, allocations: 16.02 kB / 274.7 MB, free: 8.598 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/0.1011, allocations: 83.06 kB / 274.8 MB, free: 8.516 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.102, allocations: 419.8 kB / 275.2 MB, free: 8.059 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.1023, allocations: 104.4 kB / 275.3 MB, free: 7.945 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1024, allocations: 44 kB / 275.3 MB, free: 7.902 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.1043, allocations: 0.656 MB / 276 MB, free: 7.176 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.1043, allocations: 0 / 276 MB, free: 7.176 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1045, allocations: 20 kB / 276 MB, free: 7.156 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.1045, allocations: 11.94 kB / 276 MB, free: 7.145 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.1065, allocations: 479.7 kB / 276.5 MB, free: 6.672 MB / 234.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.005051/0.1116, allocations: 1.905 MB / 278.4 MB, free: 4.645 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/0.1155, allocations: 0.7455 MB / 279.1 MB, free: 3.871 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.618e-05/0.1156, allocations: 16.36 kB / 279.1 MB, free: 3.855 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.1157, allocations: 50.95 kB / 279.2 MB, free: 3.797 MB / 234.7 MB Notification: Performance of pre-optimization done (n=54): time 3.777e-06/0.1157, allocations: 0 / 279.2 MB, free: 3.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=54): time 0.009529/0.1252, allocations: 1.586 MB / 280.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003172/0.1256, allocations: 0.5721 MB / 281.4 MB, free: 1.43 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/0.1265, allocations: 430.1 kB / 281.8 MB, free: 1.004 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.1267, allocations: 37.7 kB / 281.8 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.127, allocations: 276.8 kB / 282.1 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.1273, allocations: 189.3 kB / 282.3 MB, free: 0.5 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1273, allocations: 8 kB / 282.3 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1275, allocations: 370.8 kB / 282.6 MB, free: 124 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009696/0.1285, allocations: 209 kB / 282.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.1297, allocations: 420.5 kB / 283.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.1308, allocations: 275.9 kB / 283.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.1308, allocations: 4 kB / 283.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004284/0.1351, allocations: 0.8575 MB / 284.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.1352, allocations: 34.91 kB / 284.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1352, allocations: 0 / 284.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.137, allocations: 234.4 kB / 284.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.1385, allocations: 135.8 kB / 284.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.1511, allocations: 5.321 MB / 290.1 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.1524, allocations: 95.69 kB / 290.2 MB, free: 8.043 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.1525, allocations: 16 kB / 290.2 MB, free: 8.027 MB / 250.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.0004053/0.1529, allocations: 186 kB / 290.4 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.1531, allocations: 67.25 kB / 290.5 MB, free: 7.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.1574, allocations: 0.8317 MB / 291.3 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1574, allocations: 4 kB / 291.3 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1575, allocations: 0 / 291.3 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004036/0.1615, allocations: 1.089 MB / 292.4 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/0.1677, allocations: 1.502 MB / 293.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.1677, allocations: 4 kB / 293.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/0.1693, allocations: 127.8 kB / 294 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.171, allocations: 193.5 kB / 294.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.1711, allocations: 8 kB / 294.2 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.242/0.4132, allocations: 3.593 MB / 297.8 MB, free: 29.55 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4133, allocations: 3.406 kB / 297.8 MB, free: 29.55 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.4188, allocations: 1.126 MB / 298.9 MB, free: 29.4 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.4194, allocations: 196.1 kB / 299.1 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.4196, allocations: 15.89 kB / 299.1 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009675/0.4205, allocations: 49.34 kB / 299.2 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.4208, allocations: 47.69 kB / 299.2 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.4208, allocations: 15.62 kB / 299.3 MB, free: 29.31 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006228/0.4215, allocations: 343 kB / 299.6 MB, free: 29.22 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.183e-06/0.4215, allocations: 0 / 299.6 MB, free: 29.22 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001136/0.4226, allocations: 207.9 kB / 299.8 MB, free: 29.22 MB / 250.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.0002005/0.4229, allocations: 118 kB / 299.9 MB, free: 29.13 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004267/0.4271, allocations: 1.079 MB / 301 MB, free: 28.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.4272, allocations: 1.562 kB / 301 MB, free: 28.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.429, allocations: 0.5388 MB / 301.5 MB, free: 28.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.4303, allocations: 157.4 kB / 301.7 MB, free: 28.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.4343, allocations: 1.559 MB / 303.2 MB, free: 27.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.4349, allocations: 0.8938 MB / 304.1 MB, free: 27.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0006772/0.4356, allocations: 69.08 kB / 304.2 MB, free: 27.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.4358, allocations: 50.53 kB / 304.2 MB, free: 27.04 MB / 250.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4358, allocations: 4 kB / 304.3 MB, free: 27.03 MB / 250.7 MB Notification: Performance of Templates: time 0.03267/0.4685, allocations: 11.7 MB / 316 MB, free: 21.92 MB / 250.7 MB