Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.147e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4365, allocations: 54.86 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.876/8.313, allocations: 2.614 GB / 2.965 GB, free: 116.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/8.313, allocations: 85.66 kB / 2.965 GB, free: 116.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.066/12.38, allocations: 0.7575 GB / 3.723 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/12.38, allocations: 0 / 3.723 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001544/12.38, allocations: 42.14 kB / 3.723 GB, free: 31.9 MB / 0.4948 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.01222/12.39, allocations: 2.709 MB / 3.726 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/12.39, allocations: 11.59 kB / 3.726 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005334/12.39, allocations: 173.8 kB / 3.726 GB, free: 30.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007292/12.4, allocations: 0.645 MB / 3.726 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/12.4, allocations: 1.006 MB / 3.727 GB, free: 30.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/12.4, allocations: 98.94 kB / 3.728 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/12.4, allocations: 107 kB / 3.728 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006318/12.41, allocations: 1.924 MB / 3.729 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/12.41, allocations: 7.656 kB / 3.729 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/12.41, allocations: 52.34 kB / 3.73 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/12.41, allocations: 47.33 kB / 3.73 GB, free: 29.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005953/12.42, allocations: 1.617 MB / 3.731 GB, free: 29.88 MB / 0.4948 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.01455/12.43, allocations: 9.306 MB / 3.74 GB, free: 23.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005637/12.44, allocations: 1.398 MB / 3.742 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/12.44, allocations: 452.9 kB / 3.742 GB, free: 23.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06523/12.5, allocations: 21.63 MB / 3.763 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/12.5, allocations: 46.5 kB / 3.763 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 4.057e-06/12.5, allocations: 3 kB / 3.763 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.07143/12.57, allocations: 8.014 MB / 3.771 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/12.57, allocations: 166.5 kB / 3.771 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/12.58, allocations: 0.7206 MB / 3.772 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003316/12.58, allocations: 47.58 kB / 3.772 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/12.58, allocations: 0.6189 MB / 3.773 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/12.58, allocations: 463.7 kB / 3.773 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/12.58, allocations: 30.31 kB / 3.773 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001772/12.58, allocations: 366.7 kB / 3.773 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/12.58, allocations: 0.5623 MB / 3.774 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/12.58, allocations: 0.9764 MB / 3.775 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/12.58, allocations: 0.6834 MB / 3.776 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/12.58, allocations: 3.375 kB / 3.776 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005898/12.59, allocations: 2.049 MB / 3.778 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001802/12.59, allocations: 4.619 MB / 3.782 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/12.59, allocations: 12.34 kB / 3.782 GB, free: 18.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009749/12.6, allocations: 1.303 MB / 3.783 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/12.6, allocations: 446.1 kB / 3.784 GB, free: 18.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/12.61, allocations: 3.096 MB / 3.787 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/12.61, allocations: 220.4 kB / 3.787 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/12.61, allocations: 104.7 kB / 3.787 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/12.61, allocations: 3.75 kB / 3.787 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005183/12.62, allocations: 1.778 MB / 3.789 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/12.62, allocations: 13.09 kB / 3.789 GB, free: 16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/12.62, allocations: 0.5452 MB / 3.789 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005367/12.63, allocations: 0.572 MB / 3.79 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/12.63, allocations: 1.662 MB / 3.792 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/12.63, allocations: 231.2 kB / 3.792 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003176/12.63, allocations: 92.36 kB / 3.792 GB, free: 14.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006292/12.64, allocations: 204.5 kB / 3.792 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/12.64, allocations: 130.8 kB / 3.792 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/12.65, allocations: 7.213 MB / 3.799 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/12.65, allocations: 81.73 kB / 3.799 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/12.65, allocations: 0 / 3.799 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-05/12.65, allocations: 6.516 kB / 3.799 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/12.67, allocations: 9.459 MB / 3.809 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/12.67, allocations: 3.219 kB / 3.809 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/12.67, allocations: 339.7 kB / 3.809 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/12.68, allocations: 2.719 MB / 3.812 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003729/12.68, allocations: 42.91 kB / 3.812 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007505/12.69, allocations: 4.388 MB / 3.816 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/12.69, allocations: 0 / 3.816 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008732/12.7, allocations: 4.588 MB / 3.82 GB, free: 26.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/12.7, allocations: 0.5334 MB / 3.821 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/12.7, allocations: 31.36 kB / 3.821 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/12.7, allocations: 227.5 kB / 3.821 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/12.7, allocations: 135.8 kB / 3.821 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/12.7, allocations: 72.28 kB / 3.821 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001244/12.7, allocations: 0.6213 MB / 3.822 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.91e-07/12.7, allocations: 0 / 3.822 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01061/12.71, allocations: 2.051 MB / 3.824 GB, free: 25.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.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 (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02197/12.74, allocations: 7.03 MB / 3.831 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01108/12.75, allocations: 3.506 MB / 3.834 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/12.75, allocations: 0 / 3.834 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004885/12.75, allocations: 2.045 MB / 3.836 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/12.76, allocations: 0.5563 MB / 3.837 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6866/13.44, allocations: 80.25 MB / 3.915 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/13.45, allocations: 1.642 MB / 3.917 GB, free: 56.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004719/13.45, allocations: 1.474 MB / 3.918 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/13.45, allocations: 0.833 MB / 3.919 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.763e-06/13.45, allocations: 3.156 kB / 3.919 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2595/13.71, allocations: 99.79 MB / 4.016 GB, free: 46.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/13.71, allocations: 242.2 kB / 4.017 GB, free: 46.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/21.17, allocations: 0 / 4.017 GB, free: 46.56 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat