Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.828e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.366/8.496, allocations: 2.787 GB / 3.188 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/8.496, allocations: 84.64 kB / 3.188 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.234/10.73, allocations: 443.7 MB / 3.621 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.015e-06/10.73, allocations: 0 / 3.621 GB, free: 37.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.938e-05/10.73, allocations: 23.94 kB / 3.621 GB, free: 37.04 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.008262/10.74, allocations: 1.739 MB / 3.623 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/10.74, allocations: 12.03 kB / 3.623 GB, free: 35.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002774/10.74, allocations: 98.5 kB / 3.623 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/10.74, allocations: 338 kB / 3.623 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/10.74, allocations: 0.5654 MB / 3.624 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/10.74, allocations: 51.97 kB / 3.624 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/10.74, allocations: 56 kB / 3.624 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/10.75, allocations: 0.9506 MB / 3.625 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/10.75, allocations: 7.938 kB / 3.625 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/10.75, allocations: 24 kB / 3.625 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/10.75, allocations: 21.31 kB / 3.625 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/10.75, allocations: 0.7988 MB / 3.626 GB, free: 32.24 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.006762/10.76, allocations: 4.455 MB / 3.63 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/10.76, allocations: 0.7097 MB / 3.631 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/10.76, allocations: 234.1 kB / 3.631 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5796/11.34, allocations: 55.75 MB / 3.685 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/11.34, allocations: 37.94 kB / 3.685 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.885e-06/11.34, allocations: 0 / 3.685 GB, free: 65.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.008064/11.35, allocations: 1.852 MB / 3.687 GB, free: 65.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/11.35, allocations: 112.4 kB / 3.687 GB, free: 65.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/11.35, allocations: 464.2 kB / 3.688 GB, free: 65.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/11.35, allocations: 37.11 kB / 3.688 GB, free: 65.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/11.35, allocations: 322.8 kB / 3.688 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/11.35, allocations: 180.3 kB / 3.688 GB, free: 64.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/11.35, allocations: 16.69 kB / 3.688 GB, free: 64.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001413/11.35, allocations: 369.7 kB / 3.689 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/11.35, allocations: 187.5 kB / 3.689 GB, free: 64.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/11.35, allocations: 360.3 kB / 3.689 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/11.35, allocations: 232.4 kB / 3.689 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/11.35, allocations: 1.312 kB / 3.689 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002926/11.35, allocations: 0.8082 MB / 3.69 GB, free: 64.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/11.36, allocations: 1.832 MB / 3.692 GB, free: 62.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/11.36, allocations: 8.062 kB / 3.692 GB, free: 62.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003226/11.36, allocations: 395.4 kB / 3.692 GB, free: 62.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/11.36, allocations: 138.7 kB / 3.693 GB, free: 62.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/11.36, allocations: 0.8726 MB / 3.693 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/11.36, allocations: 92.58 kB / 3.693 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/11.36, allocations: 34.67 kB / 3.694 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/11.36, allocations: 4.812 kB / 3.694 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002373/11.36, allocations: 0.6858 MB / 3.694 GB, free: 61.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/11.37, allocations: 9.469 kB / 3.694 GB, free: 61.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/11.37, allocations: 277.3 kB / 3.694 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/11.37, allocations: 140.4 kB / 3.695 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/11.37, allocations: 0.8233 MB / 3.695 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/11.37, allocations: 90.45 kB / 3.696 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/11.37, allocations: 36.2 kB / 3.696 GB, free: 61.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002991/11.37, allocations: 142.4 kB / 3.696 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/11.37, allocations: 68.05 kB / 3.696 GB, free: 61.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/11.38, allocations: 2.668 MB / 3.698 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/11.38, allocations: 39.88 kB / 3.698 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/11.38, allocations: 4.141 kB / 3.698 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/11.38, allocations: 4.781 kB / 3.698 GB, free: 60.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006422/11.38, allocations: 3.722 MB / 3.702 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/11.38, allocations: 0 / 3.702 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/11.38, allocations: 148.2 kB / 3.702 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/11.38, allocations: 99.31 kB / 3.702 GB, free: 60.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/11.38, allocations: 18.84 kB / 3.702 GB, free: 60.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008426/11.38, allocations: 1.125 MB / 3.703 GB, free: 59.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/11.38, allocations: 3.312 kB / 3.703 GB, free: 59.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/11.39, allocations: 2.103 MB / 3.705 GB, free: 59.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000819/11.39, allocations: 368.7 kB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/11.39, allocations: 12.81 kB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/11.39, allocations: 76.94 kB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/11.39, allocations: 49.47 kB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/11.39, allocations: 21.41 kB / 3.706 GB, free: 59.05 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001035/11.39, allocations: 0.5556 MB / 3.706 GB, free: 58.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.41e-07/11.39, allocations: 2.438 kB / 3.706 GB, free: 58.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007067/11.4, allocations: 1.417 MB / 3.708 GB, free: 58.95 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01463/11.41, allocations: 4.296 MB / 3.712 GB, free: 58.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003422/11.42, allocations: 1.203 MB / 3.713 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/11.42, allocations: 0 / 3.713 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/11.42, allocations: 0.6791 MB / 3.714 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/11.42, allocations: 335.4 kB / 3.714 GB, free: 58.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008281/11.43, allocations: 2.427 MB / 3.717 GB, free: 57.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/11.43, allocations: 1.152 MB / 3.718 GB, free: 56.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001866/11.43, allocations: 0.701 MB / 3.718 GB, free: 56.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/11.43, allocations: 436.3 kB / 3.719 GB, free: 56.78 MB / 0.5417 GB Notification: Performance of SimCode: time 1.232e-06/11.43, allocations: 3.625 kB / 3.719 GB, free: 56.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/11.57, allocations: 59.66 MB / 3.777 GB, free: 54.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/11.57, allocations: 243 kB / 3.777 GB, free: 53.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.217/16.79, allocations: 4 kB / 3.777 GB, free: 53.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat