Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.47e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3596, allocations: 54.86 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.445/8.805, allocations: 2.595 GB / 2.941 GB, free: 110.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/8.805, allocations: 82.66 kB / 2.941 GB, free: 110.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.307/11.11, allocations: 413.7 MB / 3.345 GB, free: 51.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/11.11, allocations: 3.938 kB / 3.345 GB, free: 51.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.551e-05/11.11, allocations: 16.23 kB / 3.345 GB, free: 51.39 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007175/11.12, allocations: 1.644 MB / 3.347 GB, free: 50.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/11.12, allocations: 16 kB / 3.347 GB, free: 50.41 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003472/11.12, allocations: 300.5 kB / 3.347 GB, free: 50.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/11.12, allocations: 0.5453 MB / 3.348 GB, free: 49.99 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/11.13, allocations: 22.12 kB / 3.348 GB, free: 49.99 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/11.13, allocations: 34.17 kB / 3.348 GB, free: 49.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/11.13, allocations: 0.5042 MB / 3.348 GB, free: 49.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/11.13, allocations: 0.6326 MB / 3.349 GB, free: 49.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/11.13, allocations: 3.891 kB / 3.349 GB, free: 49.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/11.13, allocations: 3.625 kB / 3.349 GB, free: 49.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-05/11.13, allocations: 27.11 kB / 3.349 GB, free: 49.44 MB / 474.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.1395/11.27, allocations: 36.45 MB / 3.385 GB, free: 24.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/11.27, allocations: 372.4 kB / 3.385 GB, free: 23.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/11.27, allocations: 196.5 kB / 3.385 GB, free: 23.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06298/11.33, allocations: 20.04 MB / 3.405 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/11.33, allocations: 38.89 kB / 3.405 GB, free: 3.781 MB / 474.7 MB Notification: Performance of pre-optimization done (n=39): time 3.286e-06/11.33, allocations: 4 kB / 3.405 GB, free: 3.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.01461/11.35, allocations: 2.338 MB / 3.407 GB, free: 17.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/11.35, allocations: 111.2 kB / 3.407 GB, free: 17.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/11.35, allocations: 365.1 kB / 3.407 GB, free: 17.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/11.35, allocations: 29.64 kB / 3.407 GB, free: 16.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/11.35, allocations: 343.5 kB / 3.408 GB, free: 16.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/11.35, allocations: 177.4 kB / 3.408 GB, free: 16.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/11.35, allocations: 3.938 kB / 3.408 GB, free: 16.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/11.35, allocations: 366.8 kB / 3.408 GB, free: 16.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/11.35, allocations: 213.5 kB / 3.409 GB, free: 15.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/11.35, allocations: 411.7 kB / 3.409 GB, free: 15.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/11.35, allocations: 381.9 kB / 3.409 GB, free: 15.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/11.35, allocations: 0 / 3.409 GB, free: 15.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00552/11.36, allocations: 1.003 MB / 3.41 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00122/11.36, allocations: 2.361 MB / 3.413 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/11.36, allocations: 8 kB / 3.413 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004067/11.36, allocations: 424.1 kB / 3.413 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/11.36, allocations: 147.8 kB / 3.413 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/11.37, allocations: 1.547 MB / 3.415 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/11.37, allocations: 95.77 kB / 3.415 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/11.37, allocations: 43.98 kB / 3.415 GB, free: 9.168 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/11.37, allocations: 0.625 kB / 3.415 GB, free: 9.168 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005428/11.38, allocations: 0.8852 MB / 3.416 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/11.38, allocations: 4 kB / 3.416 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002825/11.38, allocations: 345.8 kB / 3.416 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/11.38, allocations: 151.7 kB / 3.416 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/11.38, allocations: 1.46 MB / 3.418 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/11.38, allocations: 75.89 kB / 3.418 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/11.38, allocations: 39.98 kB / 3.418 GB, free: 6.156 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (62): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003943/11.38, allocations: 150.2 kB / 3.418 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004002/11.39, allocations: 0.7314 MB / 3.419 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/11.39, allocations: 59.33 kB / 3.419 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008101/11.4, allocations: 2.907 MB / 3.421 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-05/11.4, allocations: 47.88 kB / 3.421 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/11.4, allocations: 4 kB / 3.421 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/11.4, allocations: 3.984 kB / 3.421 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4445/11.84, allocations: 3.842 MB / 3.425 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/11.84, allocations: 2.125 kB / 3.425 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/11.84, allocations: 88.03 kB / 3.425 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005556/11.85, allocations: 0.9566 MB / 3.426 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/11.85, allocations: 11.22 kB / 3.426 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/11.85, allocations: 2.11 MB / 3.428 GB, free: 68.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/11.85, allocations: 6.125 kB / 3.428 GB, free: 68.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007624/11.86, allocations: 2.008 MB / 3.43 GB, free: 68.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/11.86, allocations: 273.5 kB / 3.431 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/11.86, allocations: 6.656 kB / 3.431 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/11.86, allocations: 77.52 kB / 3.431 GB, free: 68.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/11.86, allocations: 48.72 kB / 3.431 GB, free: 68.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/11.86, allocations: 24.73 kB / 3.431 GB, free: 68.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008894/11.86, allocations: 331.1 kB / 3.431 GB, free: 67.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.22e-07/11.86, allocations: 1.156 kB / 3.431 GB, free: 67.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007414/11.87, allocations: 1.352 MB / 3.432 GB, free: 67.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01778/11.89, allocations: 4.079 MB / 3.436 GB, free: 67.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005679/11.9, allocations: 1.362 MB / 3.438 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/11.9, allocations: 0 / 3.438 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/11.9, allocations: 0.762 MB / 3.438 GB, free: 67.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/11.9, allocations: 239.9 kB / 3.439 GB, free: 67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/11.91, allocations: 2.165 MB / 3.441 GB, free: 66.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/11.91, allocations: 1.105 MB / 3.442 GB, free: 65.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002332/11.91, allocations: 0.7424 MB / 3.443 GB, free: 65.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/11.91, allocations: 348.6 kB / 3.443 GB, free: 65.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/11.91, allocations: 0 / 3.443 GB, free: 65.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/12.06, allocations: 50.35 MB / 3.492 GB, free: 64.19 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002779/12.06, allocations: 214.1 kB / 3.492 GB, free: 63.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.239/17.3, allocations: 3.906 kB / 3.492 GB, free: 63.91 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat