Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.306e-05, allocations: 0 / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 48.7 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.562/7.666, allocations: 2.502 GB / 2.811 GB, free: 92.45 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/7.666, allocations: 83.27 kB / 2.811 GB, free: 92.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.26/9.926, allocations: 422 MB / 3.223 GB, free: 14.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.225e-06/9.926, allocations: 0 / 3.223 GB, free: 14.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.918e-05/9.927, allocations: 18.03 kB / 3.223 GB, free: 14.32 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.008739/9.935, allocations: 1.704 MB / 3.224 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/9.935, allocations: 8.031 kB / 3.224 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/9.939, allocations: 318.7 kB / 3.225 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/9.941, allocations: 0.5795 MB / 3.225 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.238e-05/9.942, allocations: 27.98 kB / 3.225 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/9.942, allocations: 32 kB / 3.225 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001612/9.943, allocations: 0.5499 MB / 3.226 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/9.945, allocations: 0.6627 MB / 3.226 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/9.945, allocations: 0 / 3.226 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/9.945, allocations: 4 kB / 3.226 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/9.945, allocations: 21.31 kB / 3.227 GB, free: 10.29 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.01244/9.958, allocations: 5.749 MB / 3.232 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/9.959, allocations: 456.1 kB / 3.233 GB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/9.96, allocations: 230 kB / 3.233 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6638/10.62, allocations: 81.78 MB / 3.313 GB, free: 32.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/10.62, allocations: 40.03 kB / 3.313 GB, free: 32.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/10.62, allocations: 0 / 3.313 GB, free: 32.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=51): time 0.009375/10.63, allocations: 1.809 MB / 3.314 GB, free: 32.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/10.63, allocations: 111.2 kB / 3.315 GB, free: 32.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/10.63, allocations: 385 kB / 3.315 GB, free: 31.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/10.63, allocations: 25.7 kB / 3.315 GB, free: 31.87 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/10.63, allocations: 341.2 kB / 3.315 GB, free: 31.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/10.63, allocations: 165.5 kB / 3.315 GB, free: 31.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/10.63, allocations: 0 / 3.315 GB, free: 31.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/10.63, allocations: 368 kB / 3.316 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/10.64, allocations: 194.3 kB / 3.316 GB, free: 31.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/10.64, allocations: 378.9 kB / 3.316 GB, free: 31.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/10.64, allocations: 337.6 kB / 3.317 GB, free: 31.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/10.64, allocations: 3.656 kB / 3.317 GB, free: 31.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003511/10.64, allocations: 0.842 MB / 3.317 GB, free: 31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001119/10.64, allocations: 2.178 MB / 3.32 GB, free: 28.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/10.64, allocations: 10 kB / 3.32 GB, free: 28.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/10.64, allocations: 304.9 kB / 3.32 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/10.65, allocations: 142.3 kB / 3.32 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/10.65, allocations: 0.9378 MB / 3.321 GB, free: 28.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/10.65, allocations: 80.86 kB / 3.321 GB, free: 28.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/10.65, allocations: 42.36 kB / 3.321 GB, free: 28.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/10.65, allocations: 8.75 kB / 3.321 GB, free: 28.15 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00298/10.65, allocations: 0.6971 MB / 3.322 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/10.65, allocations: 3.812 kB / 3.322 GB, free: 28.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/10.65, allocations: 288.1 kB / 3.322 GB, free: 28.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/10.66, allocations: 147.6 kB / 3.322 GB, free: 28.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/10.66, allocations: 0.8505 MB / 3.323 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/10.66, allocations: 74.72 kB / 3.323 GB, free: 27.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/10.66, allocations: 36.14 kB / 3.323 GB, free: 27.57 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 (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.0003525/10.66, allocations: 131.7 kB / 3.323 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002584/10.66, allocations: 0.5679 MB / 3.324 GB, free: 27.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/10.66, allocations: 55.34 kB / 3.324 GB, free: 27.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005074/10.67, allocations: 2.638 MB / 3.326 GB, free: 27.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.718e-05/10.67, allocations: 45.33 kB / 3.326 GB, free: 27.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/10.67, allocations: 0 / 3.326 GB, free: 27.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/10.67, allocations: 7.047 kB / 3.326 GB, free: 27.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/10.67, allocations: 3.576 MB / 3.33 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/10.67, allocations: 0 / 3.33 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/10.68, allocations: 175.5 kB / 3.33 GB, free: 26.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/10.68, allocations: 62.09 kB / 3.33 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.926e-05/10.68, allocations: 10.97 kB / 3.33 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/10.68, allocations: 1.208 MB / 3.331 GB, free: 25.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/10.68, allocations: 0 / 3.331 GB, free: 25.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/10.68, allocations: 2.272 MB / 3.334 GB, free: 25.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/10.68, allocations: 308.6 kB / 3.334 GB, free: 25.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/10.68, allocations: 5.812 kB / 3.334 GB, free: 25.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/10.68, allocations: 62.19 kB / 3.334 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/10.68, allocations: 60.34 kB / 3.334 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/10.68, allocations: 28.48 kB / 3.334 GB, free: 25.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006276/10.68, allocations: 362.2 kB / 3.334 GB, free: 25.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/10.68, allocations: 0 / 3.334 GB, free: 25.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008419/10.69, allocations: 1.334 MB / 3.336 GB, free: 25.01 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.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 (66): * Single equations (assignments): 52 * 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.01635/10.71, allocations: 4.532 MB / 3.34 GB, free: 24.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003616/10.71, allocations: 1.23 MB / 3.341 GB, free: 24.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/10.71, allocations: 3.281 kB / 3.341 GB, free: 24.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/10.72, allocations: 0.7439 MB / 3.342 GB, free: 24.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/10.72, allocations: 277.5 kB / 3.342 GB, free: 24.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2065/10.92, allocations: 55.75 MB / 3.397 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008943/10.93, allocations: 1.15 MB / 3.398 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002101/10.93, allocations: 0.6826 MB / 3.399 GB, free: 6.422 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006782/10.93, allocations: 424.9 kB / 3.399 GB, free: 6.375 MB / 474.7 MB Notification: Performance of SimCode: time 9.91e-07/10.93, allocations: 0 / 3.399 GB, free: 6.375 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5139/11.44, allocations: 50.85 MB / 3.449 GB, free: 69.93 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/11.44, allocations: 204.1 kB / 3.449 GB, free: 69.65 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.136/16.58, allocations: 0 / 3.449 GB, free: 69.65 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat