Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.805e-05, allocations: 4.766 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.418, allocations: 54.86 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.742/8.16, allocations: 2.618 GB / 2.969 GB, free: 117.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/8.16, allocations: 82.31 kB / 2.969 GB, free: 117.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.282/10.44, allocations: 437.2 MB / 3.396 GB, free: 52.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/10.44, allocations: 0 / 3.396 GB, free: 52.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.869e-05/10.44, allocations: 17 kB / 3.396 GB, free: 52.8 MB / 490.7 MB 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.007734/10.45, allocations: 1.772 MB / 3.398 GB, free: 51.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/10.45, allocations: 6.781 kB / 3.398 GB, free: 51.84 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/10.45, allocations: 103.4 kB / 3.398 GB, free: 51.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/10.45, allocations: 355.7 kB / 3.398 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/10.46, allocations: 0.5864 MB / 3.399 GB, free: 51.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/10.46, allocations: 46.06 kB / 3.399 GB, free: 51.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/10.46, allocations: 55.09 kB / 3.399 GB, free: 51.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/10.46, allocations: 0.9815 MB / 3.4 GB, free: 50.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/10.46, allocations: 3.469 kB / 3.4 GB, free: 50.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/10.46, allocations: 23.34 kB / 3.4 GB, free: 50.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/10.46, allocations: 30.69 kB / 3.4 GB, free: 50.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/10.46, allocations: 0.8124 MB / 3.401 GB, free: 50.56 MB / 490.7 MB 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.007273/10.47, allocations: 4.831 MB / 3.405 GB, free: 46.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/10.47, allocations: 0.6939 MB / 3.406 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/10.47, allocations: 219.4 kB / 3.406 GB, free: 46.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06337/10.54, allocations: 21.71 MB / 3.428 GB, free: 31.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/10.54, allocations: 34.94 kB / 3.428 GB, free: 31.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.938e-06/10.54, allocations: 3.562 kB / 3.428 GB, free: 31.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.04308/10.58, allocations: 3.795 MB / 3.431 GB, free: 30.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/10.58, allocations: 109.6 kB / 3.431 GB, free: 30.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/10.58, allocations: 426.7 kB / 3.432 GB, free: 30.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/10.58, allocations: 41.55 kB / 3.432 GB, free: 30.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/10.58, allocations: 346.9 kB / 3.432 GB, free: 30 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/10.58, allocations: 216.3 kB / 3.432 GB, free: 29.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.566e-05/10.58, allocations: 19.91 kB / 3.432 GB, free: 29.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/10.58, allocations: 367.5 kB / 3.433 GB, free: 29.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/10.58, allocations: 282.2 kB / 3.433 GB, free: 29.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/10.58, allocations: 494.7 kB / 3.433 GB, free: 28.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009366/10.58, allocations: 343.5 kB / 3.434 GB, free: 28.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/10.58, allocations: 0 / 3.434 GB, free: 28.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003038/10.59, allocations: 1.042 MB / 3.435 GB, free: 28.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006168/10.59, allocations: 2.437 MB / 3.437 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/10.59, allocations: 7.469 kB / 3.437 GB, free: 25.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006439/10.59, allocations: 0.8206 MB / 3.438 GB, free: 25.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/10.6, allocations: 169 kB / 3.438 GB, free: 25.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/10.6, allocations: 1.616 MB / 3.44 GB, free: 24.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/10.6, allocations: 102.2 kB / 3.44 GB, free: 24.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/10.6, allocations: 46.86 kB / 3.44 GB, free: 24.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/10.6, allocations: 3.969 kB / 3.44 GB, free: 24.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/10.6, allocations: 0.9818 MB / 3.441 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/10.6, allocations: 7.344 kB / 3.441 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003536/10.61, allocations: 0.5473 MB / 3.441 GB, free: 23.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/10.61, allocations: 176 kB / 3.442 GB, free: 23.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/10.61, allocations: 1.554 MB / 3.443 GB, free: 22.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/10.61, allocations: 109.4 kB / 3.443 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/10.61, allocations: 47.7 kB / 3.443 GB, free: 22.47 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 67 * 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 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/10.61, allocations: 160 kB / 3.443 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/10.61, allocations: 63.03 kB / 3.443 GB, free: 22.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0077/10.62, allocations: 3.966 MB / 3.447 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.237e-05/10.62, allocations: 43.83 kB / 3.447 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/10.62, allocations: 3.562 kB / 3.447 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/10.62, allocations: 10.88 kB / 3.447 GB, free: 20.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009047/10.63, allocations: 5.142 MB / 3.452 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/10.63, allocations: 3.938 kB / 3.452 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/10.63, allocations: 117.6 kB / 3.452 GB, free: 17.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006791/10.64, allocations: 1.755 MB / 3.454 GB, free: 17.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/10.64, allocations: 27.25 kB / 3.454 GB, free: 17.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/10.64, allocations: 2.361 MB / 3.457 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/10.64, allocations: 4.125 kB / 3.457 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/10.65, allocations: 2.499 MB / 3.459 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/10.65, allocations: 353 kB / 3.459 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/10.65, allocations: 11.75 kB / 3.459 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/10.65, allocations: 102.9 kB / 3.459 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/10.65, allocations: 64.89 kB / 3.459 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/10.65, allocations: 31 kB / 3.46 GB, free: 14.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007156/10.65, allocations: 422.7 kB / 3.46 GB, free: 14.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/10.65, allocations: 0 / 3.46 GB, free: 14.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007294/10.66, allocations: 1.574 MB / 3.461 GB, free: 12.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (52): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0158/10.67, allocations: 4.582 MB / 3.466 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006143/10.68, allocations: 1.773 MB / 3.468 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/10.68, allocations: 0 / 3.468 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/10.68, allocations: 1.035 MB / 3.469 GB, free: 6.176 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/10.68, allocations: 293.4 kB / 3.469 GB, free: 5.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6636/11.35, allocations: 78.4 MB / 3.546 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/11.35, allocations: 1.187 MB / 3.547 GB, free: 60.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002867/11.35, allocations: 0.6787 MB / 3.547 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/11.35, allocations: 432 kB / 3.548 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/11.35, allocations: 1.875 kB / 3.548 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1595/11.51, allocations: 65.88 MB / 3.612 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/11.51, allocations: 242 kB / 3.612 GB, free: 56.48 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.845/17.36, allocations: 0 / 3.612 GB, free: 56.48 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat