Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.71e-05, allocations: 3.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.209/8.348, allocations: 2.77 GB / 3.171 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/8.349, allocations: 83.7 kB / 3.171 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.262/10.61, allocations: 424.6 MB / 3.586 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.833e-06/10.61, allocations: 0 / 3.586 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.028e-05/10.61, allocations: 22.22 kB / 3.586 GB, free: 61.7 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0077/10.62, allocations: 1.649 MB / 3.587 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/10.62, allocations: 11.34 kB / 3.587 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002305/10.62, allocations: 97.27 kB / 3.587 GB, free: 60.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/10.62, allocations: 307.1 kB / 3.588 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/10.62, allocations: 0.5199 MB / 3.588 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/10.62, allocations: 49.34 kB / 3.588 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/10.62, allocations: 53.12 kB / 3.588 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/10.63, allocations: 0.9378 MB / 3.589 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/10.63, allocations: 6.969 kB / 3.589 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/10.63, allocations: 27.27 kB / 3.589 GB, free: 59.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/10.63, allocations: 20.44 kB / 3.589 GB, free: 59.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/10.63, allocations: 0.7737 MB / 3.59 GB, free: 59.54 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.007399/10.64, allocations: 4.641 MB / 3.595 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002854/10.64, allocations: 0.6936 MB / 3.595 GB, free: 55.49 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/10.64, allocations: 208.3 kB / 3.595 GB, free: 55.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07504/10.72, allocations: 24.17 MB / 3.619 GB, free: 39.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/10.72, allocations: 38.34 kB / 3.619 GB, free: 39.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 4.609e-06/10.72, allocations: 0 / 3.619 GB, free: 39.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.004882/10.72, allocations: 0.9976 MB / 3.62 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/10.72, allocations: 110.6 kB / 3.62 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/10.72, allocations: 407.7 kB / 3.621 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/10.72, allocations: 29.7 kB / 3.621 GB, free: 39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/10.72, allocations: 316.2 kB / 3.621 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/10.72, allocations: 149.1 kB / 3.621 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/10.72, allocations: 8 kB / 3.621 GB, free: 38.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/10.72, allocations: 365.7 kB / 3.621 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/10.72, allocations: 157.2 kB / 3.622 GB, free: 38.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/10.72, allocations: 328.9 kB / 3.622 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/10.72, allocations: 193.4 kB / 3.622 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/10.72, allocations: 3.969 kB / 3.622 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00201/10.73, allocations: 0.637 MB / 3.623 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003934/10.73, allocations: 1.924 MB / 3.625 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/10.73, allocations: 7.719 kB / 3.625 GB, free: 35.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/10.73, allocations: 178.6 kB / 3.625 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008459/10.73, allocations: 119.4 kB / 3.625 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/10.73, allocations: 0.7272 MB / 3.626 GB, free: 34.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/10.73, allocations: 116 kB / 3.626 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/10.73, allocations: 30.12 kB / 3.626 GB, free: 34.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/10.73, allocations: 6.812 kB / 3.626 GB, free: 34.85 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001858/10.73, allocations: 0.5464 MB / 3.626 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/10.73, allocations: 10.59 kB / 3.626 GB, free: 34.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/10.73, allocations: 176 kB / 3.626 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/10.74, allocations: 123.1 kB / 3.627 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/10.74, allocations: 0.7051 MB / 3.627 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/10.74, allocations: 94.23 kB / 3.627 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/10.74, allocations: 30.27 kB / 3.627 GB, free: 33.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002499/10.74, allocations: 140.5 kB / 3.627 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/10.74, allocations: 54.72 kB / 3.628 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/10.74, allocations: 2.897 MB / 3.63 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/10.74, allocations: 46.56 kB / 3.63 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/10.74, allocations: 3.938 kB / 3.63 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/10.74, allocations: 3.562 kB / 3.63 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/10.74, allocations: 1.422 MB / 3.632 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/10.74, allocations: 0 / 3.632 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/10.74, allocations: 95.27 kB / 3.632 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/10.75, allocations: 0.7522 MB / 3.633 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/10.75, allocations: 15.88 kB / 3.633 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/10.75, allocations: 1.24 MB / 3.634 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/10.75, allocations: 0 / 3.634 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/10.75, allocations: 1.804 MB / 3.636 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/10.75, allocations: 324.3 kB / 3.636 GB, free: 29.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/10.75, allocations: 12.06 kB / 3.636 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/10.75, allocations: 75.41 kB / 3.636 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/10.75, allocations: 51.11 kB / 3.636 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/10.75, allocations: 23.7 kB / 3.636 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006587/10.75, allocations: 420.1 kB / 3.636 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/10.75, allocations: 0 / 3.636 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006435/10.76, allocations: 1.36 MB / 3.638 GB, free: 27.54 MB / 0.5261 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * 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: 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0128/10.77, allocations: 3.705 MB / 3.641 GB, free: 24.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002947/10.78, allocations: 1.112 MB / 3.643 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/10.78, allocations: 0 / 3.643 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/10.78, allocations: 0.7132 MB / 3.643 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/10.78, allocations: 300.7 kB / 3.644 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/10.79, allocations: 2.255 MB / 3.646 GB, free: 20.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/10.79, allocations: 1.147 MB / 3.647 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001756/10.79, allocations: 0.6925 MB / 3.647 GB, free: 18.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/10.79, allocations: 381.1 kB / 3.648 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/10.79, allocations: 0 / 3.648 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5712/11.36, allocations: 56.08 MB / 3.703 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/11.36, allocations: 243.4 kB / 3.703 GB, free: 78.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.6/16.96, allocations: 3.438 kB / 3.703 GB, free: 78.4 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat