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.374/2.374, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.818e-05, allocations: 4 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3586, allocations: 54.85 MB / 354.3 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.759/8.117, allocations: 2.613 GB / 2.959 GB, free: 117.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/8.118, allocations: 85.38 kB / 2.959 GB, free: 117.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.983/12.1, allocations: 0.7509 GB / 3.71 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/12.1, allocations: 0 / 3.71 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001565/12.1, allocations: 43.42 kB / 3.71 GB, free: 38.26 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.01247/12.11, allocations: 2.706 MB / 3.713 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/12.11, allocations: 9.375 kB / 3.713 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/12.12, allocations: 0.6505 MB / 3.714 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/12.12, allocations: 0.997 MB / 3.715 GB, free: 36.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/12.12, allocations: 52.09 kB / 3.715 GB, free: 36.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/12.13, allocations: 64.84 kB / 3.715 GB, free: 36.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00315/12.13, allocations: 1.075 MB / 3.716 GB, free: 36.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/12.13, allocations: 1.298 MB / 3.717 GB, free: 36.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/12.13, allocations: 8.281 kB / 3.717 GB, free: 36.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/12.13, allocations: 3.938 kB / 3.717 GB, free: 36.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.533e-05/12.13, allocations: 43.67 kB / 3.717 GB, free: 36.31 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.2617/12.39, allocations: 73.12 MB / 3.789 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/12.4, allocations: 0.8002 MB / 3.789 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008189/12.4, allocations: 403.8 kB / 3.79 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05911/12.46, allocations: 20.23 MB / 3.809 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/12.46, allocations: 42.38 kB / 3.809 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=86): time 3.927e-06/12.46, allocations: 0 / 3.809 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120): time 0.05003/12.51, allocations: 5.091 MB / 3.814 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/12.51, allocations: 167.1 kB / 3.815 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/12.51, allocations: 0.7066 MB / 3.815 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/12.51, allocations: 28.7 kB / 3.815 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/12.51, allocations: 0.6254 MB / 3.816 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/12.51, allocations: 397.5 kB / 3.816 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/12.51, allocations: 0 / 3.816 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001837/12.51, allocations: 364.8 kB / 3.817 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/12.51, allocations: 0.5233 MB / 3.817 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/12.51, allocations: 0.9247 MB / 3.818 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005473/12.52, allocations: 0.963 MB / 3.819 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/12.52, allocations: 5.375 kB / 3.819 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008918/12.53, allocations: 2.202 MB / 3.821 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002266/12.53, allocations: 4.621 MB / 3.826 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.64e-05/12.53, allocations: 12.66 kB / 3.826 GB, free: 24.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/12.53, allocations: 0.8366 MB / 3.827 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/12.54, allocations: 364.6 kB / 3.827 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007806/12.54, allocations: 3.404 MB / 3.83 GB, free: 22.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003421/12.55, allocations: 214.6 kB / 3.83 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/12.55, allocations: 90.06 kB / 3.83 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/12.55, allocations: 3.812 kB / 3.83 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005977/12.55, allocations: 1.466 MB / 3.832 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/12.55, allocations: 15.19 kB / 3.832 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/12.55, allocations: 19.06 kB / 3.832 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/12.56, allocations: 0.6194 MB / 3.833 GB, free: 22.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/12.56, allocations: 22.47 kB / 3.833 GB, free: 22.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/12.56, allocations: 197.6 kB / 3.833 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/12.56, allocations: 78.89 kB / 3.833 GB, free: 22.5 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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 (142): * Single equations (assignments): 138 * 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.0006792/12.56, allocations: 154 kB / 3.833 GB, free: 22.38 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008311/12.57, allocations: 1.832 MB / 3.835 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/12.57, allocations: 127.4 kB / 3.835 GB, free: 22.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/12.58, allocations: 5.911 MB / 3.841 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.991e-05/12.58, allocations: 68.86 kB / 3.841 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/12.58, allocations: 0 / 3.841 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.781e-05/12.58, allocations: 7.219 kB / 3.841 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/12.6, allocations: 7.897 MB / 3.848 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/12.6, allocations: 7.391 kB / 3.848 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/12.6, allocations: 247.2 kB / 3.849 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005827/12.61, allocations: 2.273 MB / 3.851 GB, free: 18.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/12.61, allocations: 27.31 kB / 3.851 GB, free: 18.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008045/12.62, allocations: 4.871 MB / 3.856 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/12.62, allocations: 0.9375 kB / 3.856 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008652/12.63, allocations: 4.108 MB / 3.86 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/12.63, allocations: 0.4953 MB / 3.86 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/12.63, allocations: 4 kB / 3.86 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/12.63, allocations: 198.8 kB / 3.86 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003561/12.63, allocations: 113.2 kB / 3.86 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/12.63, allocations: 57 kB / 3.861 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001167/12.63, allocations: 0.6152 MB / 3.861 GB, free: 12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.503e-06/12.63, allocations: 3.938 kB / 3.861 GB, free: 12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008967/12.64, allocations: 1.835 MB / 3.863 GB, free: 10.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.02267/12.66, allocations: 6.576 MB / 3.869 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009301/12.67, allocations: 2.91 MB / 3.872 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/12.67, allocations: 0 / 3.872 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004803/12.68, allocations: 1.736 MB / 3.874 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005189/12.68, allocations: 0.4989 MB / 3.874 GB, free: 3.043 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/12.7, allocations: 4.061 MB / 3.878 GB, free: 88 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.403/13.1, allocations: 1.571 MB / 3.88 GB, free: 81.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00503/13.1, allocations: 1.551 MB / 3.881 GB, free: 81.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/13.11, allocations: 0.7525 MB / 3.882 GB, free: 81.61 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/13.11, allocations: 0 / 3.882 GB, free: 81.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1982/13.3, allocations: 80.24 MB / 3.961 GB, free: 78.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/13.3, allocations: 194.4 kB / 3.961 GB, free: 77.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.193/19.5, allocations: 0 / 3.961 GB, free: 77.97 MB / 0.5417 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