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.941/1.941, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.452e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.788/7.911, allocations: 2.502 GB / 2.811 GB, free: 89.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/7.912, allocations: 79.95 kB / 2.811 GB, free: 89.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.159/10.07, allocations: 422 MB / 3.223 GB, free: 10.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.275e-06/10.07, allocations: 0 / 3.223 GB, free: 10.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.234e-05/10.07, allocations: 19.91 kB / 3.223 GB, free: 10.93 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.009123/10.08, allocations: 1.705 MB / 3.224 GB, free: 9.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/10.08, allocations: 12.03 kB / 3.224 GB, free: 9.168 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/10.08, allocations: 314.7 kB / 3.225 GB, free: 8.859 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/10.09, allocations: 0.5798 MB / 3.225 GB, free: 8.246 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.729e-05/10.09, allocations: 24 kB / 3.225 GB, free: 8.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/10.09, allocations: 32 kB / 3.225 GB, free: 8.191 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001693/10.09, allocations: 0.5421 MB / 3.226 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/10.09, allocations: 0.6588 MB / 3.226 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/10.09, allocations: 3.984 kB / 3.226 GB, free: 6.922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/10.09, allocations: 4 kB / 3.226 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/10.09, allocations: 25.31 kB / 3.227 GB, free: 6.895 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.01292/10.1, allocations: 5.758 MB / 3.232 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/10.1, allocations: 459.5 kB / 3.233 GB, free: 140 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3446/10.45, allocations: 216 kB / 3.233 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.29/10.74, allocations: 81.79 MB / 3.313 GB, free: 30.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/10.74, allocations: 39.86 kB / 3.313 GB, free: 30.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 3.387e-06/10.74, allocations: 0 / 3.313 GB, free: 30.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=51): time 0.009568/10.75, allocations: 1.805 MB / 3.314 GB, free: 29.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/10.75, allocations: 112.6 kB / 3.315 GB, free: 29.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/10.75, allocations: 380.1 kB / 3.315 GB, free: 29.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/10.75, allocations: 30.33 kB / 3.315 GB, free: 29.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/10.75, allocations: 375.7 kB / 3.315 GB, free: 29.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/10.75, allocations: 170.3 kB / 3.315 GB, free: 29.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/10.75, allocations: 4 kB / 3.315 GB, free: 29.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/10.75, allocations: 344.8 kB / 3.316 GB, free: 28.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/10.75, allocations: 189.4 kB / 3.316 GB, free: 28.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/10.75, allocations: 377.2 kB / 3.316 GB, free: 28.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/10.75, allocations: 329.4 kB / 3.317 GB, free: 28.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/10.75, allocations: 0 / 3.317 GB, free: 28.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00358/10.76, allocations: 0.823 MB / 3.317 GB, free: 28.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009347/10.76, allocations: 2.182 MB / 3.32 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/10.76, allocations: 7.25 kB / 3.32 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/10.76, allocations: 296.2 kB / 3.32 GB, free: 26.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/10.76, allocations: 148.8 kB / 3.32 GB, free: 26.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/10.76, allocations: 0.9302 MB / 3.321 GB, free: 25.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/10.77, allocations: 85.84 kB / 3.321 GB, free: 25.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/10.77, allocations: 36.05 kB / 3.321 GB, free: 25.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/10.77, allocations: 3.938 kB / 3.321 GB, free: 25.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002965/10.77, allocations: 0.7049 MB / 3.322 GB, free: 25.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/10.77, allocations: 6.625 kB / 3.322 GB, free: 25.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/10.77, allocations: 276.3 kB / 3.322 GB, free: 25.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/10.77, allocations: 147.9 kB / 3.322 GB, free: 25.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/10.77, allocations: 0.8423 MB / 3.323 GB, free: 25.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/10.77, allocations: 73.62 kB / 3.323 GB, free: 25.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/10.77, allocations: 35.44 kB / 3.323 GB, free: 25.21 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.0003562/10.77, allocations: 131.2 kB / 3.323 GB, free: 25.1 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002625/10.78, allocations: 0.5588 MB / 3.324 GB, free: 25.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/10.78, allocations: 63.91 kB / 3.324 GB, free: 24.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/10.78, allocations: 2.634 MB / 3.326 GB, free: 24.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/10.78, allocations: 40.89 kB / 3.326 GB, free: 24.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/10.78, allocations: 3.656 kB / 3.326 GB, free: 24.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/10.78, allocations: 3.953 kB / 3.326 GB, free: 24.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/10.79, allocations: 3.586 MB / 3.33 GB, free: 24.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/10.79, allocations: 0 / 3.33 GB, free: 24.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/10.79, allocations: 166.2 kB / 3.33 GB, free: 24.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/10.79, allocations: 66.66 kB / 3.33 GB, free: 24.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/10.79, allocations: 16.28 kB / 3.33 GB, free: 24.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/10.79, allocations: 1.202 MB / 3.331 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/10.79, allocations: 0 / 3.331 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004558/10.8, allocations: 2.265 MB / 3.334 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/10.8, allocations: 317.8 kB / 3.334 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/10.8, allocations: 5.375 kB / 3.334 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/10.8, allocations: 59.36 kB / 3.334 GB, free: 22.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/10.8, allocations: 58.28 kB / 3.334 GB, free: 22.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/10.8, allocations: 26.69 kB / 3.334 GB, free: 22.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006539/10.8, allocations: 361.7 kB / 3.334 GB, free: 22.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/10.8, allocations: 0 / 3.334 GB, free: 22.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007247/10.81, allocations: 1.331 MB / 3.336 GB, free: 22.66 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.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 (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01748/10.82, allocations: 4.531 MB / 3.34 GB, free: 21.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003278/10.83, allocations: 1.202 MB / 3.341 GB, free: 21.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/10.83, allocations: 4.125 kB / 3.341 GB, free: 21.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/10.83, allocations: 0.7446 MB / 3.342 GB, free: 21.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/10.83, allocations: 287.4 kB / 3.342 GB, free: 21.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2066/11.04, allocations: 55.77 MB / 3.397 GB, free: 5.359 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009433/11.04, allocations: 1.152 MB / 3.398 GB, free: 4.352 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/11.04, allocations: 437.6 kB / 3.398 GB, free: 4.297 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/11.04, allocations: 4 kB / 3.398 GB, free: 4.293 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.562/15.6, allocations: 44.9 MB / 3.442 GB, free: 70.73 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