Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.377e-05, allocations: 4 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 48.71 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.465/7.569, allocations: 2.502 GB / 2.811 GB, free: 100.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/7.569, allocations: 89.11 kB / 2.811 GB, free: 100.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.026/9.596, allocations: 421.6 MB / 3.222 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/9.596, allocations: 0 / 3.222 GB, free: 13.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.893e-05/9.596, allocations: 20 kB / 3.222 GB, free: 13.43 MB / 426.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.007347/9.603, allocations: 1.702 MB / 3.224 GB, free: 11.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/9.604, allocations: 12.03 kB / 3.224 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/9.607, allocations: 314.8 kB / 3.224 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/9.608, allocations: 0.5853 MB / 3.225 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.154e-05/9.608, allocations: 28 kB / 3.225 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/9.609, allocations: 32 kB / 3.225 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/9.61, allocations: 0.5343 MB / 3.225 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/9.611, allocations: 0.6548 MB / 3.226 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/9.611, allocations: 4 kB / 3.226 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/9.611, allocations: 0 / 3.226 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/9.611, allocations: 25.31 kB / 3.226 GB, free: 9.406 MB / 426.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.009513/9.621, allocations: 5.736 MB / 3.232 GB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/9.622, allocations: 447.9 kB / 3.232 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/9.623, allocations: 218.6 kB / 3.232 GB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6587/10.28, allocations: 81.78 MB / 3.312 GB, free: 29.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/10.28, allocations: 35.75 kB / 3.312 GB, free: 29.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 4.268e-06/10.28, allocations: 0 / 3.312 GB, free: 29.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.01261/10.29, allocations: 1.784 MB / 3.314 GB, free: 29.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/10.29, allocations: 114.6 kB / 3.314 GB, free: 29.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/10.29, allocations: 376 kB / 3.314 GB, free: 29.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/10.3, allocations: 29.39 kB / 3.315 GB, free: 29.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/10.3, allocations: 343.3 kB / 3.315 GB, free: 29.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/10.3, allocations: 170 kB / 3.315 GB, free: 28.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/10.3, allocations: 0 / 3.315 GB, free: 28.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/10.3, allocations: 369.2 kB / 3.315 GB, free: 28.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006269/10.3, allocations: 190.4 kB / 3.316 GB, free: 28.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/10.3, allocations: 378 kB / 3.316 GB, free: 28.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/10.3, allocations: 323.8 kB / 3.316 GB, free: 28.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/10.3, allocations: 3.969 kB / 3.316 GB, free: 28.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003915/10.3, allocations: 0.8419 MB / 3.317 GB, free: 28.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008354/10.3, allocations: 2.191 MB / 3.319 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/10.31, allocations: 7.844 kB / 3.319 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/10.31, allocations: 287.1 kB / 3.319 GB, free: 26.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/10.31, allocations: 143.8 kB / 3.32 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/10.31, allocations: 0.9504 MB / 3.321 GB, free: 25.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/10.31, allocations: 78.86 kB / 3.321 GB, free: 25.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/10.31, allocations: 39.8 kB / 3.321 GB, free: 25.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/10.31, allocations: 3.812 kB / 3.321 GB, free: 25.51 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002764/10.31, allocations: 0.6974 MB / 3.321 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/10.31, allocations: 6.875 kB / 3.321 GB, free: 25.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/10.32, allocations: 268.2 kB / 3.322 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/10.32, allocations: 148.4 kB / 3.322 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/10.32, allocations: 0.8531 MB / 3.323 GB, free: 24.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/10.32, allocations: 80.59 kB / 3.323 GB, free: 24.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/10.32, allocations: 37.31 kB / 3.323 GB, free: 24.92 MB / 458.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.0003215/10.32, allocations: 122.9 kB / 3.323 GB, free: 24.81 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002457/10.32, allocations: 0.5553 MB / 3.323 GB, free: 24.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/10.32, allocations: 62 kB / 3.323 GB, free: 24.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004916/10.33, allocations: 2.631 MB / 3.326 GB, free: 24.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/10.33, allocations: 44.05 kB / 3.326 GB, free: 24.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/10.33, allocations: 0 / 3.326 GB, free: 24.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/10.33, allocations: 2.016 kB / 3.326 GB, free: 24.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/10.33, allocations: 3.574 MB / 3.329 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/10.33, allocations: 0 / 3.329 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/10.34, allocations: 165.1 kB / 3.33 GB, free: 24.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/10.34, allocations: 70.41 kB / 3.33 GB, free: 24.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/10.34, allocations: 8.484 kB / 3.33 GB, free: 24.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/10.34, allocations: 1.2 MB / 3.331 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/10.34, allocations: 8.781 kB / 3.331 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/10.34, allocations: 2.248 MB / 3.333 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/10.34, allocations: 323.4 kB / 3.333 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/10.34, allocations: 7.828 kB / 3.333 GB, free: 22.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/10.34, allocations: 54.05 kB / 3.333 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/10.34, allocations: 50.3 kB / 3.334 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/10.34, allocations: 27.64 kB / 3.334 GB, free: 22.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006056/10.35, allocations: 362.2 kB / 3.334 GB, free: 22.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.21e-07/10.35, allocations: 1.641 kB / 3.334 GB, free: 22.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006729/10.35, allocations: 1.327 MB / 3.335 GB, free: 22.36 MB / 458.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,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.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 (65): * Single equations (assignments): 51 * 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.01548/10.37, allocations: 4.515 MB / 3.34 GB, free: 21.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003299/10.37, allocations: 1.21 MB / 3.341 GB, free: 21.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/10.37, allocations: 0 / 3.341 GB, free: 21.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/10.37, allocations: 0.7436 MB / 3.341 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/10.38, allocations: 275.6 kB / 3.342 GB, free: 21.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1943/10.57, allocations: 55.73 MB / 3.396 GB, free: 6.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/10.57, allocations: 1.151 MB / 3.397 GB, free: 5.898 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002207/10.57, allocations: 0.678 MB / 3.398 GB, free: 5.508 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000736/10.57, allocations: 429.6 kB / 3.398 GB, free: 5.457 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/10.57, allocations: 0 / 3.398 GB, free: 5.457 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/11.07, allocations: 49.93 MB / 3.447 GB, free: 78.74 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/11.07, allocations: 194.8 kB / 3.447 GB, free: 78.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.045/16.11, allocations: 3.125 kB / 3.447 GB, free: 78.55 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat