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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.792e-05, allocations: 0 / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005695/0.327, allocations: 3.294 MB / 306.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.33, allocations: 1.061 MB / 307.6 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005002/0.3306, allocations: 9.344 kB / 307.7 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3309, allocations: 81.61 kB / 307.7 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008724/0.3318, allocations: 246 kB / 308 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.3324, allocations: 139.4 kB / 308.1 MB, free: 8.844 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.3336, allocations: 482.7 kB / 308.6 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.334, allocations: 146.9 kB / 308.7 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005751/0.3346, allocations: 275.4 kB / 309 MB, free: 7.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005718/0.3352, allocations: 307 kB / 309.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3354, allocations: 40 kB / 309.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.3355, allocations: 40 kB / 309.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3357, allocations: 123.5 kB / 309.5 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.3359, allocations: 76 kB / 309.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000943/0.3369, allocations: 0.6211 MB / 310.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3369, allocations: 7.875 kB / 310.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3369, allocations: 0 / 310.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3369, allocations: 0 / 310.2 MB, free: 6.777 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.002551/0.3395, allocations: 0.8922 MB / 311.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3396, allocations: 8.031 kB / 311.1 MB, free: 5.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.3399, allocations: 95.02 kB / 311.2 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.3408, allocations: 416 kB / 311.6 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.341, allocations: 92.41 kB / 311.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3411, allocations: 55.83 kB / 311.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.343, allocations: 0.6561 MB / 312.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3431, allocations: 0 / 312.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.3432, allocations: 28 kB / 312.4 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3432, allocations: 12 kB / 312.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.3451, allocations: 475.7 kB / 312.9 MB, free: 3.883 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.005033/0.3502, allocations: 1.909 MB / 314.8 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.354, allocations: 0.7413 MB / 315.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.3541, allocations: 16.42 kB / 315.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.3542, allocations: 39 kB / 315.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 3.686e-06/0.3542, allocations: 0 / 315.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.009724/0.3639, allocations: 1.594 MB / 317.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003848/0.3644, allocations: 0.5643 MB / 317.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.3653, allocations: 426.2 kB / 318.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.3654, allocations: 41.7 kB / 318.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.3657, allocations: 307.2 kB / 318.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.366, allocations: 189.2 kB / 318.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.3661, allocations: 12 kB / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3662, allocations: 334.8 kB / 319 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/0.3672, allocations: 201 kB / 319.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.3684, allocations: 424.5 kB / 319.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3695, allocations: 279.9 kB / 319.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3696, allocations: 0 / 319.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004284/0.3739, allocations: 0.8112 MB / 320.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.374, allocations: 41.72 kB / 320.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.374, allocations: 0 / 320.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.3758, allocations: 230.3 kB / 321 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.3773, allocations: 135.8 kB / 321.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.3903, allocations: 5.313 MB / 326.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3917, allocations: 83.73 kB / 326.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.3918, allocations: 19.98 kB / 326.5 MB, free: 5.312 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.0004417/0.3922, allocations: 201.8 kB / 326.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.3924, allocations: 67.25 kB / 326.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.3968, allocations: 0.8239 MB / 327.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/0.3968, allocations: 11.95 kB / 327.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3968, allocations: 3.938 kB / 327.7 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004139/0.401, allocations: 1.082 MB / 328.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.4069, allocations: 1.514 MB / 330.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.4069, allocations: 0 / 330.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.4085, allocations: 139.8 kB / 330.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.4102, allocations: 189.7 kB / 330.6 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.221e-05/0.4103, allocations: 7.984 kB / 330.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009248/0.4195, allocations: 3.603 MB / 334.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4196, allocations: 8.156 kB / 334.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.4249, allocations: 1.132 MB / 335.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.4255, allocations: 196.2 kB / 335.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.4257, allocations: 12 kB / 335.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/0.4267, allocations: 43.95 kB / 335.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.4268, allocations: 40.5 kB / 335.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.4269, allocations: 19.98 kB / 335.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006159/0.4275, allocations: 346.8 kB / 336 MB, free: 11.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4276, allocations: 0 / 336 MB, free: 11.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001039/0.4286, allocations: 211.8 kB / 336.2 MB, free: 11.17 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.0002137/0.4288, allocations: 115.2 kB / 336.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00413/0.433, allocations: 1.081 MB / 337.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.433, allocations: 4 kB / 337.4 MB, free: 9.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.4349, allocations: 0.5435 MB / 337.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.4362, allocations: 158.7 kB / 338.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.44, allocations: 1.551 MB / 339.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.4407, allocations: 0.8991 MB / 340.5 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.441, allocations: 51.42 kB / 340.6 MB, free: 6.629 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.441, allocations: 4 kB / 340.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Templates: time 0.02759/0.4686, allocations: 13.9 MB / 354.5 MB, free: 8.738 MB / 298.7 MB