Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.713e-05, allocations: 7.938 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.427/8.56, allocations: 2.788 GB / 3.189 GB, free: 57.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/8.56, allocations: 87.94 kB / 3.189 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.198/12.76, allocations: 0.7707 GB / 3.96 GB, free: 45.04 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.276e-06/12.76, allocations: 3.625 kB / 3.96 GB, free: 45.04 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001306/12.76, allocations: 35.44 kB / 3.96 GB, free: 45.04 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.01241/12.77, allocations: 2.714 MB / 3.963 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/12.77, allocations: 11.19 kB / 3.963 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005096/12.77, allocations: 170.1 kB / 3.963 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007485/12.78, allocations: 0.6527 MB / 3.963 GB, free: 43.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/12.78, allocations: 0.9705 MB / 3.964 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/12.78, allocations: 100.5 kB / 3.964 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/12.78, allocations: 109.2 kB / 3.965 GB, free: 43.28 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006165/12.79, allocations: 1.922 MB / 3.966 GB, free: 42.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/12.79, allocations: 8.969 kB / 3.966 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/12.79, allocations: 54.47 kB / 3.967 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.112e-05/12.79, allocations: 46.97 kB / 3.967 GB, free: 42.88 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005726/12.8, allocations: 1.605 MB / 3.968 GB, free: 42.87 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.0156/12.81, allocations: 9.484 MB / 3.977 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005722/12.82, allocations: 1.414 MB / 3.979 GB, free: 36.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/12.82, allocations: 463 kB / 3.979 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07622/12.89, allocations: 24.33 MB / 4.003 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/12.89, allocations: 49.09 kB / 4.003 GB, free: 21.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 4.108e-06/12.89, allocations: 4 kB / 4.003 GB, free: 21.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.009068/12.9, allocations: 2.031 MB / 4.005 GB, free: 21.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/12.9, allocations: 168.5 kB / 4.005 GB, free: 20.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/12.91, allocations: 0.7754 MB / 4.006 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003021/12.91, allocations: 44.27 kB / 4.006 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/12.91, allocations: 0.58 MB / 4.007 GB, free: 20.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/12.91, allocations: 316.8 kB / 4.007 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/12.91, allocations: 23.59 kB / 4.007 GB, free: 20.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/12.91, allocations: 354.4 kB / 4.007 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/12.91, allocations: 340.6 kB / 4.008 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/12.91, allocations: 0.6609 MB / 4.008 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/12.91, allocations: 424.6 kB / 4.009 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/12.91, allocations: 3.938 kB / 4.009 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003456/12.91, allocations: 1.254 MB / 4.01 GB, free: 19.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008171/12.91, allocations: 3.741 MB / 4.013 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/12.91, allocations: 11.53 kB / 4.013 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/12.92, allocations: 466.1 kB / 4.014 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/12.92, allocations: 292.9 kB / 4.014 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/12.92, allocations: 1.472 MB / 4.016 GB, free: 30.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/12.93, allocations: 231.3 kB / 4.016 GB, free: 30.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/12.93, allocations: 75.25 kB / 4.016 GB, free: 30.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/12.93, allocations: 4.938 kB / 4.016 GB, free: 30.18 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002663/12.93, allocations: 0.9809 MB / 4.017 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/12.93, allocations: 15.62 kB / 4.017 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/12.93, allocations: 19.66 kB / 4.017 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/12.93, allocations: 448.7 kB / 4.017 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.32e-05/12.94, allocations: 25.55 kB / 4.017 GB, free: 30.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/12.94, allocations: 224.2 kB / 4.018 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/12.94, allocations: 62.19 kB / 4.018 GB, free: 30.02 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.0005126/12.94, allocations: 176.8 kB / 4.018 GB, free: 29.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/12.94, allocations: 130.6 kB / 4.018 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008711/12.95, allocations: 5.708 MB / 4.024 GB, free: 27.17 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/12.95, allocations: 83.89 kB / 4.024 GB, free: 27.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/12.95, allocations: 5.344 kB / 4.024 GB, free: 27.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/12.95, allocations: 14.45 kB / 4.024 GB, free: 27.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/12.96, allocations: 7.838 MB / 4.031 GB, free: 23.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/12.96, allocations: 0 / 4.031 GB, free: 23.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/12.96, allocations: 224.1 kB / 4.031 GB, free: 23.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005489/12.97, allocations: 1.899 MB / 4.033 GB, free: 22.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/12.97, allocations: 35.38 kB / 4.033 GB, free: 22.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/12.97, allocations: 2.645 MB / 4.036 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/12.97, allocations: 2.156 kB / 4.036 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/12.98, allocations: 3.531 MB / 4.039 GB, free: 19.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/12.98, allocations: 0.5625 MB / 4.04 GB, free: 19.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/12.98, allocations: 27.19 kB / 4.04 GB, free: 19.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/12.98, allocations: 171.5 kB / 4.04 GB, free: 19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/12.98, allocations: 111.1 kB / 4.04 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/12.98, allocations: 39.62 kB / 4.04 GB, free: 18.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001562/12.98, allocations: 0.791 MB / 4.041 GB, free: 18.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.4e-07/12.98, allocations: 0 / 4.041 GB, free: 18.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008983/12.99, allocations: 1.881 MB / 4.043 GB, free: 17.18 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.01737/13.01, allocations: 5.651 MB / 4.048 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006716/13.02, allocations: 2.199 MB / 4.051 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/13.02, allocations: 0 / 4.051 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/13.02, allocations: 1.419 MB / 4.052 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/13.02, allocations: 0.6103 MB / 4.053 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/13.04, allocations: 4.226 MB / 4.057 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/13.04, allocations: 1.639 MB / 4.058 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004515/13.05, allocations: 1.43 MB / 4.06 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/13.05, allocations: 0.8218 MB / 4.06 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of SimCode: time 1.553e-06/13.05, allocations: 0 / 4.06 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.666/13.71, allocations: 89.14 MB / 4.148 GB, free: 58.13 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/13.71, allocations: 241.8 kB / 4.148 GB, free: 57.81 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/20.44, allocations: 3.656 kB / 4.148 GB, free: 57.81 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat