Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.316e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.491/8.627, allocations: 2.787 GB / 3.188 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/8.627, allocations: 84.45 kB / 3.188 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.294/10.92, allocations: 444.5 MB / 3.622 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.794e-06/10.92, allocations: 0 / 3.622 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.384e-05/10.92, allocations: 27.77 kB / 3.622 GB, free: 34.46 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007392/10.93, allocations: 1.778 MB / 3.624 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/10.93, allocations: 8.031 kB / 3.624 GB, free: 32.63 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/10.93, allocations: 98.52 kB / 3.624 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/10.93, allocations: 338.7 kB / 3.625 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/10.93, allocations: 0.5778 MB / 3.625 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/10.93, allocations: 49.31 kB / 3.625 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/10.93, allocations: 57.72 kB / 3.625 GB, free: 31.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/10.94, allocations: 0.9827 MB / 3.626 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/10.94, allocations: 0 / 3.626 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/10.94, allocations: 28 kB / 3.626 GB, free: 30.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/10.94, allocations: 29.27 kB / 3.626 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/10.94, allocations: 0.8183 MB / 3.627 GB, free: 29.56 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.007301/10.95, allocations: 4.843 MB / 3.632 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/10.95, allocations: 0.753 MB / 3.633 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/10.95, allocations: 226.1 kB / 3.633 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07878/11.03, allocations: 24.16 MB / 3.656 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/11.03, allocations: 39 kB / 3.656 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=47): time 3.306e-06/11.03, allocations: 0 / 3.656 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=47): time 0.005256/11.03, allocations: 1.077 MB / 3.657 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/11.03, allocations: 107.2 kB / 3.658 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009165/11.04, allocations: 472.8 kB / 3.658 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/11.04, allocations: 33.7 kB / 3.658 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/11.04, allocations: 338.2 kB / 3.658 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/11.04, allocations: 176.6 kB / 3.659 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/11.04, allocations: 8 kB / 3.659 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001964/11.04, allocations: 366.8 kB / 3.659 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/11.04, allocations: 185.5 kB / 3.659 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/11.04, allocations: 372 kB / 3.659 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/11.04, allocations: 229.7 kB / 3.66 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/11.04, allocations: 4 kB / 3.66 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002075/11.04, allocations: 0.7151 MB / 3.66 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000905/11.04, allocations: 1.999 MB / 3.662 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/11.04, allocations: 7.938 kB / 3.662 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/11.05, allocations: 448.3 kB / 3.663 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/11.05, allocations: 143.8 kB / 3.663 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/11.05, allocations: 0.7904 MB / 3.664 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/11.05, allocations: 135.3 kB / 3.664 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/11.05, allocations: 43.94 kB / 3.664 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/11.05, allocations: 7.938 kB / 3.664 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002268/11.05, allocations: 0.6359 MB / 3.664 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/11.05, allocations: 4 kB / 3.664 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/11.05, allocations: 180.8 kB / 3.665 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/11.06, allocations: 151.8 kB / 3.665 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/11.06, allocations: 0.7278 MB / 3.665 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/11.06, allocations: 115.4 kB / 3.666 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/11.06, allocations: 35.98 kB / 3.666 GB, free: 2.477 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002879/11.06, allocations: 140.8 kB / 3.666 GB, free: 2.332 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/11.06, allocations: 63.25 kB / 3.666 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3958/11.46, allocations: 3.047 MB / 3.669 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.9e-05/11.46, allocations: 41.48 kB / 3.669 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/11.46, allocations: 0 / 3.669 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/11.46, allocations: 6.344 kB / 3.669 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/11.46, allocations: 1.479 MB / 3.67 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/11.46, allocations: 2.562 kB / 3.67 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/11.46, allocations: 90.48 kB / 3.67 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005725/11.46, allocations: 1.398 MB / 3.672 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/11.47, allocations: 14.23 kB / 3.672 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/11.47, allocations: 1.533 MB / 3.673 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/11.47, allocations: 0 / 3.673 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/11.47, allocations: 2.017 MB / 3.675 GB, free: 73.89 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/11.47, allocations: 341.8 kB / 3.676 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/11.47, allocations: 10.81 kB / 3.676 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/11.47, allocations: 84.47 kB / 3.676 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/11.47, allocations: 51.02 kB / 3.676 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/11.47, allocations: 27.88 kB / 3.676 GB, free: 73.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000916/11.47, allocations: 463.5 kB / 3.676 GB, free: 73.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/11.47, allocations: 0 / 3.676 GB, free: 73.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007224/11.48, allocations: 1.442 MB / 3.678 GB, free: 73.59 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01441/11.5, allocations: 3.896 MB / 3.681 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00423/11.5, allocations: 1.196 MB / 3.682 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/11.5, allocations: 0 / 3.682 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/11.5, allocations: 0.741 MB / 3.683 GB, free: 72.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/11.51, allocations: 336.1 kB / 3.684 GB, free: 72.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/11.51, allocations: 2.362 MB / 3.686 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008614/11.51, allocations: 1.17 MB / 3.687 GB, free: 71.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002443/11.52, allocations: 0.6827 MB / 3.688 GB, free: 71.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/11.52, allocations: 409.8 kB / 3.688 GB, free: 71.56 MB / 0.5417 GB Notification: Performance of SimCode: time 1.492e-06/11.52, allocations: 3.812 kB / 3.688 GB, free: 71.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1789/11.7, allocations: 58.82 MB / 3.745 GB, free: 69.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/11.7, allocations: 241.6 kB / 3.746 GB, free: 69.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.613/17.31, allocations: 0 / 3.746 GB, free: 69.4 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat