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.339/2.339, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.865e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3456, allocations: 54.86 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.748/8.094, allocations: 2.613 GB / 2.959 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/8.094, allocations: 83.3 kB / 2.96 GB, free: 127.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.109/12.2, allocations: 0.7509 GB / 3.71 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.013e-06/12.2, allocations: 0 / 3.71 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000139/12.2, allocations: 40.44 kB / 3.71 GB, free: 38.38 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.01227/12.22, allocations: 2.706 MB / 3.713 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/12.22, allocations: 9.281 kB / 3.713 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007921/12.22, allocations: 0.6463 MB / 3.714 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/12.23, allocations: 1.01 MB / 3.715 GB, free: 36.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/12.23, allocations: 49.31 kB / 3.715 GB, free: 36.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/12.23, allocations: 63.97 kB / 3.715 GB, free: 36.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003038/12.23, allocations: 1.075 MB / 3.716 GB, free: 36.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/12.23, allocations: 1.297 MB / 3.717 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/12.23, allocations: 6.516 kB / 3.717 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/12.23, allocations: 10.66 kB / 3.717 GB, free: 36.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/12.23, allocations: 45.3 kB / 3.717 GB, free: 36.33 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.2798/12.51, allocations: 73.11 MB / 3.789 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/12.52, allocations: 0.7974 MB / 3.789 GB, free: 29.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009453/12.52, allocations: 404.4 kB / 3.79 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06482/12.58, allocations: 20.23 MB / 3.81 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/12.58, allocations: 44.56 kB / 3.81 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=86): time 4.148e-06/12.58, allocations: 0 / 3.81 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=120): time 0.05524/12.64, allocations: 5.072 MB / 3.815 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/12.64, allocations: 169.4 kB / 3.815 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/12.64, allocations: 0.7052 MB / 3.815 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002919/12.64, allocations: 29.45 kB / 3.815 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/12.64, allocations: 0.6348 MB / 3.816 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/12.64, allocations: 391.3 kB / 3.816 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/12.64, allocations: 0 / 3.816 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002003/12.64, allocations: 362.1 kB / 3.817 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/12.64, allocations: 0.5268 MB / 3.817 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/12.64, allocations: 0.9268 MB / 3.818 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006244/12.65, allocations: 0.9619 MB / 3.819 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/12.65, allocations: 0 / 3.819 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01014/12.66, allocations: 2.198 MB / 3.821 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002276/12.66, allocations: 4.624 MB / 3.826 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.453e-05/12.66, allocations: 12.88 kB / 3.826 GB, free: 24.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004778/12.67, allocations: 0.8313 MB / 3.827 GB, free: 24.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/12.67, allocations: 363.5 kB / 3.827 GB, free: 24.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008624/12.68, allocations: 3.401 MB / 3.83 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/12.68, allocations: 231.1 kB / 3.83 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/12.68, allocations: 82.59 kB / 3.831 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/12.68, allocations: 6.562 kB / 3.831 GB, free: 22.47 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006714/12.69, allocations: 1.459 MB / 3.832 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/12.69, allocations: 14.19 kB / 3.832 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/12.69, allocations: 23.34 kB / 3.832 GB, free: 22.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006445/12.7, allocations: 0.6146 MB / 3.833 GB, free: 22.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/12.7, allocations: 29.95 kB / 3.833 GB, free: 22.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/12.7, allocations: 201.2 kB / 3.833 GB, free: 22.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/12.7, allocations: 82.28 kB / 3.833 GB, free: 22.39 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.0006745/12.7, allocations: 150.4 kB / 3.833 GB, free: 22.28 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009216/12.71, allocations: 1.828 MB / 3.835 GB, free: 21.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/12.71, allocations: 122.5 kB / 3.835 GB, free: 21.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/12.72, allocations: 5.92 MB / 3.841 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.326e-05/12.72, allocations: 69.69 kB / 3.841 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/12.72, allocations: 0 / 3.841 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/12.72, allocations: 9.094 kB / 3.841 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/12.74, allocations: 7.908 MB / 3.849 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/12.74, allocations: 0 / 3.849 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/12.74, allocations: 241.4 kB / 3.849 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006045/12.75, allocations: 2.272 MB / 3.851 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002882/12.75, allocations: 22.41 kB / 3.851 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008582/12.76, allocations: 4.871 MB / 3.856 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/12.76, allocations: 0 / 3.856 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/12.77, allocations: 4.108 MB / 3.86 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/12.77, allocations: 0.4986 MB / 3.86 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/12.77, allocations: 10.52 kB / 3.86 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002686/12.77, allocations: 197.6 kB / 3.86 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/12.77, allocations: 118.1 kB / 3.861 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/12.77, allocations: 59.7 kB / 3.861 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00134/12.77, allocations: 0.6123 MB / 3.861 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/12.77, allocations: 0 / 3.861 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00968/12.78, allocations: 1.834 MB / 3.863 GB, free: 4.43 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.02443/12.81, allocations: 6.601 MB / 3.869 GB, free: 0 / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.414/13.22, allocations: 2.9 MB / 3.872 GB, free: 83.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/13.22, allocations: 0 / 3.872 GB, free: 83.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/13.23, allocations: 1.729 MB / 3.874 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/13.23, allocations: 0.502 MB / 3.874 GB, free: 83.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/13.25, allocations: 4.058 MB / 3.878 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/13.25, allocations: 1.546 MB / 3.88 GB, free: 82.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004952/13.25, allocations: 1.569 MB / 3.882 GB, free: 82.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/13.25, allocations: 0.7535 MB / 3.882 GB, free: 82.17 MB / 0.5417 GB Notification: Performance of SimCode: time 1.332e-06/13.25, allocations: 0 / 3.882 GB, free: 82.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2141/13.47, allocations: 80.25 MB / 3.961 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002661/13.47, allocations: 190.8 kB / 3.961 GB, free: 78.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.608/20.08, allocations: 0 / 3.961 GB, free: 78.48 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