Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.648e-05, allocations: 4 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.077/9.206, allocations: 2.787 GB / 3.188 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/9.207, allocations: 92.62 kB / 3.188 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.523/11.73, allocations: 443.6 MB / 3.621 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.983e-06/11.73, allocations: 4 kB / 3.621 GB, free: 35.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.263e-05/11.73, allocations: 20 kB / 3.621 GB, free: 35.69 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.008994/11.74, allocations: 1.765 MB / 3.623 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/11.74, allocations: 12.03 kB / 3.623 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/11.74, allocations: 98.45 kB / 3.623 GB, free: 33.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/11.74, allocations: 341.5 kB / 3.623 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/11.74, allocations: 0.5614 MB / 3.624 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/11.74, allocations: 53.31 kB / 3.624 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/11.74, allocations: 52 kB / 3.624 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/11.75, allocations: 0.969 MB / 3.625 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/11.75, allocations: 0 / 3.625 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/11.75, allocations: 24 kB / 3.625 GB, free: 31.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/11.75, allocations: 28.94 kB / 3.625 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/11.75, allocations: 0.7943 MB / 3.626 GB, free: 30.86 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.008628/11.76, allocations: 4.759 MB / 3.63 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/11.76, allocations: 0.7073 MB / 3.631 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/11.76, allocations: 209.6 kB / 3.631 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07661/11.84, allocations: 24.24 MB / 3.655 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/11.84, allocations: 38.94 kB / 3.655 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=45): time 3.977e-06/11.84, allocations: 0 / 3.655 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.00492/11.84, allocations: 1.014 MB / 3.656 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/11.85, allocations: 106.8 kB / 3.656 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/11.85, allocations: 456.8 kB / 3.656 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.707e-05/11.85, allocations: 37.7 kB / 3.656 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/11.85, allocations: 335.9 kB / 3.657 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/11.85, allocations: 148.5 kB / 3.657 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/11.85, allocations: 16 kB / 3.657 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001994/11.85, allocations: 370.7 kB / 3.657 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/11.85, allocations: 169.1 kB / 3.657 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/11.85, allocations: 346.7 kB / 3.658 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/11.85, allocations: 203.8 kB / 3.658 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/11.85, allocations: 4 kB / 3.658 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002093/11.85, allocations: 0.6452 MB / 3.659 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009452/11.85, allocations: 2.093 MB / 3.661 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/11.85, allocations: 4 kB / 3.661 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/11.85, allocations: 272.5 kB / 3.661 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/11.86, allocations: 139.8 kB / 3.661 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/11.86, allocations: 0.7591 MB / 3.662 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/11.86, allocations: 127.3 kB / 3.662 GB, free: 6.098 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/11.86, allocations: 31.98 kB / 3.662 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/11.86, allocations: 4 kB / 3.662 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002695/11.86, allocations: 0.5901 MB / 3.662 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/11.86, allocations: 4 kB / 3.662 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/11.86, allocations: 177 kB / 3.663 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/11.86, allocations: 147.8 kB / 3.663 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/11.87, allocations: 0.7086 MB / 3.663 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/11.87, allocations: 111.5 kB / 3.664 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/11.87, allocations: 35.98 kB / 3.664 GB, free: 4.266 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000327/11.87, allocations: 144.8 kB / 3.664 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/11.87, allocations: 63.25 kB / 3.664 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/11.87, allocations: 2.798 MB / 3.667 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.824e-05/11.87, allocations: 39.94 kB / 3.667 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/11.87, allocations: 0 / 3.667 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/11.87, allocations: 3.984 kB / 3.667 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4163/12.29, allocations: 1.384 MB / 3.668 GB, free: 75.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/12.29, allocations: 0.7031 kB / 3.668 GB, free: 75.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/12.29, allocations: 102 kB / 3.668 GB, free: 75.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004224/12.3, allocations: 1.211 MB / 3.669 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/12.3, allocations: 17.53 kB / 3.669 GB, free: 75.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/12.3, allocations: 1.473 MB / 3.671 GB, free: 75.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/12.3, allocations: 0.7031 kB / 3.671 GB, free: 75.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/12.3, allocations: 1.782 MB / 3.672 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008603/12.3, allocations: 366.4 kB / 3.673 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/12.3, allocations: 17.06 kB / 3.673 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/12.3, allocations: 84.3 kB / 3.673 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/12.3, allocations: 53.59 kB / 3.673 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/12.3, allocations: 20.25 kB / 3.673 GB, free: 74.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001173/12.3, allocations: 0.5473 MB / 3.673 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.01e-07/12.31, allocations: 0 / 3.673 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007537/12.31, allocations: 1.435 MB / 3.675 GB, free: 74.69 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01472/12.33, allocations: 3.658 MB / 3.678 GB, free: 73.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003645/12.33, allocations: 1.043 MB / 3.679 GB, free: 73.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/12.33, allocations: 0.9375 kB / 3.679 GB, free: 73.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/12.33, allocations: 0.6183 MB / 3.68 GB, free: 73.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004612/12.34, allocations: 335.2 kB / 3.68 GB, free: 73.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/12.35, allocations: 2.23 MB / 3.683 GB, free: 73.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/12.35, allocations: 1.151 MB / 3.684 GB, free: 72.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003141/12.35, allocations: 0.6751 MB / 3.684 GB, free: 72.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/12.36, allocations: 402.2 kB / 3.685 GB, free: 72.68 MB / 0.5417 GB Notification: Performance of SimCode: time 1.733e-06/12.36, allocations: 1.75 kB / 3.685 GB, free: 72.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/12.53, allocations: 58.47 MB / 3.742 GB, free: 70.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/12.53, allocations: 249.7 kB / 3.742 GB, free: 70.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.783/18.31, allocations: 0 / 3.742 GB, free: 70.57 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat