Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.357e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1772, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.037/9.214, allocations: 2.787 GB / 3.188 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/9.214, allocations: 84.2 kB / 3.188 GB, free: 60.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.333/11.55, allocations: 443.6 MB / 3.621 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/11.55, allocations: 0 / 3.621 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.49e-05/11.55, allocations: 22.59 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.008304/11.56, allocations: 1.774 MB / 3.623 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/11.56, allocations: 8.031 kB / 3.623 GB, free: 35.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/11.56, allocations: 102.5 kB / 3.623 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003799/11.56, allocations: 332.8 kB / 3.623 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/11.56, allocations: 0.563 MB / 3.624 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/11.56, allocations: 49.25 kB / 3.624 GB, free: 34.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/11.56, allocations: 60 kB / 3.624 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/11.56, allocations: 0.9664 MB / 3.625 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/11.56, allocations: 4 kB / 3.625 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/11.56, allocations: 24 kB / 3.625 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/11.56, allocations: 28.95 kB / 3.625 GB, free: 32.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/11.57, allocations: 0.7981 MB / 3.626 GB, free: 32.2 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.008214/11.58, allocations: 4.764 MB / 3.63 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/11.58, allocations: 0.6983 MB / 3.631 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/11.58, allocations: 221.6 kB / 3.631 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07524/11.65, allocations: 24.23 MB / 3.655 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/11.65, allocations: 50.88 kB / 3.655 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 3.276e-06/11.65, allocations: 0 / 3.655 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.004821/11.66, allocations: 1.014 MB / 3.656 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/11.66, allocations: 110.8 kB / 3.656 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/11.66, allocations: 460.8 kB / 3.656 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/11.66, allocations: 37.7 kB / 3.656 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/11.66, allocations: 340 kB / 3.657 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/11.66, allocations: 145.8 kB / 3.657 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/11.66, allocations: 12 kB / 3.657 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001856/11.66, allocations: 370.7 kB / 3.657 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/11.66, allocations: 165.1 kB / 3.657 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/11.66, allocations: 342.7 kB / 3.658 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/11.66, allocations: 215.8 kB / 3.658 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/11.66, allocations: 0 / 3.658 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001952/11.67, allocations: 0.6416 MB / 3.659 GB, free: 11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008703/11.67, allocations: 2.096 MB / 3.661 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/11.67, allocations: 4 kB / 3.661 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/11.67, allocations: 264.6 kB / 3.661 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/11.67, allocations: 143.8 kB / 3.661 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/11.67, allocations: 0.7514 MB / 3.662 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/11.67, allocations: 131.2 kB / 3.662 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/11.67, allocations: 35.98 kB / 3.662 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/11.67, allocations: 4 kB / 3.662 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002617/11.68, allocations: 0.5857 MB / 3.662 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/11.68, allocations: 4.719 kB / 3.662 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/11.68, allocations: 172.7 kB / 3.663 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/11.68, allocations: 151.8 kB / 3.663 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009729/11.68, allocations: 0.7123 MB / 3.663 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/11.68, allocations: 107.5 kB / 3.664 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/11.68, allocations: 31.98 kB / 3.664 GB, free: 5.602 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002927/11.68, allocations: 144.8 kB / 3.664 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/11.68, allocations: 67.23 kB / 3.664 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/11.69, allocations: 2.79 MB / 3.666 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/11.69, allocations: 31.94 kB / 3.667 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/11.69, allocations: 0 / 3.667 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/11.69, allocations: 7.922 kB / 3.667 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/11.69, allocations: 1.387 MB / 3.668 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/11.69, allocations: 3.984 kB / 3.668 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008369/11.69, allocations: 99.92 kB / 3.668 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4267/12.12, allocations: 1.21 MB / 3.669 GB, free: 75.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/12.12, allocations: 14.09 kB / 3.669 GB, free: 75.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/12.12, allocations: 1.477 MB / 3.671 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/12.12, allocations: 0 / 3.671 GB, free: 74.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004198/12.12, allocations: 1.782 MB / 3.672 GB, free: 74.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008774/12.13, allocations: 367.2 kB / 3.673 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/12.13, allocations: 12.45 kB / 3.673 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/12.13, allocations: 83.39 kB / 3.673 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/12.13, allocations: 49.89 kB / 3.673 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/12.13, allocations: 22.92 kB / 3.673 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001227/12.13, allocations: 0.5498 MB / 3.673 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/12.13, allocations: 6.969 kB / 3.673 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008456/12.14, allocations: 1.432 MB / 3.675 GB, free: 74.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 (39): * Single equations (assignments): 32 * 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: 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.01541/12.15, allocations: 3.654 MB / 3.678 GB, free: 73.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003645/12.16, allocations: 1.043 MB / 3.679 GB, free: 73.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/12.16, allocations: 0 / 3.679 GB, free: 73.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/12.16, allocations: 0.6233 MB / 3.68 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/12.16, allocations: 337.1 kB / 3.68 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009059/12.17, allocations: 2.235 MB / 3.683 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000932/12.17, allocations: 1.149 MB / 3.684 GB, free: 72.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002671/12.17, allocations: 0.6804 MB / 3.684 GB, free: 72.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007904/12.17, allocations: 405.1 kB / 3.685 GB, free: 72.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.532e-06/12.17, allocations: 0 / 3.685 GB, free: 72.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/12.32, allocations: 58.46 MB / 3.742 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/12.32, allocations: 252 kB / 3.742 GB, free: 70 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.128/18.45, allocations: 0 / 3.742 GB, free: 70 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat