Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 249.5 MB / 261.6 MB, free: 2.148 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.685e-05, allocations: 7.984 kB / 323.5 MB, free: 4.203 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4087, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.518/8.926, allocations: 2.781 GB / 3.155 GB, free: 131 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/8.927, allocations: 82.36 kB / 3.155 GB, free: 131 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.552/11.48, allocations: 438.9 MB / 3.584 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/11.48, allocations: 0 / 3.584 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.913e-05/11.48, allocations: 18.88 kB / 3.584 GB, free: 66.68 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.008759/11.49, allocations: 1.764 MB / 3.585 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/11.49, allocations: 10.22 kB / 3.585 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000271/11.49, allocations: 100.2 kB / 3.585 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/11.49, allocations: 324.6 kB / 3.586 GB, free: 65.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/11.49, allocations: 0.5741 MB / 3.586 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/11.49, allocations: 44.22 kB / 3.586 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/11.49, allocations: 54.12 kB / 3.586 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/11.5, allocations: 0.9675 MB / 3.587 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/11.5, allocations: 2.906 kB / 3.587 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/11.5, allocations: 35.25 kB / 3.587 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/11.5, allocations: 23.22 kB / 3.587 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/11.5, allocations: 0.7937 MB / 3.588 GB, free: 65.32 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.008937/11.51, allocations: 4.772 MB / 3.593 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/11.51, allocations: 0.6951 MB / 3.593 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/11.51, allocations: 227.4 kB / 3.594 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07629/11.59, allocations: 24.24 MB / 3.617 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/11.59, allocations: 38.81 kB / 3.617 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.676e-06/11.59, allocations: 0 / 3.617 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004567/11.59, allocations: 1.017 MB / 3.618 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/11.59, allocations: 114.4 kB / 3.618 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/11.6, allocations: 455.4 kB / 3.619 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/11.6, allocations: 33.42 kB / 3.619 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/11.6, allocations: 337.6 kB / 3.619 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/11.6, allocations: 148.3 kB / 3.619 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/11.6, allocations: 11.5 kB / 3.619 GB, free: 45.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001262/11.6, allocations: 369.3 kB / 3.62 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/11.6, allocations: 165.4 kB / 3.62 GB, free: 45.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/11.6, allocations: 348.7 kB / 3.62 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/11.6, allocations: 199.8 kB / 3.62 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/11.6, allocations: 3.969 kB / 3.62 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001879/11.6, allocations: 0.6432 MB / 3.621 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005612/11.6, allocations: 2.092 MB / 3.623 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/11.6, allocations: 7.344 kB / 3.623 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/11.6, allocations: 257.5 kB / 3.623 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/11.6, allocations: 144.8 kB / 3.624 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/11.61, allocations: 0.7562 MB / 3.624 GB, free: 41.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/11.61, allocations: 123.7 kB / 3.624 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/11.61, allocations: 31.23 kB / 3.624 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/11.61, allocations: 5.906 kB / 3.624 GB, free: 41.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/11.61, allocations: 0.5991 MB / 3.625 GB, free: 41.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/11.61, allocations: 9.875 kB / 3.625 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/11.61, allocations: 175 kB / 3.625 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/11.61, allocations: 152.9 kB / 3.625 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008882/11.61, allocations: 0.709 MB / 3.626 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/11.61, allocations: 113 kB / 3.626 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/11.61, allocations: 31.55 kB / 3.626 GB, free: 40.83 MB / 0.5105 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.0002829/11.61, allocations: 144.9 kB / 3.626 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/11.61, allocations: 68.06 kB / 3.626 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/11.62, allocations: 2.795 MB / 3.629 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/11.62, allocations: 35.89 kB / 3.629 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/11.62, allocations: 3.719 kB / 3.629 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/11.62, allocations: 7.797 kB / 3.629 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/11.62, allocations: 1.377 MB / 3.63 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/11.62, allocations: 0 / 3.63 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/11.62, allocations: 112.6 kB / 3.631 GB, free: 38.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/11.63, allocations: 1.206 MB / 3.632 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/11.63, allocations: 19.23 kB / 3.632 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/11.63, allocations: 1.466 MB / 3.633 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/11.63, allocations: 3.688 kB / 3.633 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/11.63, allocations: 1.791 MB / 3.635 GB, free: 36.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/11.63, allocations: 362.5 kB / 3.635 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/11.63, allocations: 15.38 kB / 3.635 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/11.63, allocations: 87.14 kB / 3.635 GB, free: 36.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/11.63, allocations: 49.88 kB / 3.635 GB, free: 36.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/11.63, allocations: 24.84 kB / 3.635 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009889/11.63, allocations: 0.5484 MB / 3.636 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/11.63, allocations: 0 / 3.636 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007003/11.64, allocations: 1.439 MB / 3.637 GB, free: 35.55 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: 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.0138/11.66, allocations: 3.649 MB / 3.641 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003325/11.66, allocations: 1.04 MB / 3.642 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/11.66, allocations: 4 kB / 3.642 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/11.66, allocations: 0.62 MB / 3.643 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/11.66, allocations: 340.3 kB / 3.643 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/11.67, allocations: 2.235 MB / 3.645 GB, free: 32.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/11.67, allocations: 1.145 MB / 3.646 GB, free: 31.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001862/11.67, allocations: 0.6815 MB / 3.647 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/11.67, allocations: 410.8 kB / 3.647 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/11.67, allocations: 0 / 3.647 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1798/11.85, allocations: 58.36 MB / 3.704 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006654/11.85, allocations: 242.5 kB / 3.705 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.697/17.55, allocations: 0 / 3.705 GB, free: 3.109 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat