Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.563e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.428, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.227/8.655, allocations: 2.782 GB / 3.155 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/8.655, allocations: 80.72 kB / 3.155 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.397/11.05, allocations: 439.8 MB / 3.585 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/11.05, allocations: 0 / 3.585 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001016/11.05, allocations: 21.2 kB / 3.585 GB, free: 67.02 MB / 0.5105 GB 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.008429/11.06, allocations: 1.781 MB / 3.587 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/11.06, allocations: 12.12 kB / 3.587 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003122/11.06, allocations: 101.7 kB / 3.587 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/11.07, allocations: 334.1 kB / 3.587 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/11.07, allocations: 0.5782 MB / 3.588 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.976e-05/11.07, allocations: 49.81 kB / 3.588 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/11.07, allocations: 62.58 kB / 3.588 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/11.07, allocations: 0.9828 MB / 3.589 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/11.07, allocations: 3.438 kB / 3.589 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/11.07, allocations: 25.12 kB / 3.589 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/11.07, allocations: 23.97 kB / 3.589 GB, free: 65.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/11.07, allocations: 0.8222 MB / 3.59 GB, free: 65.64 MB / 0.5105 GB 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.008792/11.08, allocations: 4.844 MB / 3.594 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/11.09, allocations: 0.7435 MB / 3.595 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/11.09, allocations: 228.1 kB / 3.595 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0772/11.16, allocations: 24.16 MB / 3.619 GB, free: 47.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/11.16, allocations: 50.19 kB / 3.619 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 4.068e-06/11.16, allocations: 0 / 3.619 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.005177/11.17, allocations: 1.075 MB / 3.62 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/11.17, allocations: 112.6 kB / 3.62 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008508/11.17, allocations: 459.7 kB / 3.621 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/11.17, allocations: 36.2 kB / 3.621 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/11.17, allocations: 335.7 kB / 3.621 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/11.17, allocations: 176.6 kB / 3.621 GB, free: 46.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/11.17, allocations: 11.81 kB / 3.621 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001172/11.17, allocations: 370.4 kB / 3.621 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/11.17, allocations: 187.4 kB / 3.622 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005911/11.17, allocations: 366.5 kB / 3.622 GB, free: 45.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/11.17, allocations: 230.8 kB / 3.622 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/11.17, allocations: 2.938 kB / 3.622 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002005/11.18, allocations: 0.7033 MB / 3.623 GB, free: 45.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004224/11.18, allocations: 2.01 MB / 3.625 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/11.18, allocations: 10.59 kB / 3.625 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00405/11.18, allocations: 438.2 kB / 3.625 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/11.18, allocations: 143.9 kB / 3.625 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/11.18, allocations: 0.8046 MB / 3.626 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/11.18, allocations: 128.9 kB / 3.626 GB, free: 42.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/11.19, allocations: 36.52 kB / 3.626 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/11.19, allocations: 3.719 kB / 3.626 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002236/11.19, allocations: 0.6395 MB / 3.627 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/11.19, allocations: 6.781 kB / 3.627 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/11.19, allocations: 183.2 kB / 3.627 GB, free: 42.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/11.19, allocations: 157.7 kB / 3.627 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/11.19, allocations: 0.719 MB / 3.628 GB, free: 41.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/11.19, allocations: 124.1 kB / 3.628 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/11.19, allocations: 33.41 kB / 3.628 GB, free: 41.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002969/11.19, allocations: 142.2 kB / 3.628 GB, free: 41.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/11.19, allocations: 66.05 kB / 3.628 GB, free: 41.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/11.2, allocations: 3.053 MB / 3.631 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.154e-05/11.2, allocations: 44.2 kB / 3.631 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/11.2, allocations: 0 / 3.631 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/11.2, allocations: 7.266 kB / 3.631 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/11.2, allocations: 1.476 MB / 3.633 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/11.2, allocations: 0 / 3.633 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/11.2, allocations: 96.3 kB / 3.633 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00497/11.21, allocations: 1.405 MB / 3.634 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/11.21, allocations: 15.02 kB / 3.634 GB, free: 38.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/11.21, allocations: 1.528 MB / 3.636 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/11.21, allocations: 7.703 kB / 3.636 GB, free: 37.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/11.21, allocations: 2.017 MB / 3.638 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/11.21, allocations: 335 kB / 3.638 GB, free: 36.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/11.21, allocations: 15.45 kB / 3.638 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/11.21, allocations: 80.17 kB / 3.638 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/11.21, allocations: 56.84 kB / 3.638 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/11.21, allocations: 23.5 kB / 3.638 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008256/11.22, allocations: 468.9 kB / 3.639 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.61e-07/11.22, allocations: 0 / 3.639 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007378/11.22, allocations: 1.438 MB / 3.64 GB, free: 36.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01449/11.24, allocations: 3.9 MB / 3.644 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00408/11.24, allocations: 1.197 MB / 3.645 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/11.24, allocations: 0 / 3.645 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/11.24, allocations: 0.7362 MB / 3.646 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/11.25, allocations: 321.9 kB / 3.646 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/11.25, allocations: 2.367 MB / 3.648 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006492/11.26, allocations: 1.164 MB / 3.65 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001965/11.26, allocations: 0.6865 MB / 3.65 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/11.26, allocations: 412.7 kB / 3.651 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/11.26, allocations: 0 / 3.651 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1496/11.41, allocations: 58.73 MB / 3.708 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004276/11.41, allocations: 238.2 kB / 3.708 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/16.9, allocations: 0 / 3.708 GB, free: 2.031 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat