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.88/1.88, allocations: 209.3 MB / 221.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.351e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.889/7.992, allocations: 2.502 GB / 2.816 GB, free: 60.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/7.992, allocations: 84.89 kB / 2.816 GB, free: 60.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454/10.45, allocations: 426 MB / 3.232 GB, free: 47.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/10.45, allocations: 0 / 3.232 GB, free: 47.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.522e-05/10.45, allocations: 20.17 kB / 3.232 GB, free: 47.12 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.007992/10.45, allocations: 1.708 MB / 3.234 GB, free: 46.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/10.45, allocations: 10.19 kB / 3.234 GB, free: 46.44 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/10.45, allocations: 99.14 kB / 3.234 GB, free: 46.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/10.46, allocations: 313.9 kB / 3.235 GB, free: 46.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/10.46, allocations: 0.5841 MB / 3.235 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/10.46, allocations: 49.69 kB / 3.235 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/10.46, allocations: 56.12 kB / 3.235 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/10.46, allocations: 0.976 MB / 3.236 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/10.46, allocations: 9.594 kB / 3.236 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/10.46, allocations: 24.62 kB / 3.236 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/10.46, allocations: 21.06 kB / 3.236 GB, free: 45.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/10.47, allocations: 0.8122 MB / 3.237 GB, free: 45.91 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.006504/10.47, allocations: 4.452 MB / 3.241 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/10.48, allocations: 0.7331 MB / 3.242 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/10.48, allocations: 233.2 kB / 3.242 GB, free: 42.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2869/10.76, allocations: 83.18 MB / 3.324 GB, free: 26.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/10.76, allocations: 42.42 kB / 3.324 GB, free: 26.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.735e-06/10.76, allocations: 2.516 kB / 3.324 GB, free: 26.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007563/10.77, allocations: 1.842 MB / 3.325 GB, free: 25.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/10.77, allocations: 113.2 kB / 3.325 GB, free: 25.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/10.77, allocations: 410 kB / 3.326 GB, free: 25.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.324e-05/10.77, allocations: 36.17 kB / 3.326 GB, free: 25.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/10.77, allocations: 341 kB / 3.326 GB, free: 25.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/10.77, allocations: 186.4 kB / 3.326 GB, free: 25.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/10.77, allocations: 15.78 kB / 3.326 GB, free: 25.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/10.77, allocations: 366 kB / 3.327 GB, free: 24.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/10.77, allocations: 192.3 kB / 3.327 GB, free: 24.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/10.77, allocations: 388.2 kB / 3.327 GB, free: 24.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/10.77, allocations: 251.2 kB / 3.328 GB, free: 24.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/10.77, allocations: 4 kB / 3.328 GB, free: 24.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002662/10.78, allocations: 0.8349 MB / 3.328 GB, free: 24.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000937/10.78, allocations: 2.183 MB / 3.331 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/10.78, allocations: 3.906 kB / 3.331 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/10.78, allocations: 379.4 kB / 3.331 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/10.78, allocations: 142.7 kB / 3.331 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/10.78, allocations: 0.861 MB / 3.332 GB, free: 21.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/10.79, allocations: 100.2 kB / 3.332 GB, free: 21.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/10.79, allocations: 35.73 kB / 3.332 GB, free: 21.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/10.79, allocations: 6.5 kB / 3.332 GB, free: 21.52 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002958/10.79, allocations: 0.7886 MB / 3.333 GB, free: 21.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/10.79, allocations: 5.719 kB / 3.333 GB, free: 21.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/10.79, allocations: 298.4 kB / 3.333 GB, free: 21.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/10.79, allocations: 142.2 kB / 3.333 GB, free: 21.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/10.79, allocations: 0.835 MB / 3.334 GB, free: 20.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/10.79, allocations: 87.72 kB / 3.334 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/10.79, allocations: 38.94 kB / 3.334 GB, free: 20.93 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.0003219/10.79, allocations: 151.5 kB / 3.334 GB, free: 20.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/10.79, allocations: 60.97 kB / 3.334 GB, free: 20.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/10.8, allocations: 2.858 MB / 3.337 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/10.8, allocations: 41.11 kB / 3.337 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/10.8, allocations: 0 / 3.337 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/10.8, allocations: 3.422 kB / 3.337 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/10.81, allocations: 3.977 MB / 3.341 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/10.81, allocations: 0 / 3.341 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/10.81, allocations: 168.3 kB / 3.341 GB, free: 19.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/10.81, allocations: 70.98 kB / 3.341 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/10.81, allocations: 16.03 kB / 3.341 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009684/10.81, allocations: 1.178 MB / 3.342 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/10.81, allocations: 6.375 kB / 3.342 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/10.81, allocations: 2.379 MB / 3.345 GB, free: 18.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/10.81, allocations: 324.3 kB / 3.345 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/10.81, allocations: 12.62 kB / 3.345 GB, free: 18.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/10.81, allocations: 68.38 kB / 3.345 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/10.82, allocations: 56.95 kB / 3.345 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/10.82, allocations: 24.23 kB / 3.345 GB, free: 18.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007195/10.82, allocations: 384.9 kB / 3.346 GB, free: 18.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.21e-07/10.82, allocations: 0 / 3.346 GB, free: 18.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007166/10.82, allocations: 1.39 MB / 3.347 GB, free: 18.08 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.01479/10.84, allocations: 4.554 MB / 3.351 GB, free: 16.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003533/10.84, allocations: 1.312 MB / 3.353 GB, free: 16.94 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/10.84, allocations: 0 / 3.353 GB, free: 16.94 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/10.84, allocations: 0.8169 MB / 3.353 GB, free: 16.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/10.85, allocations: 295.6 kB / 3.354 GB, free: 16.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.653/11.5, allocations: 76.68 MB / 3.429 GB, free: 73.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/11.5, allocations: 1.174 MB / 3.43 GB, free: 73.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001985/11.5, allocations: 0.6653 MB / 3.43 GB, free: 73.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/11.5, allocations: 448.3 kB / 3.431 GB, free: 73.09 MB / 474.7 MB Notification: Performance of SimCode: time 2.023e-06/11.5, allocations: 0 / 3.431 GB, free: 73.09 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/11.65, allocations: 58.29 MB / 3.488 GB, free: 69.83 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/11.65, allocations: 249.6 kB / 3.488 GB, free: 69.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.322/16.97, allocations: 3.344 kB / 3.488 GB, free: 69.5 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