Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.524e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.249/8.376, allocations: 2.788 GB / 3.189 GB, free: 57.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/8.376, allocations: 84.52 kB / 3.189 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.117/12.49, allocations: 0.7707 GB / 3.96 GB, free: 45.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.034e-06/12.49, allocations: 0 / 3.96 GB, free: 45.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001518/12.49, allocations: 41.7 kB / 3.96 GB, free: 45.35 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01283/12.51, allocations: 2.706 MB / 3.963 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/12.51, allocations: 13.28 kB / 3.963 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006477/12.51, allocations: 168.2 kB / 3.963 GB, free: 44 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007518/12.51, allocations: 0.6499 MB / 3.963 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/12.52, allocations: 0.9727 MB / 3.964 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/12.52, allocations: 97.34 kB / 3.965 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/12.52, allocations: 114.9 kB / 3.965 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005808/12.52, allocations: 1.922 MB / 3.966 GB, free: 43.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/12.52, allocations: 7.594 kB / 3.967 GB, free: 43.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/12.52, allocations: 50.62 kB / 3.967 GB, free: 43.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.035e-05/12.52, allocations: 47.69 kB / 3.967 GB, free: 43.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/12.53, allocations: 1.603 MB / 3.968 GB, free: 43.18 MB / 0.5417 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.01466/12.54, allocations: 9.483 MB / 3.977 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/12.55, allocations: 1.414 MB / 3.979 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/12.55, allocations: 459.2 kB / 3.979 GB, free: 36.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07524/12.63, allocations: 24.33 MB / 4.003 GB, free: 21.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/12.63, allocations: 51.94 kB / 4.003 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 4.328e-06/12.63, allocations: 0 / 4.003 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.009609/12.64, allocations: 2.034 MB / 4.005 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/12.64, allocations: 170.8 kB / 4.005 GB, free: 21.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/12.64, allocations: 0.7754 MB / 4.006 GB, free: 21.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002687/12.64, allocations: 38.33 kB / 4.006 GB, free: 20.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/12.64, allocations: 0.5882 MB / 4.007 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/12.64, allocations: 319.6 kB / 4.007 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/12.64, allocations: 20.66 kB / 4.007 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001049/12.64, allocations: 354.4 kB / 4.007 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009493/12.64, allocations: 342.5 kB / 4.008 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/12.64, allocations: 0.6604 MB / 4.008 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/12.64, allocations: 420.8 kB / 4.009 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/12.64, allocations: 7.719 kB / 4.009 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003597/12.65, allocations: 1.247 MB / 4.01 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008336/12.65, allocations: 3.746 MB / 4.013 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/12.65, allocations: 11.47 kB / 4.014 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003829/12.65, allocations: 461.4 kB / 4.014 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/12.65, allocations: 294 kB / 4.014 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/12.66, allocations: 1.472 MB / 4.016 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/12.66, allocations: 234.1 kB / 4.016 GB, free: 30.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/12.66, allocations: 69.17 kB / 4.016 GB, free: 30.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/12.66, allocations: 7.906 kB / 4.016 GB, free: 30.52 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002783/12.66, allocations: 0.9833 MB / 4.017 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/12.66, allocations: 10.59 kB / 4.017 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/12.66, allocations: 19.23 kB / 4.017 GB, free: 30.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/12.67, allocations: 458.4 kB / 4.017 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/12.67, allocations: 17.84 kB / 4.017 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/12.67, allocations: 223.2 kB / 4.018 GB, free: 30.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/12.67, allocations: 65.64 kB / 4.018 GB, free: 30.35 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005168/12.67, allocations: 176.8 kB / 4.018 GB, free: 30.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/12.67, allocations: 128.1 kB / 4.018 GB, free: 30.16 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008843/12.68, allocations: 5.714 MB / 4.024 GB, free: 27.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-05/12.68, allocations: 85.05 kB / 4.024 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/12.68, allocations: 3.938 kB / 4.024 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/12.68, allocations: 3.656 kB / 4.024 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/12.69, allocations: 7.833 MB / 4.031 GB, free: 23.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/12.69, allocations: 0 / 4.031 GB, free: 23.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/12.69, allocations: 227 kB / 4.031 GB, free: 23.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00557/12.7, allocations: 1.899 MB / 4.033 GB, free: 23.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/12.7, allocations: 27.83 kB / 4.033 GB, free: 23.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/12.7, allocations: 2.664 MB / 4.036 GB, free: 21.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/12.7, allocations: 0 / 4.036 GB, free: 21.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/12.71, allocations: 3.534 MB / 4.039 GB, free: 19.71 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/12.71, allocations: 0.5608 MB / 4.04 GB, free: 19.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/12.71, allocations: 19.53 kB / 4.04 GB, free: 19.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/12.71, allocations: 177.8 kB / 4.04 GB, free: 19.26 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/12.71, allocations: 104.7 kB / 4.04 GB, free: 19.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/12.71, allocations: 44.5 kB / 4.04 GB, free: 19.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001555/12.72, allocations: 0.7863 MB / 4.041 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.61e-07/12.72, allocations: 0 / 4.041 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009169/12.73, allocations: 1.885 MB / 4.043 GB, free: 17.46 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($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,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0182/12.74, allocations: 5.659 MB / 4.048 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00706/12.75, allocations: 2.195 MB / 4.051 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/12.75, allocations: 6.625 kB / 4.051 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003114/12.75, allocations: 1.413 MB / 4.052 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/12.76, allocations: 0.6118 MB / 4.053 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/12.77, allocations: 4.221 MB / 4.057 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/12.78, allocations: 1.643 MB / 4.058 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004542/12.78, allocations: 1.424 MB / 4.06 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/12.78, allocations: 0.8203 MB / 4.06 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.392e-06/12.78, allocations: 4 kB / 4.06 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6643/13.45, allocations: 89.16 MB / 4.148 GB, free: 58.04 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/13.45, allocations: 239.8 kB / 4.148 GB, free: 57.72 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/20.27, allocations: 0 / 4.148 GB, free: 57.72 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat