Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001455/0.0001447, allocations: 8 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1169, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.955/8.072, allocations: 2.501 GB / 2.81 GB, free: 100.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/8.072, allocations: 82.09 kB / 2.81 GB, free: 100.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.128/10.2, allocations: 421.4 MB / 3.222 GB, free: 13.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/10.2, allocations: 4 kB / 3.222 GB, free: 13.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.448e-05/10.2, allocations: 16 kB / 3.222 GB, free: 13.14 MB / 426.7 MB 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.008211/10.21, allocations: 1.716 MB / 3.224 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/10.21, allocations: 8.031 kB / 3.224 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/10.21, allocations: 314.8 kB / 3.224 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/10.21, allocations: 0.5878 MB / 3.225 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/10.21, allocations: 20 kB / 3.225 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/10.21, allocations: 32 kB / 3.225 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/10.22, allocations: 0.5343 MB / 3.225 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/10.22, allocations: 0.6627 MB / 3.226 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/10.22, allocations: 3.938 kB / 3.226 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/10.22, allocations: 4 kB / 3.226 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/10.22, allocations: 25.31 kB / 3.226 GB, free: 9.102 MB / 426.7 MB 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.6059/10.82, allocations: 68.45 MB / 3.293 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/10.82, allocations: 341.2 kB / 3.293 GB, free: 27.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/10.83, allocations: 167 kB / 3.293 GB, free: 27.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05069/10.88, allocations: 17.01 MB / 3.31 GB, free: 16.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/10.88, allocations: 38.09 kB / 3.31 GB, free: 16.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 3.927e-06/10.88, allocations: 0 / 3.31 GB, free: 16.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.03998/10.92, allocations: 3.266 MB / 3.313 GB, free: 31.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/10.92, allocations: 111.9 kB / 3.313 GB, free: 31.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/10.92, allocations: 423.7 kB / 3.314 GB, free: 31.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/10.92, allocations: 27.77 kB / 3.314 GB, free: 31.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/10.92, allocations: 371.5 kB / 3.314 GB, free: 31.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/10.92, allocations: 181.7 kB / 3.314 GB, free: 31.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/10.92, allocations: 0 / 3.314 GB, free: 31.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/10.92, allocations: 369.6 kB / 3.314 GB, free: 30.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/10.92, allocations: 262.2 kB / 3.315 GB, free: 30.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/10.92, allocations: 484.4 kB / 3.315 GB, free: 30.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/10.92, allocations: 438.1 kB / 3.316 GB, free: 30.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/10.92, allocations: 4.703 kB / 3.316 GB, free: 30.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004022/10.93, allocations: 1.082 MB / 3.317 GB, free: 30.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001249/10.93, allocations: 2.612 MB / 3.319 GB, free: 27.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/10.93, allocations: 7.25 kB / 3.319 GB, free: 27.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/10.93, allocations: 0.5507 MB / 3.32 GB, free: 27.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/10.93, allocations: 187.6 kB / 3.32 GB, free: 27.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/10.94, allocations: 1.772 MB / 3.322 GB, free: 26.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/10.94, allocations: 131.3 kB / 3.322 GB, free: 26.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/10.94, allocations: 46.52 kB / 3.322 GB, free: 26.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/10.94, allocations: 9.062 kB / 3.322 GB, free: 26.63 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003285/10.94, allocations: 0.8125 MB / 3.323 GB, free: 26.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/10.94, allocations: 7.438 kB / 3.323 GB, free: 26.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002626/10.94, allocations: 364.3 kB / 3.323 GB, free: 26.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/10.95, allocations: 183.3 kB / 3.323 GB, free: 26.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/10.95, allocations: 1.472 MB / 3.325 GB, free: 25.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/10.95, allocations: 102.6 kB / 3.325 GB, free: 25.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/10.95, allocations: 40.06 kB / 3.325 GB, free: 25.5 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000425/10.95, allocations: 128.6 kB / 3.325 GB, free: 25.39 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005071/10.96, allocations: 0.9651 MB / 3.326 GB, free: 25.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/10.96, allocations: 60.19 kB / 3.326 GB, free: 25.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006927/10.96, allocations: 2.534 MB / 3.328 GB, free: 25.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-05/10.96, allocations: 32.73 kB / 3.328 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/10.96, allocations: 0 / 3.328 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/10.96, allocations: 3.656 kB / 3.328 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006907/10.97, allocations: 3.289 MB / 3.332 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/10.97, allocations: 3.172 kB / 3.332 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/10.97, allocations: 92.05 kB / 3.332 GB, free: 24.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/10.97, allocations: 1.465 MB / 3.333 GB, free: 24.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/10.97, allocations: 10.69 kB / 3.333 GB, free: 24.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/10.98, allocations: 2.595 MB / 3.336 GB, free: 23.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/10.98, allocations: 3.375 kB / 3.336 GB, free: 23.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/10.98, allocations: 1.817 MB / 3.337 GB, free: 23.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/10.98, allocations: 288.6 kB / 3.338 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/10.98, allocations: 3.625 kB / 3.338 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/10.98, allocations: 97.81 kB / 3.338 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/10.98, allocations: 50.81 kB / 3.338 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/10.98, allocations: 27.72 kB / 3.338 GB, free: 23.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007304/10.99, allocations: 426.1 kB / 3.338 GB, free: 22.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/10.99, allocations: 0 / 3.338 GB, free: 22.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007514/10.99, allocations: 1.489 MB / 3.34 GB, free: 22.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/11.01, allocations: 3.962 MB / 3.344 GB, free: 21.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004844/11.01, allocations: 1.303 MB / 3.345 GB, free: 21.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/11.01, allocations: 0 / 3.345 GB, free: 21.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/11.02, allocations: 0.6247 MB / 3.345 GB, free: 21.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/11.02, allocations: 242.6 kB / 3.346 GB, free: 21.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/11.03, allocations: 1.952 MB / 3.348 GB, free: 21.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/11.03, allocations: 1.055 MB / 3.349 GB, free: 20.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002126/11.03, allocations: 0.7808 MB / 3.349 GB, free: 20.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/11.03, allocations: 324.9 kB / 3.35 GB, free: 20.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/11.03, allocations: 0 / 3.35 GB, free: 20.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/11.18, allocations: 52.93 MB / 3.401 GB, free: 4.223 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004215/11.18, allocations: 196.1 kB / 3.402 GB, free: 3.961 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.947/16.13, allocations: 0 / 3.402 GB, free: 3.961 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat