Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.33e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3522, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.999/8.352, allocations: 2.612 GB / 2.958 GB, free: 127.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/8.352, allocations: 78.83 kB / 2.959 GB, free: 127.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.331/10.68, allocations: 433.1 MB / 3.381 GB, free: 62.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/10.68, allocations: 0 / 3.381 GB, free: 62.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.935e-05/10.68, allocations: 19.34 kB / 3.381 GB, free: 62.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007815/10.69, allocations: 1.779 MB / 3.383 GB, free: 61.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/10.69, allocations: 8.781 kB / 3.383 GB, free: 61.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/10.69, allocations: 333.2 kB / 3.384 GB, free: 61.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/10.7, allocations: 0.6008 MB / 3.384 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/10.7, allocations: 29.94 kB / 3.384 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/10.7, allocations: 32.09 kB / 3.384 GB, free: 60.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00156/10.7, allocations: 0.5569 MB / 3.385 GB, free: 60.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/10.7, allocations: 0.6732 MB / 3.385 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/10.7, allocations: 0 / 3.385 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/10.7, allocations: 3.906 kB / 3.385 GB, free: 60.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/10.7, allocations: 20.34 kB / 3.385 GB, free: 60.11 MB / 490.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.1416/10.84, allocations: 36.65 MB / 3.421 GB, free: 39.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/10.84, allocations: 449.2 kB / 3.422 GB, free: 39.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/10.84, allocations: 203.8 kB / 3.422 GB, free: 39.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06316/10.91, allocations: 20.04 MB / 3.441 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/10.91, allocations: 38.56 kB / 3.441 GB, free: 20.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.988e-06/10.91, allocations: 4 kB / 3.441 GB, free: 20.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.0457/10.95, allocations: 3.626 MB / 3.445 GB, free: 17.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/10.95, allocations: 107.4 kB / 3.445 GB, free: 17.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/10.95, allocations: 423.7 kB / 3.446 GB, free: 17.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/10.95, allocations: 25.7 kB / 3.446 GB, free: 17.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/10.95, allocations: 358.2 kB / 3.446 GB, free: 16.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/10.95, allocations: 213.6 kB / 3.446 GB, free: 16.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/10.95, allocations: 0 / 3.446 GB, free: 16.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/10.96, allocations: 373.5 kB / 3.446 GB, free: 16.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/10.96, allocations: 337.5 kB / 3.447 GB, free: 16.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/10.96, allocations: 0.5264 MB / 3.447 GB, free: 15.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/10.96, allocations: 0.5558 MB / 3.448 GB, free: 14.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/10.96, allocations: 0 / 3.448 GB, free: 14.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006008/10.97, allocations: 1.323 MB / 3.449 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005667/10.97, allocations: 2.45 MB / 3.451 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/10.97, allocations: 4 kB / 3.451 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/10.97, allocations: 0.8046 MB / 3.452 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/10.97, allocations: 171 kB / 3.452 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/10.98, allocations: 1.963 MB / 3.454 GB, free: 8.461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/10.98, allocations: 120.1 kB / 3.454 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/10.98, allocations: 53.84 kB / 3.455 GB, free: 8.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/10.98, allocations: 5.562 kB / 3.455 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004878/10.99, allocations: 0.9683 MB / 3.455 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/10.99, allocations: 4 kB / 3.455 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/10.99, allocations: 370.2 kB / 3.456 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/10.99, allocations: 204.9 kB / 3.456 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/10.99, allocations: 1.474 MB / 3.457 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/11, allocations: 102.5 kB / 3.458 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/11, allocations: 43.45 kB / 3.458 GB, free: 5.434 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" 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: 28 * 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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004165/11, allocations: 132.8 kB / 3.458 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004897/11, allocations: 1.062 MB / 3.459 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/11, allocations: 67.16 kB / 3.459 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008212/11.01, allocations: 3.441 MB / 3.462 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.426e-05/11.01, allocations: 38.58 kB / 3.462 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/11.01, allocations: 0 / 3.462 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/11.01, allocations: 7.516 kB / 3.462 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/11.02, allocations: 4.678 MB / 3.467 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/11.02, allocations: 0 / 3.467 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/11.02, allocations: 89.98 kB / 3.467 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006636/11.03, allocations: 1.717 MB / 3.469 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/11.03, allocations: 22.69 kB / 3.469 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005435/11.03, allocations: 2.805 MB / 3.471 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/11.03, allocations: 0 / 3.471 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007391/11.04, allocations: 2.579 MB / 3.474 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/11.04, allocations: 318.7 kB / 3.474 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/11.04, allocations: 0 / 3.474 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/11.04, allocations: 101.2 kB / 3.474 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/11.04, allocations: 54.52 kB / 3.474 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/11.04, allocations: 39.84 kB / 3.474 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007504/11.05, allocations: 364.2 kB / 3.475 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.72e-07/11.05, allocations: 0 / 3.475 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007957/11.05, allocations: 1.524 MB / 3.476 GB, free: 4.57 MB / 0.4948 GB 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02095/11.07, allocations: 4.797 MB / 3.481 GB, free: 372 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3918/11.47, allocations: 1.779 MB / 3.483 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/11.47, allocations: 3.156 kB / 3.483 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/11.47, allocations: 0.9543 MB / 3.484 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/11.47, allocations: 273.8 kB / 3.484 GB, free: 76.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/11.48, allocations: 2.42 MB / 3.486 GB, free: 76.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/11.48, allocations: 1.139 MB / 3.487 GB, free: 75.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002564/11.49, allocations: 0.7477 MB / 3.488 GB, free: 75.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/11.49, allocations: 388.2 kB / 3.488 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/11.49, allocations: 0 / 3.488 GB, free: 75.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/11.66, allocations: 57.6 MB / 3.545 GB, free: 73.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002299/11.66, allocations: 207.6 kB / 3.545 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.639/17.3, allocations: 0 / 3.545 GB, free: 73.55 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat