Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.107e-05, allocations: 8 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5294, allocations: 58.82 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.523/9.053, allocations: 2.782 GB / 3.155 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/9.053, allocations: 89.41 kB / 3.155 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.305/11.36, allocations: 438.7 MB / 3.583 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/11.36, allocations: 3.062 kB / 3.583 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.727e-05/11.36, allocations: 17.59 kB / 3.583 GB, free: 67.58 MB / 0.5105 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.007857/11.37, allocations: 1.744 MB / 3.585 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/11.37, allocations: 11.72 kB / 3.585 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/11.37, allocations: 98.34 kB / 3.585 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/11.37, allocations: 329.5 kB / 3.586 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/11.37, allocations: 0.5663 MB / 3.586 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/11.37, allocations: 49.34 kB / 3.586 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/11.37, allocations: 60.69 kB / 3.586 GB, free: 66.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/11.38, allocations: 0.971 MB / 3.587 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/11.38, allocations: 3.406 kB / 3.587 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/11.38, allocations: 22.5 kB / 3.587 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/11.38, allocations: 21.66 kB / 3.587 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/11.38, allocations: 0.7945 MB / 3.588 GB, free: 66.2 MB / 0.5105 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.007864/11.39, allocations: 4.808 MB / 3.593 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/11.39, allocations: 0.6269 MB / 3.593 GB, free: 62.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/11.39, allocations: 224.5 kB / 3.593 GB, free: 62.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07568/11.47, allocations: 24.17 MB / 3.617 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/11.47, allocations: 40.38 kB / 3.617 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.426e-06/11.47, allocations: 0 / 3.617 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004601/11.47, allocations: 1.019 MB / 3.618 GB, free: 47.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/11.47, allocations: 110.4 kB / 3.618 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/11.47, allocations: 451.3 kB / 3.619 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/11.47, allocations: 37.64 kB / 3.619 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/11.47, allocations: 341.5 kB / 3.619 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/11.47, allocations: 143.6 kB / 3.619 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/11.47, allocations: 11.91 kB / 3.619 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001121/11.47, allocations: 364.5 kB / 3.619 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/11.47, allocations: 171.1 kB / 3.62 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/11.47, allocations: 339 kB / 3.62 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/11.47, allocations: 200.5 kB / 3.62 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/11.47, allocations: 3.938 kB / 3.62 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001725/11.47, allocations: 0.6392 MB / 3.621 GB, free: 45.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004417/11.48, allocations: 2.011 MB / 3.623 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/11.48, allocations: 3.562 kB / 3.623 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/11.48, allocations: 261.9 kB / 3.623 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/11.48, allocations: 133.5 kB / 3.623 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/11.48, allocations: 0.753 MB / 3.624 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/11.48, allocations: 117.3 kB / 3.624 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/11.48, allocations: 35.42 kB / 3.624 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/11.48, allocations: 11.81 kB / 3.624 GB, free: 43.08 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002475/11.48, allocations: 0.5901 MB / 3.625 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/11.48, allocations: 5.656 kB / 3.625 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/11.49, allocations: 175.3 kB / 3.625 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009879/11.49, allocations: 138.5 kB / 3.625 GB, free: 42.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000865/11.49, allocations: 0.7166 MB / 3.626 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/11.49, allocations: 110.5 kB / 3.626 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/11.49, allocations: 34.7 kB / 3.626 GB, free: 42.2 MB / 0.5105 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.0002603/11.49, allocations: 140 kB / 3.626 GB, free: 42.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/11.49, allocations: 64.72 kB / 3.626 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/11.49, allocations: 2.983 MB / 3.629 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.879e-05/11.49, allocations: 45.38 kB / 3.629 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/11.49, allocations: 0 / 3.629 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/11.49, allocations: 7.547 kB / 3.629 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/11.5, allocations: 1.44 MB / 3.63 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/11.5, allocations: 2.969 kB / 3.63 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/11.5, allocations: 92.33 kB / 3.63 GB, free: 39.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/11.5, allocations: 1.22 MB / 3.632 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/11.5, allocations: 14.34 kB / 3.632 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/11.5, allocations: 1.473 MB / 3.633 GB, free: 38.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/11.5, allocations: 8.016 kB / 3.633 GB, free: 38.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/11.51, allocations: 1.956 MB / 3.635 GB, free: 37.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/11.51, allocations: 332.6 kB / 3.635 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/11.51, allocations: 11.67 kB / 3.635 GB, free: 37.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009784/11.51, allocations: 90.41 kB / 3.635 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/11.51, allocations: 50.09 kB / 3.635 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/11.51, allocations: 19.19 kB / 3.635 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007887/11.51, allocations: 450.7 kB / 3.636 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/11.51, allocations: 0 / 3.636 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006932/11.52, allocations: 1.414 MB / 3.637 GB, free: 36.8 MB / 0.5105 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.01385/11.53, allocations: 3.842 MB / 3.641 GB, free: 35.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002962/11.53, allocations: 1.106 MB / 3.642 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/11.53, allocations: 320 / 3.642 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/11.53, allocations: 0.7242 MB / 3.643 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/11.54, allocations: 312.7 kB / 3.643 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/11.54, allocations: 2.335 MB / 3.645 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/11.55, allocations: 1.158 MB / 3.647 GB, free: 32.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00178/11.55, allocations: 0.6743 MB / 3.647 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/11.55, allocations: 395.7 kB / 3.648 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/11.55, allocations: 3.938 kB / 3.648 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/11.68, allocations: 57.89 MB / 3.704 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003738/11.68, allocations: 235.9 kB / 3.704 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.309/16.99, allocations: 0 / 3.704 GB, free: 5.32 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat