Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.363e-05/4.366e-05, allocations: 11.98 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.749/7.862, allocations: 2.502 GB / 2.816 GB, free: 61.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/7.862, allocations: 82.95 kB / 2.816 GB, free: 61.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.587/10.45, allocations: 426 MB / 3.232 GB, free: 46.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/10.45, allocations: 0 / 3.232 GB, free: 46.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001021/10.45, allocations: 21.12 kB / 3.232 GB, free: 46.86 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.01026/10.46, allocations: 1.708 MB / 3.234 GB, free: 46.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.922e-05/10.46, allocations: 10.09 kB / 3.234 GB, free: 46.17 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003978/10.46, allocations: 98.17 kB / 3.234 GB, free: 46.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005711/10.47, allocations: 310.9 kB / 3.235 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/10.47, allocations: 0.5885 MB / 3.235 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/10.47, allocations: 50.59 kB / 3.235 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/10.47, allocations: 55.09 kB / 3.235 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/10.47, allocations: 0.9651 MB / 3.236 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/10.47, allocations: 3.75 kB / 3.236 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/10.47, allocations: 26.06 kB / 3.236 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/10.47, allocations: 21.11 kB / 3.236 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/10.48, allocations: 0.7995 MB / 3.237 GB, free: 45.65 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.008383/10.49, allocations: 4.453 MB / 3.241 GB, free: 42.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/10.49, allocations: 0.7133 MB / 3.242 GB, free: 42.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/10.49, allocations: 241.9 kB / 3.242 GB, free: 42.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3235/10.81, allocations: 83.19 MB / 3.324 GB, free: 25.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/10.81, allocations: 42.83 kB / 3.324 GB, free: 25.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/10.81, allocations: 0 / 3.324 GB, free: 25.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007368/10.82, allocations: 1.848 MB / 3.325 GB, free: 25.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/10.82, allocations: 112.7 kB / 3.325 GB, free: 25.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/10.82, allocations: 412 kB / 3.326 GB, free: 25.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/10.82, allocations: 35.7 kB / 3.326 GB, free: 25.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/10.82, allocations: 377.2 kB / 3.326 GB, free: 24.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/10.82, allocations: 178.9 kB / 3.326 GB, free: 24.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/10.82, allocations: 13.91 kB / 3.326 GB, free: 24.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/10.82, allocations: 340.8 kB / 3.327 GB, free: 24.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/10.82, allocations: 196.5 kB / 3.327 GB, free: 24.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/10.82, allocations: 378.5 kB / 3.327 GB, free: 24.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/10.82, allocations: 253.5 kB / 3.328 GB, free: 24.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/10.82, allocations: 1.125 kB / 3.328 GB, free: 24.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002488/10.83, allocations: 0.7879 MB / 3.328 GB, free: 24.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009702/10.83, allocations: 2.185 MB / 3.33 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/10.83, allocations: 7.25 kB / 3.33 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00297/10.83, allocations: 376.5 kB / 3.331 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/10.83, allocations: 146.1 kB / 3.331 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/10.83, allocations: 0.8549 MB / 3.332 GB, free: 21.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/10.84, allocations: 97.45 kB / 3.332 GB, free: 21.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/10.84, allocations: 36.05 kB / 3.332 GB, free: 21.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/10.84, allocations: 3.875 kB / 3.332 GB, free: 21.23 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002962/10.84, allocations: 0.7796 MB / 3.333 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/10.84, allocations: 5.484 kB / 3.333 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/10.84, allocations: 287.3 kB / 3.333 GB, free: 21.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/10.84, allocations: 147.7 kB / 3.333 GB, free: 21.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/10.84, allocations: 0.8202 MB / 3.334 GB, free: 20.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/10.84, allocations: 92.8 kB / 3.334 GB, free: 20.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/10.84, allocations: 37.16 kB / 3.334 GB, free: 20.64 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.0003304/10.84, allocations: 146.8 kB / 3.334 GB, free: 20.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/10.84, allocations: 65.62 kB / 3.334 GB, free: 20.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/10.85, allocations: 2.841 MB / 3.337 GB, free: 20.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.755e-05/10.85, allocations: 47.64 kB / 3.337 GB, free: 20.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/10.85, allocations: 3 kB / 3.337 GB, free: 20.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/10.85, allocations: 5.016 kB / 3.337 GB, free: 20.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/10.86, allocations: 3.974 MB / 3.341 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/10.86, allocations: 0 / 3.341 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/10.86, allocations: 170.6 kB / 3.341 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000481/10.86, allocations: 74.19 kB / 3.341 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/10.86, allocations: 12.66 kB / 3.341 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/10.86, allocations: 1.185 MB / 3.342 GB, free: 18.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/10.86, allocations: 0 / 3.342 GB, free: 18.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/10.86, allocations: 2.383 MB / 3.345 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/10.86, allocations: 313 kB / 3.345 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/10.86, allocations: 15.17 kB / 3.345 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/10.86, allocations: 74.72 kB / 3.345 GB, free: 18.09 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/10.86, allocations: 58.67 kB / 3.345 GB, free: 18.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/10.86, allocations: 22.28 kB / 3.345 GB, free: 18.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006952/10.87, allocations: 384.2 kB / 3.345 GB, free: 17.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/10.87, allocations: 0 / 3.345 GB, free: 17.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006685/10.87, allocations: 1.391 MB / 3.347 GB, free: 17.79 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.01489/10.89, allocations: 4.569 MB / 3.351 GB, free: 16.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003404/10.89, allocations: 1.267 MB / 3.353 GB, free: 16.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/10.89, allocations: 4.062 kB / 3.353 GB, free: 16.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/10.89, allocations: 0.8019 MB / 3.353 GB, free: 16.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/10.9, allocations: 296.8 kB / 3.354 GB, free: 16.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.623/11.52, allocations: 76.6 MB / 3.428 GB, free: 73.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/11.52, allocations: 1.163 MB / 3.43 GB, free: 73.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/11.52, allocations: 457.2 kB / 3.43 GB, free: 73.27 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/11.52, allocations: 0 / 3.43 GB, free: 73.27 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.461/15.98, allocations: 44.87 MB / 3.474 GB, free: 69.43 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat