Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.941e-05/4.934e-05, allocations: 8 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1556, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.404/8.56, allocations: 2.787 GB / 3.188 GB, free: 58.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/8.56, allocations: 84.89 kB / 3.188 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.257/10.82, allocations: 443.4 MB / 3.621 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/10.82, allocations: 0 / 3.621 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001019/10.82, allocations: 15.94 kB / 3.621 GB, free: 35.91 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009094/10.83, allocations: 1.759 MB / 3.623 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/10.83, allocations: 11.97 kB / 3.623 GB, free: 34.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/10.83, allocations: 98.52 kB / 3.623 GB, free: 34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003792/10.83, allocations: 334.7 kB / 3.623 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/10.83, allocations: 0.5632 MB / 3.623 GB, free: 33.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/10.83, allocations: 57.3 kB / 3.624 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/10.83, allocations: 52 kB / 3.624 GB, free: 32.97 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/10.84, allocations: 0.9586 MB / 3.625 GB, free: 31.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/10.84, allocations: 4 kB / 3.625 GB, free: 31.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/10.84, allocations: 29.17 kB / 3.625 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/10.84, allocations: 24.95 kB / 3.625 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/10.84, allocations: 0.7903 MB / 3.625 GB, free: 31.1 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.007611/10.85, allocations: 4.798 MB / 3.63 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/10.85, allocations: 0.6312 MB / 3.631 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/10.85, allocations: 220.8 kB / 3.631 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09553/10.95, allocations: 24.16 MB / 3.654 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.407e-05/10.95, allocations: 46.56 kB / 3.655 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 5.51e-06/10.95, allocations: 0 / 3.655 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.008211/10.95, allocations: 1.012 MB / 3.656 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/10.95, allocations: 114.8 kB / 3.656 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/10.96, allocations: 452.7 kB / 3.656 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/10.96, allocations: 33.7 kB / 3.656 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/10.96, allocations: 334.7 kB / 3.656 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/10.96, allocations: 146.9 kB / 3.657 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/10.96, allocations: 12 kB / 3.657 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002557/10.96, allocations: 366.8 kB / 3.657 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/10.96, allocations: 169.1 kB / 3.657 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/10.96, allocations: 342.2 kB / 3.657 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/10.96, allocations: 205.8 kB / 3.658 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/10.96, allocations: 0 / 3.658 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003033/10.96, allocations: 0.6427 MB / 3.658 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/10.96, allocations: 2.013 MB / 3.66 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/10.96, allocations: 4 kB / 3.66 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/10.97, allocations: 260.6 kB / 3.66 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/10.97, allocations: 131.8 kB / 3.661 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/10.97, allocations: 0.7474 MB / 3.661 GB, free: 6.684 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/10.97, allocations: 127.4 kB / 3.661 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/10.97, allocations: 31.98 kB / 3.661 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/10.97, allocations: 4 kB / 3.661 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004061/10.98, allocations: 0.5937 MB / 3.662 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/10.98, allocations: 8 kB / 3.662 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/10.98, allocations: 177.1 kB / 3.662 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/10.98, allocations: 139.8 kB / 3.662 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/10.98, allocations: 0.7086 MB / 3.663 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/10.98, allocations: 107.4 kB / 3.663 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-05/10.98, allocations: 31.98 kB / 3.663 GB, free: 4.734 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002997/10.98, allocations: 144.8 kB / 3.663 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/10.99, allocations: 55.34 kB / 3.663 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/10.99, allocations: 2.99 MB / 3.666 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.379e-05/10.99, allocations: 47.86 kB / 3.666 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/10.99, allocations: 3.953 kB / 3.666 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/10.99, allocations: 7.984 kB / 3.666 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4018/11.39, allocations: 1.44 MB / 3.668 GB, free: 75.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/11.39, allocations: 0.75 kB / 3.668 GB, free: 75.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/11.39, allocations: 86.7 kB / 3.668 GB, free: 75.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004485/11.4, allocations: 1.212 MB / 3.669 GB, free: 75.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/11.4, allocations: 19 kB / 3.669 GB, free: 75.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/11.4, allocations: 1.473 MB / 3.67 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/11.4, allocations: 2.469 kB / 3.67 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/11.4, allocations: 1.964 MB / 3.672 GB, free: 74.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008468/11.41, allocations: 329.3 kB / 3.673 GB, free: 74.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/11.41, allocations: 10.58 kB / 3.673 GB, free: 74.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/11.41, allocations: 84.36 kB / 3.673 GB, free: 74.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/11.41, allocations: 47.42 kB / 3.673 GB, free: 74.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/11.41, allocations: 23.86 kB / 3.673 GB, free: 74.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009035/11.41, allocations: 452 kB / 3.673 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.3e-07/11.41, allocations: 0 / 3.673 GB, free: 74.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007601/11.42, allocations: 1.423 MB / 3.675 GB, free: 74.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01542/11.43, allocations: 3.826 MB / 3.678 GB, free: 73.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003362/11.43, allocations: 1.119 MB / 3.679 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/11.43, allocations: 0 / 3.679 GB, free: 73.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/11.44, allocations: 0.7176 MB / 3.68 GB, free: 73.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/11.44, allocations: 320.5 kB / 3.681 GB, free: 73.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009456/11.45, allocations: 2.335 MB / 3.683 GB, free: 72.95 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009257/11.45, allocations: 1.159 MB / 3.684 GB, free: 72.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002155/11.45, allocations: 0.6777 MB / 3.685 GB, free: 72.22 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/11.45, allocations: 400.2 kB / 3.685 GB, free: 72.21 MB / 0.5417 GB Notification: Performance of SimCode: time 1.222e-06/11.45, allocations: 0 / 3.685 GB, free: 72.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1877/11.64, allocations: 57.97 MB / 3.742 GB, free: 70.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/11.64, allocations: 236 kB / 3.742 GB, free: 70.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.361/17, allocations: 2.625 kB / 3.742 GB, free: 70.09 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat