Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.129/2.129, allocations: 209.3 MB / 221.9 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.465e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.98/8.097, allocations: 2.502 GB / 2.816 GB, free: 59.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/8.098, allocations: 81.39 kB / 2.816 GB, free: 59.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395/10.49, allocations: 425.7 MB / 3.232 GB, free: 43.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.345e-06/10.49, allocations: 0 / 3.232 GB, free: 43.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.294e-05/10.49, allocations: 17.16 kB / 3.232 GB, free: 43.65 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.00804/10.5, allocations: 1.706 MB / 3.234 GB, free: 42.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/10.5, allocations: 10.31 kB / 3.234 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002373/10.5, allocations: 97.38 kB / 3.234 GB, free: 42.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/10.5, allocations: 312.7 kB / 3.234 GB, free: 42.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/10.51, allocations: 0.5823 MB / 3.235 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/10.51, allocations: 47.5 kB / 3.235 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/10.51, allocations: 67.33 kB / 3.235 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/10.51, allocations: 0.9646 MB / 3.236 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/10.51, allocations: 5.391 kB / 3.236 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/10.51, allocations: 28.06 kB / 3.236 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/10.51, allocations: 20.34 kB / 3.236 GB, free: 42.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/10.51, allocations: 0.8022 MB / 3.237 GB, free: 42.44 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.006571/10.52, allocations: 4.45 MB / 3.241 GB, free: 39.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00273/10.52, allocations: 0.709 MB / 3.242 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/10.52, allocations: 233.4 kB / 3.242 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2882/10.81, allocations: 83.19 MB / 3.323 GB, free: 22.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/10.81, allocations: 37.47 kB / 3.323 GB, free: 22.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.526e-06/10.81, allocations: 0 / 3.323 GB, free: 22.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.007191/10.82, allocations: 1.837 MB / 3.325 GB, free: 22.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/10.82, allocations: 107.2 kB / 3.325 GB, free: 21.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/10.82, allocations: 414.6 kB / 3.325 GB, free: 21.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/10.82, allocations: 35.67 kB / 3.325 GB, free: 21.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/10.82, allocations: 373.4 kB / 3.326 GB, free: 21.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/10.82, allocations: 188.7 kB / 3.326 GB, free: 21.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/10.82, allocations: 9.75 kB / 3.326 GB, free: 21.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/10.82, allocations: 334.2 kB / 3.326 GB, free: 21.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/10.82, allocations: 199 kB / 3.327 GB, free: 21.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/10.82, allocations: 383.9 kB / 3.327 GB, free: 20.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/10.82, allocations: 250.8 kB / 3.327 GB, free: 20.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/10.82, allocations: 3.656 kB / 3.327 GB, free: 20.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002532/10.82, allocations: 0.791 MB / 3.328 GB, free: 20.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008603/10.83, allocations: 2.188 MB / 3.33 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/10.83, allocations: 7.344 kB / 3.33 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/10.83, allocations: 370.2 kB / 3.33 GB, free: 18.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009899/10.83, allocations: 139.9 kB / 3.331 GB, free: 18.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/10.83, allocations: 0.8676 MB / 3.331 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/10.83, allocations: 98.98 kB / 3.331 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/10.83, allocations: 35.33 kB / 3.332 GB, free: 17.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/10.83, allocations: 5.406 kB / 3.332 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002863/10.84, allocations: 0.7889 MB / 3.332 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/10.84, allocations: 6.562 kB / 3.332 GB, free: 17.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/10.84, allocations: 268.9 kB / 3.333 GB, free: 17.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/10.84, allocations: 153.4 kB / 3.333 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/10.84, allocations: 0.8178 MB / 3.333 GB, free: 17.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/10.84, allocations: 92.06 kB / 3.334 GB, free: 17.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/10.84, allocations: 36.08 kB / 3.334 GB, free: 17.38 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 (60): * Single equations (assignments): 59 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/10.84, allocations: 143.5 kB / 3.334 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/10.84, allocations: 57.62 kB / 3.334 GB, free: 17.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/10.85, allocations: 2.837 MB / 3.337 GB, free: 16.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-05/10.85, allocations: 53.5 kB / 3.337 GB, free: 16.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/10.85, allocations: 0 / 3.337 GB, free: 16.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/10.85, allocations: 3.656 kB / 3.337 GB, free: 16.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/10.85, allocations: 3.95 MB / 3.34 GB, free: 16.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/10.85, allocations: 3.953 kB / 3.34 GB, free: 16.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/10.85, allocations: 171.9 kB / 3.341 GB, free: 16.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/10.85, allocations: 72.44 kB / 3.341 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/10.85, allocations: 18.69 kB / 3.341 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009171/10.85, allocations: 1.171 MB / 3.342 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/10.85, allocations: 3.625 kB / 3.342 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/10.86, allocations: 2.369 MB / 3.344 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007614/10.86, allocations: 314.9 kB / 3.345 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/10.86, allocations: 12.16 kB / 3.345 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/10.86, allocations: 78.14 kB / 3.345 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/10.86, allocations: 52.48 kB / 3.345 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/10.86, allocations: 21 kB / 3.345 GB, free: 14.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006846/10.86, allocations: 390 kB / 3.345 GB, free: 14.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.86, allocations: 0 / 3.345 GB, free: 14.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006481/10.87, allocations: 1.381 MB / 3.346 GB, free: 14.55 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.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 (67): * Single equations (assignments): 52 * 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.01477/10.88, allocations: 4.54 MB / 3.351 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003533/10.89, allocations: 1.281 MB / 3.352 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/10.89, allocations: 0 / 3.352 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/10.89, allocations: 0.8052 MB / 3.353 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/10.89, allocations: 290.7 kB / 3.353 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5869/11.48, allocations: 76.81 MB / 3.428 GB, free: 73.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/11.48, allocations: 1.16 MB / 3.429 GB, free: 72.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/11.48, allocations: 460.7 kB / 3.43 GB, free: 72.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/11.48, allocations: 0 / 3.43 GB, free: 72.69 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.205/15.68, allocations: 44.61 MB / 3.473 GB, free: 68.94 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat