Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.654e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.605/8.74, allocations: 2.787 GB / 3.188 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/8.74, allocations: 83.58 kB / 3.188 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.331/11.07, allocations: 444.1 MB / 3.622 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/11.07, allocations: 0 / 3.622 GB, free: 48.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.78e-05/11.07, allocations: 19.12 kB / 3.622 GB, free: 48.97 MB / 0.5261 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.008046/11.08, allocations: 1.759 MB / 3.623 GB, free: 47.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/11.08, allocations: 12.03 kB / 3.623 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002942/11.08, allocations: 92.67 kB / 3.623 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/11.08, allocations: 340.8 kB / 3.624 GB, free: 46.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/11.08, allocations: 0.563 MB / 3.624 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/11.09, allocations: 56.56 kB / 3.624 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/11.09, allocations: 55.23 kB / 3.624 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/11.09, allocations: 0.9653 MB / 3.625 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/11.09, allocations: 4 kB / 3.625 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/11.09, allocations: 30.22 kB / 3.625 GB, free: 45.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/11.09, allocations: 24.95 kB / 3.625 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/11.09, allocations: 0.8048 MB / 3.626 GB, free: 44.67 MB / 0.5261 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.007432/11.1, allocations: 4.528 MB / 3.631 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/11.1, allocations: 0.7363 MB / 3.631 GB, free: 39.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/11.1, allocations: 250.1 kB / 3.632 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6161/11.72, allocations: 55.74 MB / 3.686 GB, free: 77.15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/11.72, allocations: 38.94 kB / 3.686 GB, free: 77.11 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.437e-06/11.72, allocations: 0 / 3.686 GB, free: 77.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.008614/11.73, allocations: 1.859 MB / 3.688 GB, free: 76.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/11.73, allocations: 113 kB / 3.688 GB, free: 76.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/11.73, allocations: 445 kB / 3.688 GB, free: 76.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/11.73, allocations: 38.77 kB / 3.688 GB, free: 76.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/11.73, allocations: 330.8 kB / 3.689 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/11.73, allocations: 178.3 kB / 3.689 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/11.73, allocations: 13.84 kB / 3.689 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001346/11.73, allocations: 365.8 kB / 3.689 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/11.73, allocations: 194.9 kB / 3.689 GB, free: 75.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/11.73, allocations: 363.1 kB / 3.69 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/11.73, allocations: 239.4 kB / 3.69 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/11.73, allocations: 1.406 kB / 3.69 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002858/11.73, allocations: 0.793 MB / 3.691 GB, free: 75.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003875/11.74, allocations: 1.748 MB / 3.693 GB, free: 73.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/11.74, allocations: 4.031 kB / 3.693 GB, free: 73.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003318/11.74, allocations: 395 kB / 3.693 GB, free: 73.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/11.74, allocations: 142.2 kB / 3.693 GB, free: 73.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/11.74, allocations: 0.8592 MB / 3.694 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/11.74, allocations: 86.81 kB / 3.694 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/11.74, allocations: 45.81 kB / 3.694 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/11.74, allocations: 10.61 kB / 3.694 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003649/11.75, allocations: 0.7535 MB / 3.695 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/11.75, allocations: 4.75 kB / 3.695 GB, free: 73.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/11.75, allocations: 314.2 kB / 3.695 GB, free: 73.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/11.75, allocations: 139.3 kB / 3.695 GB, free: 73.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/11.75, allocations: 0.8421 MB / 3.696 GB, free: 72.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/11.75, allocations: 101.4 kB / 3.696 GB, free: 72.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/11.75, allocations: 32.89 kB / 3.696 GB, free: 72.77 MB / 0.5417 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.000296/11.75, allocations: 138.8 kB / 3.696 GB, free: 72.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/11.76, allocations: 62.25 kB / 3.696 GB, free: 72.63 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/11.76, allocations: 2.857 MB / 3.699 GB, free: 72.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/11.76, allocations: 44.7 kB / 3.699 GB, free: 72.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/11.76, allocations: 2.906 kB / 3.699 GB, free: 72.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/11.76, allocations: 7.469 kB / 3.699 GB, free: 72.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007623/11.77, allocations: 4.009 MB / 3.703 GB, free: 71.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/11.77, allocations: 6.109 kB / 3.703 GB, free: 71.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/11.77, allocations: 169.2 kB / 3.703 GB, free: 71.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/11.77, allocations: 78.98 kB / 3.703 GB, free: 71.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/11.77, allocations: 18.16 kB / 3.703 GB, free: 71.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000718/11.77, allocations: 1.176 MB / 3.705 GB, free: 70.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/11.77, allocations: 1.281 kB / 3.705 GB, free: 70.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/11.78, allocations: 2.388 MB / 3.707 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/11.78, allocations: 322.5 kB / 3.707 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/11.78, allocations: 12.53 kB / 3.707 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/11.78, allocations: 79.19 kB / 3.707 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/11.78, allocations: 60.72 kB / 3.707 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/11.78, allocations: 24.58 kB / 3.707 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008742/11.78, allocations: 451.6 kB / 3.708 GB, free: 70.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/11.78, allocations: 0 / 3.708 GB, free: 70.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007844/11.79, allocations: 1.414 MB / 3.709 GB, free: 70.28 MB / 0.5417 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.01531/11.8, allocations: 4.575 MB / 3.714 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004248/11.81, allocations: 1.291 MB / 3.715 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/11.81, allocations: 2.969 kB / 3.715 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/11.81, allocations: 0.8079 MB / 3.716 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/11.81, allocations: 331.6 kB / 3.716 GB, free: 69.36 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00869/11.82, allocations: 2.547 MB / 3.718 GB, free: 68.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/11.82, allocations: 1.168 MB / 3.72 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001967/11.82, allocations: 0.6908 MB / 3.72 GB, free: 68.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000715/11.82, allocations: 451.9 kB / 3.721 GB, free: 68.12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.904e-06/11.82, allocations: 0 / 3.721 GB, free: 68.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/11.96, allocations: 59.49 MB / 3.779 GB, free: 65.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/11.96, allocations: 252.9 kB / 3.779 GB, free: 65.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.734/17.69, allocations: 3.75 kB / 3.779 GB, free: 65.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat