Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.064/2.064, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.271e-05, allocations: 5.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.85/7.958, allocations: 2.497 GB / 2.811 GB, free: 64.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/7.958, allocations: 81.7 kB / 2.811 GB, free: 64.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.418/11.38, allocations: 0.6181 GB / 3.429 GB, free: 35.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.794e-06/11.38, allocations: 0 / 3.429 GB, free: 35.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001388/11.38, allocations: 46.11 kB / 3.429 GB, free: 35.07 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.01143/11.39, allocations: 2.357 MB / 3.432 GB, free: 34.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/11.39, allocations: 7.625 kB / 3.432 GB, free: 34.01 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000548/11.39, allocations: 186.7 kB / 3.432 GB, free: 33.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/11.4, allocations: 0.8963 MB / 3.433 GB, free: 33.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/11.4, allocations: 1.057 MB / 3.434 GB, free: 33.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/11.4, allocations: 108.9 kB / 3.434 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/11.4, allocations: 116.3 kB / 3.434 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007492/11.41, allocations: 2.245 MB / 3.436 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/11.41, allocations: 3.375 kB / 3.436 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/11.41, allocations: 61.06 kB / 3.436 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/11.41, allocations: 32.58 kB / 3.436 GB, free: 33.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007185/11.42, allocations: 1.975 MB / 3.438 GB, free: 33.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/11.43, allocations: 10.08 MB / 3.448 GB, free: 26.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005731/11.44, allocations: 1.476 MB / 3.45 GB, free: 26.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008544/11.44, allocations: 376.8 kB / 3.45 GB, free: 26.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06338/11.5, allocations: 17.11 MB / 3.467 GB, free: 17.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/11.5, allocations: 49.58 kB / 3.467 GB, free: 17.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.549e-06/11.5, allocations: 0 / 3.467 GB, free: 17.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.009778/11.51, allocations: 2.219 MB / 3.469 GB, free: 17.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/11.51, allocations: 271.8 kB / 3.469 GB, free: 16.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/11.52, allocations: 0.814 MB / 3.47 GB, free: 16.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002292/11.52, allocations: 38.67 kB / 3.47 GB, free: 16.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/11.52, allocations: 0.6871 MB / 3.471 GB, free: 16.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/11.52, allocations: 278.3 kB / 3.471 GB, free: 16.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/11.52, allocations: 23.62 kB / 3.471 GB, free: 16.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/11.52, allocations: 357.9 kB / 3.471 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/11.52, allocations: 334.2 kB / 3.472 GB, free: 15.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/11.52, allocations: 0.9223 MB / 3.472 GB, free: 15.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/11.52, allocations: 471.1 kB / 3.473 GB, free: 15.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.006e-05/11.52, allocations: 5.375 kB / 3.473 GB, free: 15.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004026/11.53, allocations: 1.33 MB / 3.474 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002793/11.53, allocations: 7.317 MB / 3.481 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.337e-05/11.53, allocations: 30.69 kB / 3.481 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.002e-05/11.53, allocations: 30.91 kB / 3.481 GB, free: 23.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/11.53, allocations: 393.2 kB / 3.482 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.371e-05/11.53, allocations: 39.23 kB / 3.482 GB, free: 23.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/11.53, allocations: 261.7 kB / 3.482 GB, free: 23.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/11.53, allocations: 89.64 kB / 3.482 GB, free: 23.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/11.53, allocations: 8.375 kB / 3.482 GB, free: 23.13 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002845/11.54, allocations: 1.178 MB / 3.483 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/11.54, allocations: 21.53 kB / 3.483 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/11.54, allocations: 29.69 kB / 3.483 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/11.54, allocations: 390.6 kB / 3.484 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.932e-05/11.54, allocations: 41.8 kB / 3.484 GB, free: 23.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/11.54, allocations: 224.8 kB / 3.484 GB, free: 23.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/11.54, allocations: 78.44 kB / 3.484 GB, free: 23.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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.0004951/11.54, allocations: 206.9 kB / 3.484 GB, free: 22.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/11.54, allocations: 121.1 kB / 3.484 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007994/11.55, allocations: 5.747 MB / 3.49 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.892e-05/11.55, allocations: 86.47 kB / 3.49 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/11.55, allocations: 0 / 3.49 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/11.55, allocations: 3.281 kB / 3.49 GB, free: 22.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/11.55, allocations: 2.769 MB / 3.493 GB, free: 21.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/11.55, allocations: 0 / 3.493 GB, free: 21.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/11.56, allocations: 253.8 kB / 3.493 GB, free: 21.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/11.56, allocations: 3.562 kB / 3.493 GB, free: 21.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/11.56, allocations: 35.3 kB / 3.493 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/11.56, allocations: 3.469 kB / 3.493 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/11.56, allocations: 0 / 3.493 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/11.56, allocations: 2.628 MB / 3.496 GB, free: 21.37 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/11.56, allocations: 0.5235 MB / 3.496 GB, free: 21.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/11.56, allocations: 26.11 kB / 3.496 GB, free: 21.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/11.56, allocations: 134.7 kB / 3.496 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/11.56, allocations: 83 kB / 3.496 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/11.56, allocations: 32.19 kB / 3.496 GB, free: 21.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001357/11.56, allocations: 0.7129 MB / 3.497 GB, free: 20.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/11.56, allocations: 0 / 3.497 GB, free: 20.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008071/11.57, allocations: 1.722 MB / 3.499 GB, free: 20.68 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 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * 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.01488/11.59, allocations: 5.032 MB / 3.504 GB, free: 19.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004783/11.59, allocations: 2.262 MB / 3.506 GB, free: 19.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/11.59, allocations: 0 / 3.506 GB, free: 19.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/11.59, allocations: 1.33 MB / 3.507 GB, free: 19.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005431/11.6, allocations: 0.5837 MB / 3.508 GB, free: 19.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7571/12.36, allocations: 123.8 MB / 3.629 GB, free: 41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/12.36, allocations: 1.657 MB / 3.63 GB, free: 40.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005119/12.36, allocations: 2.01 MB / 3.632 GB, free: 40.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/12.36, allocations: 0.8655 MB / 3.633 GB, free: 40.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.223e-06/12.36, allocations: 4 kB / 3.633 GB, free: 40.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1913/12.56, allocations: 82.89 MB / 3.714 GB, free: 14.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/12.56, allocations: 221.5 kB / 3.714 GB, free: 14.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.258/18.82, allocations: 0 / 3.714 GB, free: 14.52 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat