Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.121/3.121, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.564e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4407, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.76/10.2, allocations: 2.607 GB / 2.953 GB, free: 124.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/10.2, allocations: 86.64 kB / 2.953 GB, free: 124.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.504/14.71, allocations: 0.6271 GB / 3.58 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.405e-06/14.71, allocations: 0 / 3.58 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001486/14.71, allocations: 43.52 kB / 3.58 GB, free: 42.02 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.01304/14.72, allocations: 2.432 MB / 3.583 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/14.72, allocations: 7.812 kB / 3.583 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005437/14.72, allocations: 132 kB / 3.583 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/14.74, allocations: 0.9558 MB / 3.584 GB, free: 40.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/14.74, allocations: 1.06 MB / 3.585 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/14.74, allocations: 69.67 kB / 3.585 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005499/14.74, allocations: 75.28 kB / 3.585 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006358/14.75, allocations: 1.197 MB / 3.586 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/14.76, allocations: 1.412 MB / 3.587 GB, free: 39.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-05/14.76, allocations: 7.656 kB / 3.587 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004332/14.76, allocations: 3.344 kB / 3.587 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/14.76, allocations: 32.53 kB / 3.587 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.971/16.74, allocations: 266 MB / 3.847 GB, free: 22.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/16.74, allocations: 343.2 kB / 3.848 GB, free: 22.46 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006622/16.74, allocations: 224.4 kB / 3.848 GB, free: 22.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08677/16.82, allocations: 15.7 MB / 3.863 GB, free: 24.07 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/16.82, allocations: 46.42 kB / 3.863 GB, free: 24.03 MB / 0.573 GB Notification: Performance of pre-optimization done (n=48): time 4.619e-06/16.82, allocations: 0 / 3.863 GB, free: 24.03 MB / 0.573 GB Notification: Performance of matching and sorting (n=48): time 0.01188/16.84, allocations: 1.591 MB / 3.865 GB, free: 23.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/16.84, allocations: 265.5 kB / 3.865 GB, free: 22.83 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/16.84, allocations: 0.8587 MB / 3.866 GB, free: 22.29 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/16.84, allocations: 25.7 kB / 3.866 GB, free: 22.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/16.84, allocations: 0.7849 MB / 3.867 GB, free: 21.82 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/16.84, allocations: 175.8 kB / 3.867 GB, free: 21.72 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/16.84, allocations: 4 kB / 3.867 GB, free: 21.71 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002335/16.84, allocations: 360.4 kB / 3.867 GB, free: 21.39 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/16.84, allocations: 309 kB / 3.867 GB, free: 21.23 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/16.84, allocations: 0.8837 MB / 3.868 GB, free: 20.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006569/16.85, allocations: 0.7452 MB / 3.869 GB, free: 19.85 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/16.85, allocations: 5.406 kB / 3.869 GB, free: 19.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.009656/16.86, allocations: 1.509 MB / 3.87 GB, free: 18.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003563/16.86, allocations: 7.317 MB / 3.878 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-05/16.86, allocations: 20 kB / 3.878 GB, free: 11.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.998e-05/16.86, allocations: 28 kB / 3.878 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/16.87, allocations: 400 kB / 3.878 GB, free: 10.85 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.532e-05/16.87, allocations: 36.38 kB / 3.878 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/16.87, allocations: 356 kB / 3.878 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/16.87, allocations: 87.36 kB / 3.878 GB, free: 10.51 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/16.87, allocations: 4 kB / 3.878 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007804/16.88, allocations: 1.24 MB / 3.88 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-05/16.88, allocations: 17.09 kB / 3.88 GB, free: 9.777 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.153e-05/16.88, allocations: 28 kB / 3.88 GB, free: 9.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/16.88, allocations: 391.9 kB / 3.88 GB, free: 9.465 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-05/16.88, allocations: 41.88 kB / 3.88 GB, free: 9.438 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/16.89, allocations: 234 kB / 3.88 GB, free: 9.266 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004247/16.89, allocations: 81.09 kB / 3.88 GB, free: 9.207 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.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.0005359/16.89, allocations: 162.2 kB / 3.881 GB, free: 9.082 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/16.89, allocations: 118.6 kB / 3.881 GB, free: 8.965 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005249/16.89, allocations: 1.835 MB / 3.883 GB, free: 7.938 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/16.89, allocations: 9.516 kB / 3.883 GB, free: 7.934 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/16.89, allocations: 0 / 3.883 GB, free: 7.934 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/16.89, allocations: 3.469 kB / 3.883 GB, free: 7.934 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/16.9, allocations: 1.36 MB / 3.884 GB, free: 7.254 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/16.9, allocations: 1.781 kB / 3.884 GB, free: 7.254 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/16.9, allocations: 87.55 kB / 3.884 GB, free: 7.188 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/16.9, allocations: 11.42 kB / 3.884 GB, free: 7.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/16.9, allocations: 0 / 3.884 GB, free: 7.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/16.9, allocations: 6.812 kB / 3.884 GB, free: 7.176 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/16.9, allocations: 0 / 3.884 GB, free: 7.176 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/16.9, allocations: 0.7007 MB / 3.885 GB, free: 6.625 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/16.9, allocations: 0.6066 MB / 3.885 GB, free: 6.246 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007025/16.9, allocations: 0 / 3.885 GB, free: 6.246 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/16.91, allocations: 85.39 kB / 3.885 GB, free: 6.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/16.91, allocations: 30.69 kB / 3.885 GB, free: 6.164 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/16.91, allocations: 15 kB / 3.885 GB, free: 6.152 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004492/16.91, allocations: 1.431 MB / 3.887 GB, free: 5.305 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.182e-06/16.91, allocations: 1.422 kB / 3.887 GB, free: 5.305 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01204/16.92, allocations: 1.755 MB / 3.888 GB, free: 3.758 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.01773/16.94, allocations: 3.268 MB / 3.892 GB, free: 1.273 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00459/16.95, allocations: 1.279 MB / 3.893 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/16.95, allocations: 3.047 kB / 3.893 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/16.95, allocations: 158.9 kB / 3.893 GB, free: 432 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/16.95, allocations: 477.9 kB / 3.894 GB, free: 168 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5225/17.48, allocations: 2.312 MB / 3.896 GB, free: 120 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/17.48, allocations: 1.352 MB / 3.897 GB, free: 119.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009265/17.49, allocations: 2.532 MB / 3.9 GB, free: 119.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/17.49, allocations: 0.6849 MB / 3.9 GB, free: 119.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.583e-06/17.49, allocations: 0 / 3.9 GB, free: 119.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2391/17.73, allocations: 62.14 MB / 3.961 GB, free: 116.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002576/17.73, allocations: 205.6 kB / 3.961 GB, free: 116.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.06/24.79, allocations: 0 / 3.961 GB, free: 116.1 MB / 0.573 GB