Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.835e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.453/8.585, allocations: 2.787 GB / 3.188 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/8.585, allocations: 86.08 kB / 3.188 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.457/11.04, allocations: 443.4 MB / 3.621 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.865e-06/11.04, allocations: 3.938 kB / 3.621 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000113/11.04, allocations: 23.06 kB / 3.621 GB, free: 35.77 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.01132/11.05, allocations: 1.738 MB / 3.623 GB, free: 34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/11.05, allocations: 8.031 kB / 3.623 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003772/11.05, allocations: 98.5 kB / 3.623 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/11.06, allocations: 331.4 kB / 3.623 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/11.06, allocations: 0.5711 MB / 3.623 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/11.06, allocations: 45.31 kB / 3.624 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/11.06, allocations: 63.75 kB / 3.624 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/11.07, allocations: 0.9586 MB / 3.625 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/11.07, allocations: 11.91 kB / 3.625 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/11.07, allocations: 24 kB / 3.625 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/11.07, allocations: 28.95 kB / 3.625 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004511/11.07, allocations: 0.7903 MB / 3.625 GB, free: 30.97 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.01146/11.09, allocations: 4.803 MB / 3.63 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/11.09, allocations: 0.6297 MB / 3.631 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/11.09, allocations: 216.8 kB / 3.631 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07534/11.16, allocations: 24.16 MB / 3.654 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/11.16, allocations: 38.56 kB / 3.655 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 3.136e-06/11.16, allocations: 0 / 3.655 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.004942/11.17, allocations: 1.024 MB / 3.656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/11.17, allocations: 110.8 kB / 3.656 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/11.17, allocations: 456.6 kB / 3.656 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/11.17, allocations: 33.7 kB / 3.656 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/11.17, allocations: 328.2 kB / 3.656 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/11.17, allocations: 149.2 kB / 3.657 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/11.17, allocations: 8 kB / 3.657 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001738/11.17, allocations: 366.8 kB / 3.657 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/11.17, allocations: 169.1 kB / 3.657 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/11.17, allocations: 346.2 kB / 3.657 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/11.17, allocations: 201.8 kB / 3.658 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/11.17, allocations: 4 kB / 3.658 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001927/11.18, allocations: 0.6345 MB / 3.658 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007689/11.18, allocations: 2.01 MB / 3.66 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/11.18, allocations: 4 kB / 3.66 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/11.18, allocations: 267.4 kB / 3.66 GB, free: 7.477 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/11.18, allocations: 143.8 kB / 3.661 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/11.18, allocations: 0.7474 MB / 3.661 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/11.18, allocations: 123.4 kB / 3.661 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/11.18, allocations: 35.98 kB / 3.661 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/11.18, allocations: 4 kB / 3.661 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002748/11.18, allocations: 0.5898 MB / 3.662 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/11.18, allocations: 4 kB / 3.662 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/11.19, allocations: 185.1 kB / 3.662 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/11.19, allocations: 139.8 kB / 3.662 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/11.19, allocations: 0.7006 MB / 3.663 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/11.19, allocations: 111.4 kB / 3.663 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/11.19, allocations: 35.98 kB / 3.663 GB, free: 4.613 MB / 0.5417 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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002841/11.19, allocations: 143.5 kB / 3.663 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/11.19, allocations: 59.34 kB / 3.663 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005334/11.2, allocations: 2.986 MB / 3.666 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-05/11.2, allocations: 39.94 kB / 3.666 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/11.2, allocations: 7.891 kB / 3.666 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/11.2, allocations: 3.984 kB / 3.666 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4558/11.65, allocations: 1.441 MB / 3.668 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/11.65, allocations: 0 / 3.668 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/11.65, allocations: 90.11 kB / 3.668 GB, free: 75.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006493/11.66, allocations: 1.214 MB / 3.669 GB, free: 75.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/11.66, allocations: 18.72 kB / 3.669 GB, free: 75.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003359/11.66, allocations: 1.48 MB / 3.67 GB, free: 74.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/11.66, allocations: 0 / 3.67 GB, free: 74.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/11.67, allocations: 1.959 MB / 3.672 GB, free: 74.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/11.67, allocations: 333.3 kB / 3.673 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/11.67, allocations: 14.98 kB / 3.673 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/11.67, allocations: 78.28 kB / 3.673 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/11.67, allocations: 52.86 kB / 3.673 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/11.67, allocations: 20.38 kB / 3.673 GB, free: 74.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001373/11.67, allocations: 454.9 kB / 3.673 GB, free: 74.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.123e-06/11.67, allocations: 0 / 3.673 GB, free: 74.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01016/11.68, allocations: 1.418 MB / 3.675 GB, free: 74.42 MB / 0.5417 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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02052/11.71, allocations: 3.831 MB / 3.678 GB, free: 73.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005058/11.71, allocations: 1.12 MB / 3.68 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/11.71, allocations: 3.5 kB / 3.68 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/11.71, allocations: 0.7121 MB / 3.68 GB, free: 73.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004764/11.72, allocations: 319 kB / 3.681 GB, free: 73.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/11.73, allocations: 2.333 MB / 3.683 GB, free: 73.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/11.73, allocations: 1.156 MB / 3.684 GB, free: 72.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003937/11.73, allocations: 0.6759 MB / 3.685 GB, free: 72.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/11.74, allocations: 402 kB / 3.685 GB, free: 72.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.715e-06/11.74, allocations: 0 / 3.685 GB, free: 72.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1565/11.89, allocations: 57.97 MB / 3.742 GB, free: 70.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/11.89, allocations: 245.2 kB / 3.742 GB, free: 70.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.6/17.49, allocations: 4 kB / 3.742 GB, free: 70.3 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat