Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.757e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4133, allocations: 54.85 MB / 359.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.817/8.231, allocations: 2.612 GB / 2.964 GB, free: 115.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/8.231, allocations: 87.2 kB / 2.964 GB, free: 115.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315/10.55, allocations: 436.4 MB / 3.39 GB, free: 52.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/10.55, allocations: 3.781 kB / 3.39 GB, free: 52.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.991e-05/10.55, allocations: 19.41 kB / 3.39 GB, free: 52.16 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009955/10.56, allocations: 1.778 MB / 3.392 GB, free: 51.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/10.56, allocations: 7.844 kB / 3.392 GB, free: 51.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003355/10.56, allocations: 101.6 kB / 3.392 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/10.56, allocations: 325 kB / 3.392 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/10.56, allocations: 0.5856 MB / 3.393 GB, free: 50.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/10.56, allocations: 49.22 kB / 3.393 GB, free: 50.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/10.56, allocations: 52.56 kB / 3.393 GB, free: 50.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/10.57, allocations: 0.9577 MB / 3.394 GB, free: 50.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/10.57, allocations: 5.688 kB / 3.394 GB, free: 50.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/10.57, allocations: 26.09 kB / 3.394 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/10.57, allocations: 24.34 kB / 3.394 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/10.57, allocations: 0.7903 MB / 3.395 GB, free: 50.02 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.00764/10.58, allocations: 4.62 MB / 3.399 GB, free: 46.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/10.58, allocations: 0.6741 MB / 3.4 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/10.58, allocations: 210.1 kB / 3.4 GB, free: 45.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05611/10.64, allocations: 18.43 MB / 3.418 GB, free: 34.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/10.64, allocations: 42.75 kB / 3.418 GB, free: 34.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.797e-06/10.64, allocations: 0 / 3.418 GB, free: 34.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.04528/10.69, allocations: 4.044 MB / 3.422 GB, free: 32.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/10.69, allocations: 109.2 kB / 3.422 GB, free: 32.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007182/10.69, allocations: 416.4 kB / 3.423 GB, free: 32.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/10.69, allocations: 36.39 kB / 3.423 GB, free: 32.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/10.69, allocations: 354.4 kB / 3.423 GB, free: 32.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/10.69, allocations: 219.6 kB / 3.423 GB, free: 32.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/10.69, allocations: 19.41 kB / 3.423 GB, free: 32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/10.69, allocations: 369.9 kB / 3.424 GB, free: 31.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/10.69, allocations: 277.7 kB / 3.424 GB, free: 31.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/10.69, allocations: 0.494 MB / 3.424 GB, free: 31.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/10.69, allocations: 343.2 kB / 3.425 GB, free: 31.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/10.69, allocations: 0 / 3.425 GB, free: 31.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002984/10.69, allocations: 1.038 MB / 3.426 GB, free: 30.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005609/10.69, allocations: 2.62 MB / 3.428 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/10.69, allocations: 3.875 kB / 3.428 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006684/10.7, allocations: 0.8459 MB / 3.429 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/10.7, allocations: 186.4 kB / 3.429 GB, free: 27.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/10.71, allocations: 1.626 MB / 3.431 GB, free: 26.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/10.71, allocations: 118 kB / 3.431 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/10.71, allocations: 53.36 kB / 3.431 GB, free: 26.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/10.71, allocations: 7.719 kB / 3.431 GB, free: 26.27 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003375/10.71, allocations: 0.9895 MB / 3.432 GB, free: 25.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/10.71, allocations: 7.5 kB / 3.432 GB, free: 25.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/10.71, allocations: 0.5657 MB / 3.432 GB, free: 25.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/10.72, allocations: 194 kB / 3.433 GB, free: 25.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/10.72, allocations: 1.583 MB / 3.434 GB, free: 24.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/10.72, allocations: 116.1 kB / 3.434 GB, free: 24.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/10.72, allocations: 43.36 kB / 3.434 GB, free: 24.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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.0003519/10.72, allocations: 158 kB / 3.434 GB, free: 24.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/10.72, allocations: 64.91 kB / 3.435 GB, free: 24.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008502/10.73, allocations: 3.657 MB / 3.438 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-05/10.73, allocations: 45.92 kB / 3.438 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/10.73, allocations: 0 / 3.438 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/10.73, allocations: 3.656 kB / 3.438 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008591/10.74, allocations: 4.667 MB / 3.443 GB, free: 20.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/10.74, allocations: 3.953 kB / 3.443 GB, free: 20.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/10.74, allocations: 136.4 kB / 3.443 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007113/10.75, allocations: 1.779 MB / 3.445 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/10.75, allocations: 21.91 kB / 3.445 GB, free: 19.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/10.75, allocations: 2.37 MB / 3.447 GB, free: 18.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/10.75, allocations: 3.25 kB / 3.447 GB, free: 18.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/10.75, allocations: 2.291 MB / 3.449 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007511/10.76, allocations: 323.5 kB / 3.449 GB, free: 16.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/10.76, allocations: 15.89 kB / 3.45 GB, free: 16.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/10.76, allocations: 114.7 kB / 3.45 GB, free: 16.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/10.76, allocations: 59.98 kB / 3.45 GB, free: 16.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/10.76, allocations: 27 kB / 3.45 GB, free: 16.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006908/10.76, allocations: 419 kB / 3.45 GB, free: 16.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.76, allocations: 0 / 3.45 GB, free: 16.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0077/10.77, allocations: 1.563 MB / 3.452 GB, free: 16.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01634/10.78, allocations: 4.463 MB / 3.456 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005693/10.79, allocations: 1.638 MB / 3.458 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/10.79, allocations: 0 / 3.458 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002138/10.79, allocations: 0.8994 MB / 3.458 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/10.79, allocations: 288.4 kB / 3.459 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6406/11.43, allocations: 77.75 MB / 3.535 GB, free: 60.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/11.43, allocations: 1.141 MB / 3.536 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002043/11.44, allocations: 0.6581 MB / 3.536 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/11.44, allocations: 397.6 kB / 3.537 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/11.44, allocations: 0 / 3.537 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/11.64, allocations: 64.81 MB / 3.6 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/11.64, allocations: 250.2 kB / 3.6 GB, free: 56.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/17.11, allocations: 0 / 3.6 GB, free: 56.36 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat