Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.498e-05, allocations: 6.5 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4181, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.777/8.195, allocations: 2.613 GB / 2.964 GB, free: 115.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/8.195, allocations: 85.83 kB / 2.964 GB, free: 115.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324/10.52, allocations: 436.9 MB / 3.391 GB, free: 52.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.555e-06/10.52, allocations: 2.078 kB / 3.391 GB, free: 52.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.158e-05/10.52, allocations: 27 kB / 3.391 GB, free: 52.36 MB / 490.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.008631/10.53, allocations: 1.752 MB / 3.393 GB, free: 51.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/10.53, allocations: 7.812 kB / 3.393 GB, free: 51.43 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/10.53, allocations: 100.4 kB / 3.393 GB, free: 51.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004982/10.53, allocations: 328.3 kB / 3.393 GB, free: 51.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/10.53, allocations: 0.587 MB / 3.394 GB, free: 50.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/10.54, allocations: 44.62 kB / 3.394 GB, free: 50.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/10.54, allocations: 62.25 kB / 3.394 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/10.54, allocations: 0.9739 MB / 3.395 GB, free: 50.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/10.54, allocations: 3 kB / 3.395 GB, free: 50.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/10.54, allocations: 29.25 kB / 3.395 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/10.54, allocations: 22.47 kB / 3.395 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/10.54, allocations: 0.8072 MB / 3.395 GB, free: 50.2 MB / 490.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.006726/10.55, allocations: 4.459 MB / 3.4 GB, free: 46.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/10.55, allocations: 0.7232 MB / 3.4 GB, free: 46.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/10.55, allocations: 234.5 kB / 3.401 GB, free: 46.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2848/10.84, allocations: 83.25 MB / 3.482 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/10.84, allocations: 39 kB / 3.482 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.945e-06/10.84, allocations: 4 kB / 3.482 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.00692/10.84, allocations: 1.839 MB / 3.484 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/10.84, allocations: 111.2 kB / 3.484 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/10.84, allocations: 423.4 kB / 3.484 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/10.85, allocations: 37.7 kB / 3.484 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/10.85, allocations: 331.5 kB / 3.485 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/10.85, allocations: 182.4 kB / 3.485 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/10.85, allocations: 12 kB / 3.485 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001743/10.85, allocations: 377.4 kB / 3.485 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/10.85, allocations: 196.4 kB / 3.485 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/10.85, allocations: 390.9 kB / 3.486 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/10.85, allocations: 246.1 kB / 3.486 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/10.85, allocations: 4 kB / 3.486 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002453/10.85, allocations: 0.825 MB / 3.487 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000836/10.85, allocations: 2.175 MB / 3.489 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/10.85, allocations: 8 kB / 3.489 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/10.85, allocations: 381.2 kB / 3.489 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009299/10.85, allocations: 150.2 kB / 3.489 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/10.86, allocations: 0.8615 MB / 3.49 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/10.86, allocations: 94.23 kB / 3.49 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/10.86, allocations: 39.7 kB / 3.49 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/10.86, allocations: 13.5 kB / 3.49 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002795/10.86, allocations: 0.7918 MB / 3.491 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/10.86, allocations: 4 kB / 3.491 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/10.86, allocations: 289.4 kB / 3.491 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/10.86, allocations: 148 kB / 3.492 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/10.86, allocations: 0.8378 MB / 3.492 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/10.87, allocations: 91.41 kB / 3.493 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/10.87, allocations: 39.38 kB / 3.493 GB, free: 9.414 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (61): * Single equations (assignments): 60 * 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.0003079/10.87, allocations: 138.2 kB / 3.493 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/10.87, allocations: 63.25 kB / 3.493 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/10.87, allocations: 2.856 MB / 3.496 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-05/10.87, allocations: 42.89 kB / 3.496 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/10.87, allocations: 0 / 3.496 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/10.87, allocations: 3.844 kB / 3.496 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006958/10.88, allocations: 3.985 MB / 3.499 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/10.88, allocations: 0 / 3.499 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/10.88, allocations: 165.6 kB / 3.5 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/10.88, allocations: 75.56 kB / 3.5 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/10.88, allocations: 16 kB / 3.5 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009435/10.88, allocations: 1.185 MB / 3.501 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/10.88, allocations: 0 / 3.501 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3687/11.25, allocations: 2.571 MB / 3.503 GB, free: 84.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/11.25, allocations: 311.4 kB / 3.504 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/11.25, allocations: 14.83 kB / 3.504 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/11.25, allocations: 75.8 kB / 3.504 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/11.25, allocations: 52.48 kB / 3.504 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/11.25, allocations: 25.53 kB / 3.504 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001208/11.26, allocations: 386.7 kB / 3.504 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.92e-07/11.26, allocations: 2.75 kB / 3.504 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009809/11.27, allocations: 1.388 MB / 3.506 GB, free: 84.21 MB / 0.5105 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.02295/11.29, allocations: 4.555 MB / 3.51 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006035/11.29, allocations: 1.32 MB / 3.511 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.559e-05/11.29, allocations: 2.219 kB / 3.511 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/11.3, allocations: 0.8077 MB / 3.512 GB, free: 83.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/11.3, allocations: 300.9 kB / 3.512 GB, free: 83.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3324/11.63, allocations: 77.73 MB / 3.588 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009222/11.64, allocations: 1.172 MB / 3.589 GB, free: 80.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002718/11.64, allocations: 0.67 MB / 3.59 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/11.64, allocations: 442.7 kB / 3.591 GB, free: 80.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.284e-06/11.64, allocations: 3.312 kB / 3.591 GB, free: 80.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/11.78, allocations: 58.48 MB / 3.648 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/11.78, allocations: 258 kB / 3.648 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.571/17.35, allocations: 4 kB / 3.648 GB, free: 57.06 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat