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.495/2.495, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.517e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4373, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.809/8.246, allocations: 2.608 GB / 2.959 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/8.246, allocations: 83.34 kB / 2.96 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.469/11.72, allocations: 0.6322 GB / 3.592 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.525e-06/11.72, allocations: 0 / 3.592 GB, free: 37.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002061/11.72, allocations: 41.73 kB / 3.592 GB, free: 37.93 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.01461/11.73, allocations: 2.448 MB / 3.594 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/11.73, allocations: 12.56 kB / 3.594 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000721/11.73, allocations: 174.5 kB / 3.594 GB, free: 36.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/11.75, allocations: 0.9533 MB / 3.595 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/11.75, allocations: 1.058 MB / 3.596 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/11.75, allocations: 104.8 kB / 3.596 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/11.75, allocations: 111.9 kB / 3.597 GB, free: 36.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/11.77, allocations: 2.231 MB / 3.599 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.47e-05/11.77, allocations: 7.812 kB / 3.599 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003999/11.77, allocations: 55.84 kB / 3.599 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/11.77, allocations: 30.31 kB / 3.599 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/11.78, allocations: 1.951 MB / 3.601 GB, free: 35.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/11.79, allocations: 9.777 MB / 3.61 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/11.8, allocations: 1.488 MB / 3.612 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/11.8, allocations: 410.3 kB / 3.612 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07078/11.87, allocations: 18.96 MB / 3.631 GB, free: 19.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/11.87, allocations: 45.56 kB / 3.631 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 4.619e-06/11.87, allocations: 0 / 3.631 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01033/11.88, allocations: 2.267 MB / 3.633 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.756e-05/11.88, allocations: 272.7 kB / 3.633 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/11.88, allocations: 0.7286 MB / 3.634 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/11.88, allocations: 41.27 kB / 3.634 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/11.88, allocations: 0.6778 MB / 3.635 GB, free: 18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/11.89, allocations: 307.5 kB / 3.635 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/11.89, allocations: 27.97 kB / 3.635 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/11.89, allocations: 360.3 kB / 3.635 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009218/11.89, allocations: 332.2 kB / 3.636 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/11.89, allocations: 0.8822 MB / 3.636 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/11.89, allocations: 454.3 kB / 3.637 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/11.89, allocations: 7.75 kB / 3.637 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003616/11.89, allocations: 1.258 MB / 3.638 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003058/11.9, allocations: 6.887 MB / 3.645 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/11.9, allocations: 15.62 kB / 3.645 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.997e-05/11.9, allocations: 28.03 kB / 3.645 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/11.9, allocations: 396 kB / 3.645 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/11.9, allocations: 34.47 kB / 3.645 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/11.9, allocations: 238.2 kB / 3.646 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/11.9, allocations: 85.39 kB / 3.646 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/11.9, allocations: 4.375 kB / 3.646 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003015/11.9, allocations: 1.11 MB / 3.647 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/11.9, allocations: 15.31 kB / 3.647 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.129e-05/11.9, allocations: 30.56 kB / 3.647 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/11.91, allocations: 386.6 kB / 3.647 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-05/11.91, allocations: 44.72 kB / 3.647 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/11.91, allocations: 208.4 kB / 3.647 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/11.91, allocations: 78.3 kB / 3.647 GB, free: 23.67 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.0005019/11.91, allocations: 207.6 kB / 3.648 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/11.91, allocations: 119.9 kB / 3.648 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009354/11.92, allocations: 5.811 MB / 3.653 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/11.92, allocations: 85.12 kB / 3.653 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/11.92, allocations: 0 / 3.653 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/11.92, allocations: 10.38 kB / 3.653 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/11.93, allocations: 2.798 MB / 3.656 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/11.93, allocations: 0 / 3.656 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/11.93, allocations: 299.1 kB / 3.656 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/11.93, allocations: 3.781 kB / 3.657 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/11.93, allocations: 31.41 kB / 3.657 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/11.93, allocations: 3.188 kB / 3.657 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/11.93, allocations: 0 / 3.657 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/11.93, allocations: 2.674 MB / 3.659 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/11.93, allocations: 0.5296 MB / 3.66 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/11.93, allocations: 19.88 kB / 3.66 GB, free: 17.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/11.94, allocations: 136.1 kB / 3.66 GB, free: 17.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/11.94, allocations: 91.69 kB / 3.66 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/11.94, allocations: 35.83 kB / 3.66 GB, free: 17.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001361/11.94, allocations: 0.6637 MB / 3.661 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/11.94, allocations: 0 / 3.661 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008866/11.95, allocations: 1.714 MB / 3.662 GB, free: 16.94 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.01613/11.96, allocations: 5.114 MB / 3.667 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005155/11.97, allocations: 2.219 MB / 3.669 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/11.97, allocations: 0 / 3.669 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/11.97, allocations: 1.358 MB / 3.671 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005717/11.98, allocations: 0.5824 MB / 3.671 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8056/12.78, allocations: 126.1 MB / 3.794 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/12.78, allocations: 1.661 MB / 3.796 GB, free: 40.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005013/12.79, allocations: 2.003 MB / 3.798 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/12.79, allocations: 0.8691 MB / 3.799 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/12.79, allocations: 0 / 3.799 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2886/13.08, allocations: 83.02 MB / 3.88 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003143/13.08, allocations: 215.5 kB / 3.88 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.61/19.69, allocations: 0 / 3.88 GB, free: 15.74 MB / 0.5417 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