Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.925e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.391/8.528, allocations: 2.787 GB / 3.188 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/8.528, allocations: 89 kB / 3.188 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.378/10.91, allocations: 444.1 MB / 3.622 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/10.91, allocations: 3.938 kB / 3.622 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.907e-05/10.91, allocations: 16 kB / 3.622 GB, free: 35.59 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.008113/10.91, allocations: 1.756 MB / 3.623 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/10.91, allocations: 8.031 kB / 3.623 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/10.91, allocations: 102.5 kB / 3.623 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/10.92, allocations: 335.3 kB / 3.624 GB, free: 33.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/10.92, allocations: 0.5697 MB / 3.624 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/10.92, allocations: 53.25 kB / 3.624 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/10.92, allocations: 56 kB / 3.624 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/10.92, allocations: 0.9703 MB / 3.625 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/10.92, allocations: 0 / 3.625 GB, free: 31.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/10.92, allocations: 31.98 kB / 3.625 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/10.92, allocations: 24.95 kB / 3.625 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/10.93, allocations: 0.802 MB / 3.626 GB, free: 30.75 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.007028/10.93, allocations: 4.532 MB / 3.631 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/10.94, allocations: 0.7375 MB / 3.631 GB, free: 25.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005943/10.94, allocations: 234.1 kB / 3.632 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5936/11.53, allocations: 55.74 MB / 3.686 GB, free: 65.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/11.53, allocations: 41.36 kB / 3.686 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 4.218e-06/11.53, allocations: 0 / 3.686 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.0396/11.57, allocations: 1.855 MB / 3.688 GB, free: 64.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/11.57, allocations: 114.2 kB / 3.688 GB, free: 64.63 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/11.57, allocations: 444.6 kB / 3.688 GB, free: 64.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/11.57, allocations: 31.42 kB / 3.688 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004274/11.58, allocations: 328.2 kB / 3.689 GB, free: 64.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/11.58, allocations: 178.8 kB / 3.689 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/11.58, allocations: 13.11 kB / 3.689 GB, free: 64.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000262/11.58, allocations: 372.2 kB / 3.689 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/11.58, allocations: 197.8 kB / 3.689 GB, free: 63.94 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007893/11.58, allocations: 359.3 kB / 3.69 GB, free: 63.76 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/11.58, allocations: 239.9 kB / 3.69 GB, free: 63.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/11.58, allocations: 3.875 kB / 3.69 GB, free: 63.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003326/11.58, allocations: 0.795 MB / 3.691 GB, free: 63.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004723/11.58, allocations: 1.749 MB / 3.693 GB, free: 61.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/11.58, allocations: 4.875 kB / 3.693 GB, free: 61.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/11.59, allocations: 392.7 kB / 3.693 GB, free: 61.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/11.59, allocations: 139.1 kB / 3.693 GB, free: 61.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/11.59, allocations: 0.8611 MB / 3.694 GB, free: 61.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/11.59, allocations: 94.19 kB / 3.694 GB, free: 61.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/11.59, allocations: 45.5 kB / 3.694 GB, free: 61.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/11.59, allocations: 6.312 kB / 3.694 GB, free: 61.33 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003815/11.6, allocations: 0.7623 MB / 3.695 GB, free: 61.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/11.6, allocations: 8.953 kB / 3.695 GB, free: 61.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/11.6, allocations: 304.2 kB / 3.695 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/11.6, allocations: 135.7 kB / 3.695 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/11.6, allocations: 0.8413 MB / 3.696 GB, free: 60.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/11.6, allocations: 97.86 kB / 3.696 GB, free: 60.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/11.6, allocations: 36.67 kB / 3.696 GB, free: 60.76 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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 18} Notification: Performance of prepare postOptimizeDAE: time 0.0003364/11.6, allocations: 141.9 kB / 3.696 GB, free: 60.65 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/11.6, allocations: 62.5 kB / 3.696 GB, free: 60.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/11.61, allocations: 2.859 MB / 3.699 GB, free: 60.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.792e-05/11.61, allocations: 43.39 kB / 3.699 GB, free: 60.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/11.61, allocations: 5.141 kB / 3.699 GB, free: 60.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/11.61, allocations: 3.141 kB / 3.699 GB, free: 60.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006873/11.62, allocations: 4.018 MB / 3.703 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/11.62, allocations: 0 / 3.703 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/11.62, allocations: 171.6 kB / 3.703 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004989/11.62, allocations: 74.78 kB / 3.703 GB, free: 59.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/11.62, allocations: 18.27 kB / 3.703 GB, free: 59.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007574/11.62, allocations: 1.179 MB / 3.705 GB, free: 58.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/11.62, allocations: 3.953 kB / 3.705 GB, free: 58.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/11.62, allocations: 2.378 MB / 3.707 GB, free: 58.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/11.63, allocations: 338.6 kB / 3.707 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/11.63, allocations: 13.91 kB / 3.707 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/11.63, allocations: 62.72 kB / 3.707 GB, free: 58.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/11.63, allocations: 60.97 kB / 3.707 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/11.63, allocations: 24.05 kB / 3.707 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008111/11.63, allocations: 453 kB / 3.708 GB, free: 58.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.11e-07/11.63, allocations: 2.469 kB / 3.708 GB, free: 58.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006865/11.63, allocations: 1.41 MB / 3.709 GB, free: 58.27 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: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0149/11.65, allocations: 4.59 MB / 3.714 GB, free: 57.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004302/11.65, allocations: 1.296 MB / 3.715 GB, free: 57.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/11.65, allocations: 0 / 3.715 GB, free: 57.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/11.66, allocations: 0.8031 MB / 3.716 GB, free: 57.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/11.66, allocations: 324 kB / 3.716 GB, free: 57.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008422/11.67, allocations: 2.55 MB / 3.718 GB, free: 56.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/11.67, allocations: 1.172 MB / 3.72 GB, free: 56.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001976/11.67, allocations: 0.6895 MB / 3.72 GB, free: 56.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/11.67, allocations: 451.3 kB / 3.721 GB, free: 56.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/11.67, allocations: 0 / 3.721 GB, free: 56.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/11.8, allocations: 59.48 MB / 3.779 GB, free: 53.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/11.8, allocations: 252.9 kB / 3.779 GB, free: 53.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.515/17.32, allocations: 0 / 3.779 GB, free: 53.05 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat