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.944/1.944, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.315e-05, allocations: 9.531 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.683/7.794, allocations: 2.497 GB / 2.812 GB, free: 65.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/7.795, allocations: 81.83 kB / 2.812 GB, free: 65.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757/11.55, allocations: 0.6184 GB / 3.43 GB, free: 35.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/11.55, allocations: 1.812 kB / 3.43 GB, free: 35.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000127/11.55, allocations: 39.02 kB / 3.43 GB, free: 35.18 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.01119/11.56, allocations: 2.368 MB / 3.433 GB, free: 34.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/11.56, allocations: 7.531 kB / 3.433 GB, free: 34.12 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005769/11.56, allocations: 186.4 kB / 3.433 GB, free: 34.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/11.58, allocations: 0.9037 MB / 3.434 GB, free: 33.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/11.58, allocations: 1.047 MB / 3.435 GB, free: 33.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/11.58, allocations: 104.5 kB / 3.435 GB, free: 33.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/11.58, allocations: 115.2 kB / 3.435 GB, free: 33.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008123/11.59, allocations: 2.232 MB / 3.437 GB, free: 33.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/11.59, allocations: 7.906 kB / 3.437 GB, free: 33.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/11.59, allocations: 59.69 kB / 3.437 GB, free: 33.22 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/11.59, allocations: 42.05 kB / 3.437 GB, free: 33.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007838/11.6, allocations: 1.944 MB / 3.439 GB, free: 33.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/11.61, allocations: 9.77 MB / 3.449 GB, free: 26.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005849/11.62, allocations: 1.489 MB / 3.45 GB, free: 26.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/11.62, allocations: 411.2 kB / 3.45 GB, free: 26.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06986/11.69, allocations: 18.93 MB / 3.469 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/11.69, allocations: 46.28 kB / 3.469 GB, free: 17.08 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 4.959e-06/11.69, allocations: 0 / 3.469 GB, free: 17.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01045/11.7, allocations: 2.261 MB / 3.471 GB, free: 16.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/11.7, allocations: 269.5 kB / 3.471 GB, free: 16.65 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/11.7, allocations: 0.7339 MB / 3.472 GB, free: 16.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001517/11.7, allocations: 40.27 kB / 3.472 GB, free: 16.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005397/11.7, allocations: 0.6744 MB / 3.473 GB, free: 16.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/11.7, allocations: 314.1 kB / 3.473 GB, free: 15.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/11.7, allocations: 21.94 kB / 3.473 GB, free: 15.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/11.7, allocations: 360.6 kB / 3.473 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/11.7, allocations: 334.9 kB / 3.474 GB, free: 15.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/11.7, allocations: 0.8829 MB / 3.475 GB, free: 14.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/11.71, allocations: 460.3 kB / 3.475 GB, free: 14.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/11.71, allocations: 6.531 kB / 3.475 GB, free: 14.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003425/11.71, allocations: 1.251 MB / 3.476 GB, free: 14.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002957/11.71, allocations: 6.883 MB / 3.483 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/11.71, allocations: 17.22 kB / 3.483 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-05/11.71, allocations: 28 kB / 3.483 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/11.71, allocations: 392.4 kB / 3.483 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.461e-05/11.71, allocations: 41.62 kB / 3.484 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/11.72, allocations: 235.7 kB / 3.484 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/11.72, allocations: 83.59 kB / 3.484 GB, free: 23.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/11.72, allocations: 6.125 kB / 3.484 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002872/11.72, allocations: 1.118 MB / 3.485 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/11.72, allocations: 17.78 kB / 3.485 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/11.72, allocations: 25.41 kB / 3.485 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/11.72, allocations: 383.7 kB / 3.485 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/11.72, allocations: 36.17 kB / 3.485 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/11.73, allocations: 213.4 kB / 3.486 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/11.73, allocations: 77.45 kB / 3.486 GB, free: 23.34 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.00056/11.73, allocations: 202.9 kB / 3.486 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/11.73, allocations: 124.2 kB / 3.486 GB, free: 23.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00875/11.74, allocations: 5.83 MB / 3.492 GB, free: 22.53 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.706e-05/11.74, allocations: 81.66 kB / 3.492 GB, free: 22.53 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/11.74, allocations: 0 / 3.492 GB, free: 22.53 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/11.74, allocations: 7.188 kB / 3.492 GB, free: 22.53 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/11.74, allocations: 2.793 MB / 3.494 GB, free: 22.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/11.74, allocations: 3.953 kB / 3.494 GB, free: 22.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/11.74, allocations: 295.4 kB / 3.495 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/11.74, allocations: 3.875 kB / 3.495 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/11.74, allocations: 23.58 kB / 3.495 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/11.74, allocations: 5.281 kB / 3.495 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/11.74, allocations: 0 / 3.495 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/11.75, allocations: 2.679 MB / 3.497 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/11.75, allocations: 0.5283 MB / 3.498 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/11.75, allocations: 20.66 kB / 3.498 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/11.75, allocations: 144.4 kB / 3.498 GB, free: 21.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/11.75, allocations: 89.31 kB / 3.498 GB, free: 21.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/11.75, allocations: 37.16 kB / 3.498 GB, free: 21.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001294/11.75, allocations: 0.6586 MB / 3.499 GB, free: 21.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/11.75, allocations: 4 kB / 3.499 GB, free: 21.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008352/11.76, allocations: 1.716 MB / 3.5 GB, free: 21.02 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.01607/11.78, allocations: 5.085 MB / 3.505 GB, free: 19.72 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006429/11.78, allocations: 2.218 MB / 3.508 GB, free: 19.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/11.78, allocations: 2.5 kB / 3.508 GB, free: 19.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/11.78, allocations: 1.352 MB / 3.509 GB, free: 19.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007471/11.79, allocations: 0.5811 MB / 3.51 GB, free: 19.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7529/12.55, allocations: 123.8 MB / 3.63 GB, free: 42.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/12.55, allocations: 1.663 MB / 3.632 GB, free: 41.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006015/12.55, allocations: 2 MB / 3.634 GB, free: 41.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/12.55, allocations: 0.8641 MB / 3.635 GB, free: 41.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/12.55, allocations: 0 / 3.635 GB, free: 41.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1978/12.75, allocations: 82.86 MB / 3.716 GB, free: 12.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/12.75, allocations: 211.5 kB / 3.716 GB, free: 12.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/19.29, allocations: 0 / 3.716 GB, free: 12.43 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