Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.739/2.739, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.295e-05, allocations: 4.781 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4219, allocations: 54.85 MB / 359.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.175/8.597, allocations: 2.608 GB / 2.959 GB, free: 113 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/8.597, allocations: 80.39 kB / 2.96 GB, free: 113 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.619/12.22, allocations: 0.6322 GB / 3.592 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.295e-06/12.22, allocations: 0 / 3.592 GB, free: 38.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001439/12.22, allocations: 40.16 kB / 3.592 GB, free: 38.03 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01139/12.23, allocations: 2.447 MB / 3.594 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/12.23, allocations: 10.78 kB / 3.594 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005174/12.23, allocations: 175.9 kB / 3.594 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/12.24, allocations: 0.9536 MB / 3.595 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/12.24, allocations: 1.053 MB / 3.596 GB, free: 36.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/12.24, allocations: 103.3 kB / 3.596 GB, free: 36.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/12.24, allocations: 114 kB / 3.597 GB, free: 36.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007941/12.25, allocations: 2.255 MB / 3.599 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/12.25, allocations: 7.812 kB / 3.599 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000259/12.25, allocations: 58.09 kB / 3.599 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/12.25, allocations: 32.88 kB / 3.599 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007518/12.26, allocations: 1.967 MB / 3.601 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/12.28, allocations: 9.785 MB / 3.61 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005874/12.28, allocations: 1.489 MB / 3.612 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009796/12.28, allocations: 405.8 kB / 3.612 GB, free: 29.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06782/12.35, allocations: 18.97 MB / 3.631 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/12.35, allocations: 44.31 kB / 3.631 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 3.957e-06/12.35, allocations: 0 / 3.631 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.009827/12.36, allocations: 2.266 MB / 3.633 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/12.36, allocations: 268.8 kB / 3.633 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/12.36, allocations: 0.7401 MB / 3.634 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002233/12.36, allocations: 37.39 kB / 3.634 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/12.36, allocations: 0.6743 MB / 3.635 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/12.36, allocations: 306 kB / 3.635 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/12.36, allocations: 23.94 kB / 3.635 GB, free: 18.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/12.36, allocations: 357.7 kB / 3.635 GB, free: 17.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000881/12.36, allocations: 334.2 kB / 3.636 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/12.37, allocations: 0.8934 MB / 3.636 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/12.37, allocations: 460.7 kB / 3.637 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/12.37, allocations: 7.5 kB / 3.637 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004555/12.37, allocations: 1.308 MB / 3.638 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003642/12.37, allocations: 6.881 MB / 3.645 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/12.38, allocations: 16.69 kB / 3.645 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.421e-05/12.38, allocations: 27.91 kB / 3.645 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/12.38, allocations: 391.5 kB / 3.645 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.087e-05/12.38, allocations: 36.83 kB / 3.645 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/12.38, allocations: 239.1 kB / 3.646 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/12.38, allocations: 80.17 kB / 3.646 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/12.38, allocations: 7.75 kB / 3.646 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003796/12.39, allocations: 1.16 MB / 3.647 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/12.39, allocations: 18.19 kB / 3.647 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/12.39, allocations: 32.22 kB / 3.647 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/12.39, allocations: 383.4 kB / 3.647 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.793e-05/12.39, allocations: 43.75 kB / 3.647 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/12.39, allocations: 210.2 kB / 3.647 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/12.39, allocations: 77.48 kB / 3.648 GB, free: 23.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006345/12.39, allocations: 202 kB / 3.648 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/12.39, allocations: 120.4 kB / 3.648 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/12.41, allocations: 5.812 MB / 3.654 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/12.41, allocations: 83.47 kB / 3.654 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/12.41, allocations: 0 / 3.654 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/12.41, allocations: 15.83 kB / 3.654 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/12.41, allocations: 2.802 MB / 3.656 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/12.41, allocations: 0 / 3.656 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/12.41, allocations: 292.7 kB / 3.657 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/12.41, allocations: 2.906 kB / 3.657 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/12.41, allocations: 27.45 kB / 3.657 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/12.41, allocations: 11.05 kB / 3.657 GB, free: 19.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/12.41, allocations: 6.688 kB / 3.657 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/12.42, allocations: 2.671 MB / 3.659 GB, free: 18.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/12.42, allocations: 0.5256 MB / 3.66 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004771/12.42, allocations: 27.78 kB / 3.66 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/12.43, allocations: 127.4 kB / 3.66 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/12.43, allocations: 95.59 kB / 3.66 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/12.43, allocations: 36.48 kB / 3.66 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001826/12.43, allocations: 0.6582 MB / 3.661 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.01e-07/12.43, allocations: 0 / 3.661 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01074/12.44, allocations: 1.714 MB / 3.662 GB, free: 17.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01887/12.46, allocations: 5.1 MB / 3.667 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005474/12.46, allocations: 2.275 MB / 3.67 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/12.46, allocations: 1.938 kB / 3.67 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/12.46, allocations: 1.364 MB / 3.671 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006489/12.47, allocations: 0.5723 MB / 3.671 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9066/13.38, allocations: 126.1 MB / 3.795 GB, free: 40.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/13.38, allocations: 1.659 MB / 3.796 GB, free: 40.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005896/13.39, allocations: 2.015 MB / 3.798 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/13.39, allocations: 0.8632 MB / 3.799 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/13.39, allocations: 0 / 3.799 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2098/13.6, allocations: 82.84 MB / 3.88 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003786/13.6, allocations: 227.1 kB / 3.88 GB, free: 0.8125 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/20.26, allocations: 0 / 3.88 GB, free: 0.8125 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat