Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.013e-05/4.029e-05, allocations: 5.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 48.72 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.768/7.896, allocations: 2.497 GB / 2.812 GB, free: 81.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/7.897, allocations: 84.02 kB / 2.812 GB, free: 81.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.619/11.52, allocations: 0.6184 GB / 3.43 GB, free: 34.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.244e-06/11.52, allocations: 1.875 kB / 3.43 GB, free: 34.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001353/11.52, allocations: 45.31 kB / 3.43 GB, free: 34.56 MB / 458.7 MB 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.01113/11.53, allocations: 2.365 MB / 3.433 GB, free: 33.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/11.53, allocations: 7.125 kB / 3.433 GB, free: 33.53 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005279/11.53, allocations: 188 kB / 3.433 GB, free: 33.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/11.54, allocations: 0.9048 MB / 3.434 GB, free: 33.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/11.54, allocations: 1.048 MB / 3.435 GB, free: 33.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/11.54, allocations: 104.6 kB / 3.435 GB, free: 33.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/11.54, allocations: 115.1 kB / 3.435 GB, free: 33.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008194/11.55, allocations: 2.249 MB / 3.437 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/11.55, allocations: 9.75 kB / 3.437 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/11.55, allocations: 56.03 kB / 3.437 GB, free: 32.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/11.55, allocations: 37.02 kB / 3.437 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007557/11.56, allocations: 1.979 MB / 3.439 GB, free: 32.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/11.58, allocations: 9.764 MB / 3.449 GB, free: 26.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005866/11.58, allocations: 1.497 MB / 3.45 GB, free: 26.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009974/11.58, allocations: 405 kB / 3.45 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06919/11.65, allocations: 18.93 MB / 3.469 GB, free: 16.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/11.65, allocations: 48.31 kB / 3.469 GB, free: 16.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 4.258e-06/11.65, allocations: 7.469 kB / 3.469 GB, free: 16.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.009929/11.66, allocations: 2.258 MB / 3.471 GB, free: 16.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/11.66, allocations: 269.6 kB / 3.471 GB, free: 16.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/11.66, allocations: 0.7344 MB / 3.472 GB, free: 16.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/11.66, allocations: 41.02 kB / 3.472 GB, free: 16.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/11.66, allocations: 0.6758 MB / 3.473 GB, free: 15.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/11.66, allocations: 305.8 kB / 3.473 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/11.66, allocations: 24.62 kB / 3.473 GB, free: 15.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/11.66, allocations: 367.2 kB / 3.474 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/11.67, allocations: 327.7 kB / 3.474 GB, free: 15.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/11.67, allocations: 0.8888 MB / 3.475 GB, free: 14.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/11.67, allocations: 464.8 kB / 3.475 GB, free: 14.44 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/11.67, allocations: 3.812 kB / 3.475 GB, free: 14.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00342/11.67, allocations: 1.307 MB / 3.476 GB, free: 14.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003082/11.67, allocations: 6.882 MB / 3.483 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.989e-05/11.67, allocations: 16.56 kB / 3.483 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.084e-05/11.67, allocations: 28.59 kB / 3.483 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/11.68, allocations: 388.7 kB / 3.484 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.067e-05/11.68, allocations: 37.72 kB / 3.484 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/11.68, allocations: 247.4 kB / 3.484 GB, free: 23.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002382/11.68, allocations: 80.25 kB / 3.484 GB, free: 23.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/11.68, allocations: 4.812 kB / 3.484 GB, free: 23.02 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003029/11.68, allocations: 1.167 MB / 3.485 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/11.68, allocations: 17.56 kB / 3.485 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/11.68, allocations: 28.5 kB / 3.485 GB, free: 22.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/11.69, allocations: 383.9 kB / 3.485 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-05/11.69, allocations: 36.72 kB / 3.485 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/11.69, allocations: 213.5 kB / 3.486 GB, free: 22.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/11.69, allocations: 83.8 kB / 3.486 GB, free: 22.92 MB / 474.7 MB 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.00053/11.69, allocations: 197.7 kB / 3.486 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/11.69, allocations: 123.7 kB / 3.486 GB, free: 22.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/11.7, allocations: 5.816 MB / 3.492 GB, free: 22.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.966e-05/11.7, allocations: 89.38 kB / 3.492 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/11.7, allocations: 0 / 3.492 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/11.7, allocations: 7.578 kB / 3.492 GB, free: 22.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/11.7, allocations: 2.794 MB / 3.495 GB, free: 21.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/11.7, allocations: 3.953 kB / 3.495 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/11.7, allocations: 295.2 kB / 3.495 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/11.7, allocations: 3.406 kB / 3.495 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/11.7, allocations: 26.31 kB / 3.495 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/11.7, allocations: 3.594 kB / 3.495 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/11.7, allocations: 0 / 3.495 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/11.71, allocations: 2.68 MB / 3.498 GB, free: 21.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/11.71, allocations: 0.5284 MB / 3.498 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/11.71, allocations: 23.31 kB / 3.498 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/11.71, allocations: 138.6 kB / 3.498 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/11.71, allocations: 93.08 kB / 3.498 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/11.71, allocations: 38.45 kB / 3.498 GB, free: 20.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001298/11.71, allocations: 0.657 MB / 3.499 GB, free: 20.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.61e-07/11.71, allocations: 0 / 3.499 GB, free: 20.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008867/11.72, allocations: 1.714 MB / 3.501 GB, free: 20.61 MB / 474.7 MB 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.0162/11.74, allocations: 5.083 MB / 3.506 GB, free: 19.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00518/11.74, allocations: 2.275 MB / 3.508 GB, free: 19.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/11.74, allocations: 0 / 3.508 GB, free: 19.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/11.75, allocations: 1.368 MB / 3.509 GB, free: 19.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005452/11.75, allocations: 0.5664 MB / 3.51 GB, free: 19.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7831/12.54, allocations: 123.8 MB / 3.631 GB, free: 59.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/12.54, allocations: 1.666 MB / 3.632 GB, free: 58.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005161/12.54, allocations: 2.008 MB / 3.634 GB, free: 58.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/12.54, allocations: 0.8644 MB / 3.635 GB, free: 58.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/12.54, allocations: 3.969 kB / 3.635 GB, free: 58.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.187/12.73, allocations: 82.69 MB / 3.716 GB, free: 40.54 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/12.73, allocations: 208.8 kB / 3.716 GB, free: 40.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/19.24, allocations: 0 / 3.716 GB, free: 40.32 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat