Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.392e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.722/7.826, allocations: 2.502 GB / 2.816 GB, free: 58.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/7.826, allocations: 83.39 kB / 2.816 GB, free: 58.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.442/10.27, allocations: 426 MB / 3.232 GB, free: 47.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/10.27, allocations: 0 / 3.232 GB, free: 47.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.881e-05/10.27, allocations: 18.41 kB / 3.233 GB, free: 47.09 MB / 442.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.008551/10.28, allocations: 1.708 MB / 3.234 GB, free: 46.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/10.28, allocations: 7.875 kB / 3.234 GB, free: 46.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/10.28, allocations: 104.7 kB / 3.234 GB, free: 46.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/10.28, allocations: 319.1 kB / 3.235 GB, free: 46.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/10.28, allocations: 0.5725 MB / 3.235 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/10.28, allocations: 49.08 kB / 3.235 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/10.28, allocations: 57.11 kB / 3.235 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/10.29, allocations: 0.9703 MB / 3.236 GB, free: 45.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/10.29, allocations: 4.125 kB / 3.236 GB, free: 45.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/10.29, allocations: 24.91 kB / 3.236 GB, free: 45.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/10.29, allocations: 26.38 kB / 3.236 GB, free: 45.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/10.29, allocations: 0.7987 MB / 3.237 GB, free: 45.87 MB / 442.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.006524/10.3, allocations: 4.449 MB / 3.241 GB, free: 42.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/10.3, allocations: 0.7199 MB / 3.242 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/10.3, allocations: 233 kB / 3.242 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3615/10.66, allocations: 83.18 MB / 3.324 GB, free: 26.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/10.66, allocations: 38.69 kB / 3.324 GB, free: 25.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 4.799e-06/10.66, allocations: 3.891 kB / 3.324 GB, free: 25.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007654/10.67, allocations: 1.842 MB / 3.325 GB, free: 25.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/10.67, allocations: 111.3 kB / 3.325 GB, free: 25.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/10.67, allocations: 414.1 kB / 3.326 GB, free: 25.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/10.67, allocations: 38.17 kB / 3.326 GB, free: 25.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/10.67, allocations: 346 kB / 3.326 GB, free: 25.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/10.67, allocations: 178 kB / 3.326 GB, free: 24.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/10.67, allocations: 13.19 kB / 3.326 GB, free: 24.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/10.67, allocations: 366.9 kB / 3.327 GB, free: 24.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/10.67, allocations: 198.5 kB / 3.327 GB, free: 24.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/10.67, allocations: 389.6 kB / 3.327 GB, free: 24.44 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/10.67, allocations: 253.2 kB / 3.328 GB, free: 24.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/10.67, allocations: 0 / 3.328 GB, free: 24.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002627/10.68, allocations: 0.8099 MB / 3.328 GB, free: 24.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009407/10.68, allocations: 2.183 MB / 3.331 GB, free: 22.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/10.68, allocations: 9.422 kB / 3.331 GB, free: 22.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/10.68, allocations: 379.8 kB / 3.331 GB, free: 22.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/10.68, allocations: 145.8 kB / 3.331 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/10.68, allocations: 0.8556 MB / 3.332 GB, free: 21.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/10.68, allocations: 98.7 kB / 3.332 GB, free: 21.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/10.68, allocations: 44.34 kB / 3.332 GB, free: 21.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/10.68, allocations: 2.719 kB / 3.332 GB, free: 21.48 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/10.69, allocations: 0.7748 MB / 3.333 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/10.69, allocations: 7 kB / 3.333 GB, free: 21.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/10.69, allocations: 297.2 kB / 3.333 GB, free: 21.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/10.69, allocations: 145.2 kB / 3.333 GB, free: 21.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/10.69, allocations: 0.8297 MB / 3.334 GB, free: 20.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/10.69, allocations: 86.16 kB / 3.334 GB, free: 20.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/10.69, allocations: 36.33 kB / 3.334 GB, free: 20.89 MB / 474.7 MB 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.0003137/10.69, allocations: 154 kB / 3.334 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/10.69, allocations: 58.84 kB / 3.334 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/10.7, allocations: 2.848 MB / 3.337 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-05/10.7, allocations: 48.83 kB / 3.337 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/10.7, allocations: 3.047 kB / 3.337 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/10.7, allocations: 3.094 kB / 3.337 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/10.7, allocations: 3.974 MB / 3.341 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/10.7, allocations: 0 / 3.341 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/10.71, allocations: 168.7 kB / 3.341 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/10.71, allocations: 75.23 kB / 3.341 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.173e-05/10.71, allocations: 18.3 kB / 3.341 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009711/10.71, allocations: 1.181 MB / 3.342 GB, free: 18.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/10.71, allocations: 0 / 3.342 GB, free: 18.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/10.71, allocations: 2.38 MB / 3.345 GB, free: 18.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/10.71, allocations: 319.3 kB / 3.345 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/10.71, allocations: 19.25 kB / 3.345 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009545/10.71, allocations: 63.91 kB / 3.345 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/10.71, allocations: 55.33 kB / 3.345 GB, free: 18.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/10.71, allocations: 29.12 kB / 3.345 GB, free: 18.34 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006971/10.71, allocations: 383 kB / 3.346 GB, free: 18.23 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.71, allocations: 0 / 3.346 GB, free: 18.23 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008979/10.72, allocations: 1.388 MB / 3.347 GB, free: 18.04 MB / 474.7 MB 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.02346/10.75, allocations: 4.568 MB / 3.351 GB, free: 16.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005772/10.75, allocations: 1.3 MB / 3.353 GB, free: 16.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/10.75, allocations: 3.969 kB / 3.353 GB, free: 16.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002857/10.76, allocations: 0.8046 MB / 3.353 GB, free: 16.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/10.76, allocations: 291.2 kB / 3.354 GB, free: 16.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6325/11.39, allocations: 76.69 MB / 3.429 GB, free: 73.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/11.39, allocations: 1.167 MB / 3.43 GB, free: 72.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002071/11.4, allocations: 0.6692 MB / 3.43 GB, free: 72.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/11.4, allocations: 441.3 kB / 3.431 GB, free: 72.56 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/11.4, allocations: 2.516 kB / 3.431 GB, free: 72.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/11.57, allocations: 58.37 MB / 3.488 GB, free: 69.17 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/11.57, allocations: 248.5 kB / 3.488 GB, free: 68.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.136/16.71, allocations: 0 / 3.488 GB, free: 68.84 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat