Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 235 MB / 247.2 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.824e-05, allocations: 6.656 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 54.85 MB / 359.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.829/8.232, allocations: 2.613 GB / 2.964 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/8.233, allocations: 87.31 kB / 2.964 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.296/10.53, allocations: 436.9 MB / 3.391 GB, free: 52.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/10.53, allocations: 0 / 3.391 GB, free: 52.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.914e-05/10.53, allocations: 20.59 kB / 3.391 GB, free: 52.45 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008241/10.54, allocations: 1.754 MB / 3.393 GB, free: 51.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/10.54, allocations: 10.72 kB / 3.393 GB, free: 51.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/10.54, allocations: 100.1 kB / 3.393 GB, free: 51.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/10.54, allocations: 329.7 kB / 3.393 GB, free: 51.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/10.54, allocations: 0.5698 MB / 3.394 GB, free: 51.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/10.54, allocations: 63.7 kB / 3.394 GB, free: 51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/10.54, allocations: 58.84 kB / 3.394 GB, free: 50.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/10.55, allocations: 0.9627 MB / 3.395 GB, free: 50.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/10.55, allocations: 0 / 3.395 GB, free: 50.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/10.55, allocations: 30.97 kB / 3.395 GB, free: 50.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/10.55, allocations: 19.44 kB / 3.395 GB, free: 50.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/10.55, allocations: 0.8015 MB / 3.395 GB, free: 50.3 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.006713/10.56, allocations: 4.453 MB / 3.4 GB, free: 46.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/10.56, allocations: 0.7184 MB / 3.4 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/10.56, allocations: 236.7 kB / 3.401 GB, free: 46.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3145/10.87, allocations: 83.24 MB / 3.482 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/10.87, allocations: 43 kB / 3.482 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.256e-06/10.88, allocations: 0 / 3.482 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.008747/10.88, allocations: 1.837 MB / 3.484 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/10.88, allocations: 111.2 kB / 3.484 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/10.88, allocations: 423.2 kB / 3.484 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/10.88, allocations: 33.7 kB / 3.484 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/10.89, allocations: 335.5 kB / 3.485 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/10.89, allocations: 185 kB / 3.485 GB, free: 17.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/10.89, allocations: 12 kB / 3.485 GB, free: 17.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001781/10.89, allocations: 372.5 kB / 3.485 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/10.89, allocations: 193 kB / 3.485 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/10.89, allocations: 392.6 kB / 3.486 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/10.89, allocations: 243.9 kB / 3.486 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/10.89, allocations: 4 kB / 3.486 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003705/10.89, allocations: 0.8059 MB / 3.487 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009073/10.89, allocations: 2.186 MB / 3.489 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/10.89, allocations: 4 kB / 3.489 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/10.9, allocations: 379.6 kB / 3.489 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/10.9, allocations: 142.6 kB / 3.489 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/10.9, allocations: 0.8712 MB / 3.49 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/10.9, allocations: 89.44 kB / 3.49 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/10.9, allocations: 42.98 kB / 3.49 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/10.9, allocations: 4 kB / 3.49 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002926/10.9, allocations: 0.7731 MB / 3.491 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/10.9, allocations: 8.094 kB / 3.491 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/10.9, allocations: 296 kB / 3.491 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009659/10.91, allocations: 146.4 kB / 3.492 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/10.91, allocations: 0.8324 MB / 3.492 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/10.91, allocations: 102.5 kB / 3.493 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/10.91, allocations: 31.94 kB / 3.493 GB, free: 9.457 MB / 0.5105 GB 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.0003126/10.91, allocations: 146.5 kB / 3.493 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/10.91, allocations: 59.25 kB / 3.493 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/10.91, allocations: 2.847 MB / 3.496 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/10.91, allocations: 44.91 kB / 3.496 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/10.91, allocations: 4 kB / 3.496 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/10.91, allocations: 7.688 kB / 3.496 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/10.92, allocations: 3.974 MB / 3.499 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/10.92, allocations: 0 / 3.499 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/10.92, allocations: 176.2 kB / 3.5 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/10.92, allocations: 63.53 kB / 3.5 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/10.92, allocations: 19.52 kB / 3.5 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009149/10.92, allocations: 1.18 MB / 3.501 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/10.92, allocations: 0 / 3.501 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.369/11.29, allocations: 2.559 MB / 3.503 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008014/11.29, allocations: 310.3 kB / 3.504 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/11.29, allocations: 17.72 kB / 3.504 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009916/11.3, allocations: 78.44 kB / 3.504 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/11.3, allocations: 49.95 kB / 3.504 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-05/11.3, allocations: 25.62 kB / 3.504 GB, free: 84.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007541/11.3, allocations: 386.2 kB / 3.504 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.62e-07/11.3, allocations: 0 / 3.504 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007257/11.3, allocations: 1.393 MB / 3.506 GB, free: 84.27 MB / 0.5105 GB 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * 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.01581/11.32, allocations: 4.573 MB / 3.51 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003919/11.32, allocations: 1.3 MB / 3.511 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/11.32, allocations: 0 / 3.511 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/11.33, allocations: 0.8066 MB / 3.512 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/11.33, allocations: 295.8 kB / 3.512 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2592/11.59, allocations: 77.73 MB / 3.588 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/11.59, allocations: 1.171 MB / 3.589 GB, free: 80.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001997/11.59, allocations: 0.6673 MB / 3.59 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/11.59, allocations: 445.5 kB / 3.59 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/11.59, allocations: 0 / 3.59 GB, free: 80.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1545/11.75, allocations: 58.56 MB / 3.648 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/11.75, allocations: 268.4 kB / 3.648 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.319/17.07, allocations: 0 / 3.648 GB, free: 57.07 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat