Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.881e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4122, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.302/8.715, allocations: 2.782 GB / 3.155 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/8.715, allocations: 84.36 kB / 3.155 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.373/11.09, allocations: 439.4 MB / 3.584 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/11.09, allocations: 0 / 3.584 GB, free: 66.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.694e-05/11.09, allocations: 24.88 kB / 3.584 GB, free: 66.95 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007747/11.1, allocations: 1.755 MB / 3.586 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/11.1, allocations: 14.41 kB / 3.586 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/11.1, allocations: 98.25 kB / 3.586 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/11.1, allocations: 333.4 kB / 3.586 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/11.1, allocations: 0.5659 MB / 3.587 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/11.1, allocations: 50.48 kB / 3.587 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/11.1, allocations: 61.59 kB / 3.587 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/11.1, allocations: 0.9671 MB / 3.588 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/11.1, allocations: 1.969 kB / 3.588 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/11.1, allocations: 28.69 kB / 3.588 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/11.1, allocations: 22.69 kB / 3.588 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/11.11, allocations: 0.8022 MB / 3.589 GB, free: 65.57 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.007215/11.12, allocations: 4.538 MB / 3.593 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/11.12, allocations: 0.7336 MB / 3.594 GB, free: 62.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/11.12, allocations: 236.1 kB / 3.594 GB, free: 61.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1754/11.29, allocations: 55.74 MB / 3.649 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/11.29, allocations: 50.38 kB / 3.649 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.386e-06/11.29, allocations: 0 / 3.649 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007794/11.3, allocations: 1.861 MB / 3.65 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/11.3, allocations: 112.3 kB / 3.651 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/11.3, allocations: 442.5 kB / 3.651 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/11.3, allocations: 36.52 kB / 3.651 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/11.3, allocations: 332.3 kB / 3.651 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/11.3, allocations: 177.5 kB / 3.652 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/11.3, allocations: 11.69 kB / 3.652 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001149/11.3, allocations: 369.6 kB / 3.652 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/11.3, allocations: 199.6 kB / 3.652 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/11.3, allocations: 360 kB / 3.652 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/11.31, allocations: 241.5 kB / 3.653 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/11.31, allocations: 0 / 3.653 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00266/11.31, allocations: 0.7921 MB / 3.653 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001445/11.31, allocations: 1.747 MB / 3.655 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/11.31, allocations: 3.938 kB / 3.655 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/11.31, allocations: 400.6 kB / 3.655 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/11.31, allocations: 140 kB / 3.656 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/11.32, allocations: 0.8567 MB / 3.656 GB, free: 36.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/11.32, allocations: 96.19 kB / 3.657 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/11.32, allocations: 39.69 kB / 3.657 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/11.32, allocations: 3.594 kB / 3.657 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/11.32, allocations: 0.7606 MB / 3.657 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/11.32, allocations: 7 kB / 3.657 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/11.32, allocations: 314.1 kB / 3.658 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/11.32, allocations: 134.3 kB / 3.658 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/11.33, allocations: 0.8519 MB / 3.659 GB, free: 35.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/11.33, allocations: 94.31 kB / 3.659 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/11.33, allocations: 31.7 kB / 3.659 GB, free: 35.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (56): * Single equations (assignments): 55 * 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.0003179/11.33, allocations: 144.8 kB / 3.659 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/11.33, allocations: 63.25 kB / 3.659 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/11.33, allocations: 2.856 MB / 3.662 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.973e-05/11.33, allocations: 45.39 kB / 3.662 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/11.33, allocations: 0 / 3.662 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/11.33, allocations: 3.422 kB / 3.662 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006468/11.34, allocations: 4.012 MB / 3.666 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/11.34, allocations: 0 / 3.666 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/11.34, allocations: 172.5 kB / 3.666 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006423/11.34, allocations: 80.73 kB / 3.666 GB, free: 28.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/11.34, allocations: 23.52 kB / 3.666 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/11.34, allocations: 1.167 MB / 3.667 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/11.34, allocations: 4.031 kB / 3.667 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/11.35, allocations: 2.384 MB / 3.669 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007426/11.35, allocations: 330.7 kB / 3.67 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/11.35, allocations: 16 kB / 3.67 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/11.35, allocations: 74.12 kB / 3.67 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/11.35, allocations: 60.11 kB / 3.67 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.212e-05/11.35, allocations: 27.38 kB / 3.67 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000791/11.35, allocations: 450.8 kB / 3.67 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/11.35, allocations: 0 / 3.67 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006807/11.36, allocations: 1.405 MB / 3.672 GB, free: 23.1 MB / 0.5261 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.01733/11.38, allocations: 4.581 MB / 3.676 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006017/11.38, allocations: 1.285 MB / 3.677 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/11.38, allocations: 4.125 kB / 3.677 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002449/11.38, allocations: 0.8028 MB / 3.678 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/11.39, allocations: 330.2 kB / 3.679 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/11.4, allocations: 2.56 MB / 3.681 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/11.4, allocations: 1.171 MB / 3.682 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002638/11.4, allocations: 0.6837 MB / 3.683 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/11.4, allocations: 447.6 kB / 3.683 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/11.4, allocations: 0 / 3.683 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.658/12.06, allocations: 59.38 MB / 3.741 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/12.06, allocations: 264.2 kB / 3.742 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.629/17.69, allocations: 0 / 3.742 GB, free: 68.93 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat