Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.898/2.898, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.696e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4518, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.847/10.3, allocations: 2.613 GB / 2.959 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/10.3, allocations: 94.17 kB / 2.959 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.054/15.35, allocations: 0.752 GB / 3.711 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.615e-06/15.35, allocations: 0 / 3.711 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001876/15.35, allocations: 37.19 kB / 3.712 GB, free: 38.88 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.01504/15.37, allocations: 2.715 MB / 3.714 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/15.37, allocations: 10 kB / 3.714 GB, free: 37.64 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006082/15.37, allocations: 121.3 kB / 3.714 GB, free: 37.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009491/15.38, allocations: 0.6496 MB / 3.715 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/15.38, allocations: 0.9952 MB / 3.716 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/15.38, allocations: 71.05 kB / 3.716 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/15.38, allocations: 63.56 kB / 3.716 GB, free: 37.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003729/15.39, allocations: 1.075 MB / 3.717 GB, free: 37.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/15.39, allocations: 1.297 MB / 3.718 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/15.39, allocations: 5.062 kB / 3.718 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/15.39, allocations: 7.219 kB / 3.718 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.641e-05/15.39, allocations: 44.61 kB / 3.718 GB, free: 36.77 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.3323/15.72, allocations: 73.12 MB / 3.79 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/15.73, allocations: 0.7867 MB / 3.791 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/15.73, allocations: 414.8 kB / 3.791 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08004/15.81, allocations: 20.21 MB / 3.811 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.67e-05/15.81, allocations: 44.84 kB / 3.811 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=86): time 5.591e-06/15.81, allocations: 0 / 3.811 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120): time 0.07147/15.88, allocations: 5.077 MB / 3.816 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/15.88, allocations: 171.1 kB / 3.816 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/15.88, allocations: 0.7038 MB / 3.817 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003893/15.88, allocations: 25.7 kB / 3.817 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/15.88, allocations: 0.6318 MB / 3.817 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006148/15.88, allocations: 397.7 kB / 3.818 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/15.88, allocations: 1.125 kB / 3.818 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002119/15.88, allocations: 363.9 kB / 3.818 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/15.89, allocations: 0.5263 MB / 3.818 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/15.89, allocations: 0.9234 MB / 3.819 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007972/15.9, allocations: 0.9586 MB / 3.82 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/15.9, allocations: 1.844 kB / 3.82 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01381/15.91, allocations: 2.207 MB / 3.822 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002703/15.91, allocations: 4.618 MB / 3.827 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.77e-05/15.91, allocations: 11.38 kB / 3.827 GB, free: 25.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006225/15.92, allocations: 0.8336 MB / 3.828 GB, free: 25.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/15.92, allocations: 363.6 kB / 3.828 GB, free: 25.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/15.93, allocations: 3.405 MB / 3.831 GB, free: 22.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/15.94, allocations: 218.2 kB / 3.832 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005521/15.94, allocations: 89.69 kB / 3.832 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/15.94, allocations: 3.969 kB / 3.832 GB, free: 22.93 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009067/15.95, allocations: 1.467 MB / 3.833 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/15.95, allocations: 12 kB / 3.833 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.487e-05/15.95, allocations: 21.41 kB / 3.833 GB, free: 22.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008226/15.96, allocations: 0.6175 MB / 3.834 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.894e-05/15.96, allocations: 30.42 kB / 3.834 GB, free: 22.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/15.96, allocations: 198.6 kB / 3.834 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/15.96, allocations: 80.53 kB / 3.834 GB, free: 22.85 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.0008667/15.96, allocations: 155.1 kB / 3.834 GB, free: 22.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/15.96, allocations: 134.7 kB / 3.834 GB, free: 22.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/15.98, allocations: 5.915 MB / 3.84 GB, free: 19.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001263/15.98, allocations: 72.12 kB / 3.84 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/15.98, allocations: 0 / 3.84 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/15.98, allocations: 3.75 kB / 3.84 GB, free: 19.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/16, allocations: 7.908 MB / 3.848 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/16, allocations: 3.938 kB / 3.848 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/16.01, allocations: 239.5 kB / 3.848 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008027/16.01, allocations: 2.278 MB / 3.85 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003588/16.01, allocations: 22.91 kB / 3.85 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/16.02, allocations: 4.869 MB / 3.855 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/16.02, allocations: 1.406 kB / 3.855 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/16.04, allocations: 4.118 MB / 3.859 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/16.04, allocations: 0.4891 MB / 3.86 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/16.04, allocations: 3.797 kB / 3.86 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/16.04, allocations: 192 kB / 3.86 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005924/16.04, allocations: 121.2 kB / 3.86 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/16.04, allocations: 52.72 kB / 3.86 GB, free: 8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001701/16.05, allocations: 0.6237 MB / 3.861 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.91e-07/16.05, allocations: 0 / 3.861 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01177/16.06, allocations: 1.833 MB / 3.862 GB, free: 5.898 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.02888/16.09, allocations: 6.576 MB / 3.869 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.5091/16.6, allocations: 3.188 MB / 3.872 GB, free: 84.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/16.6, allocations: 3.219 kB / 3.872 GB, free: 84.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006957/16.6, allocations: 1.73 MB / 3.874 GB, free: 84.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006993/16.61, allocations: 0.5069 MB / 3.874 GB, free: 84.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/16.63, allocations: 4.067 MB / 3.878 GB, free: 83.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/16.63, allocations: 1.549 MB / 3.88 GB, free: 82.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00619/16.63, allocations: 1.56 MB / 3.881 GB, free: 82.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/16.64, allocations: 0.7519 MB / 3.882 GB, free: 82.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/16.64, allocations: 2.094 kB / 3.882 GB, free: 82.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2632/16.9, allocations: 81.92 MB / 3.962 GB, free: 79.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003525/16.9, allocations: 202.4 kB / 3.962 GB, free: 78.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.125/25.03, allocations: 0 / 3.962 GB, free: 78.98 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat