Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.112/3.112, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.871e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4634, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.822/10.29, allocations: 2.607 GB / 2.953 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/10.29, allocations: 80.17 kB / 2.953 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.331/14.62, allocations: 0.5686 GB / 3.522 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.845e-06/14.62, allocations: 0 / 3.522 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002047/14.62, allocations: 35.45 kB / 3.522 GB, free: 45.18 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01739/14.63, allocations: 2.553 MB / 3.524 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/14.63, allocations: 10.62 kB / 3.524 GB, free: 44.16 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006967/14.64, allocations: 123.3 kB / 3.524 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/14.65, allocations: 0.8617 MB / 3.525 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/14.65, allocations: 1.078 MB / 3.526 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/14.65, allocations: 60.73 kB / 3.526 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005933/14.65, allocations: 68.72 kB / 3.526 GB, free: 43.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00471/14.66, allocations: 1.374 MB / 3.528 GB, free: 43.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/14.66, allocations: 1.353 MB / 3.529 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/14.66, allocations: 7 kB / 3.529 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/14.66, allocations: 3.938 kB / 3.529 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/14.66, allocations: 27.41 kB / 3.529 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.876/16.54, allocations: 231.2 MB / 3.755 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004413/16.54, allocations: 0.9032 MB / 3.756 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/16.54, allocations: 378.3 kB / 3.756 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2169/16.76, allocations: 48.04 MB / 3.803 GB, free: 21.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/16.76, allocations: 45.2 kB / 3.803 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00178/16.76, allocations: 121.2 kB / 3.803 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 1.01e-05/16.76, allocations: 0 / 3.803 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.01421/16.78, allocations: 1.99 MB / 3.805 GB, free: 21.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/16.78, allocations: 193.7 kB / 3.805 GB, free: 21.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/16.78, allocations: 0.8198 MB / 3.806 GB, free: 21.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003814/16.78, allocations: 25.7 kB / 3.806 GB, free: 21.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008257/16.78, allocations: 0.6777 MB / 3.807 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/16.78, allocations: 280.6 kB / 3.807 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/16.78, allocations: 0 / 3.807 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001561/16.78, allocations: 364.8 kB / 3.808 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/16.78, allocations: 421.2 kB / 3.808 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/16.79, allocations: 0.8345 MB / 3.809 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008771/16.79, allocations: 0.9543 MB / 3.81 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.984e-05/16.79, allocations: 9.156 kB / 3.81 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01301/16.81, allocations: 1.947 MB / 3.812 GB, free: 19.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002611/16.81, allocations: 4.971 MB / 3.816 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-05/16.81, allocations: 13.28 kB / 3.816 GB, free: 30.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008898/16.82, allocations: 0.6495 MB / 3.817 GB, free: 30.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/16.82, allocations: 440.9 kB / 3.817 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/16.83, allocations: 1.093 MB / 3.819 GB, free: 29.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004774/16.83, allocations: 223.3 kB / 3.819 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007014/16.83, allocations: 85.83 kB / 3.819 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/16.83, allocations: 5.031 kB / 3.819 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01042/16.84, allocations: 1.551 MB / 3.82 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-05/16.84, allocations: 10.41 kB / 3.82 GB, free: 29.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/16.84, allocations: 92.22 kB / 3.82 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/16.85, allocations: 473.4 kB / 3.821 GB, free: 29.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/16.85, allocations: 1.705 MB / 3.823 GB, free: 28.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/16.86, allocations: 173.8 kB / 3.823 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006272/16.86, allocations: 86.72 kB / 3.823 GB, free: 28.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.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 (163): * Single equations (assignments): 162 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.000721/16.86, allocations: 150.3 kB / 3.823 GB, free: 28.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/16.86, allocations: 130.1 kB / 3.823 GB, free: 28.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/16.87, allocations: 3.695 MB / 3.827 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.926e-05/16.87, allocations: 36.39 kB / 3.827 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/16.87, allocations: 3.562 kB / 3.827 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/16.87, allocations: 7.547 kB / 3.827 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/16.88, allocations: 1.748 MB / 3.828 GB, free: 27.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/16.88, allocations: 0 / 3.828 GB, free: 27.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/16.88, allocations: 178.7 kB / 3.829 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007334/16.89, allocations: 1.813 MB / 3.83 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/16.89, allocations: 18 kB / 3.83 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/16.89, allocations: 1.829 MB / 3.832 GB, free: 27.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/16.89, allocations: 2.406 kB / 3.832 GB, free: 27.06 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009593/16.9, allocations: 2.459 MB / 3.835 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/16.9, allocations: 0.5538 MB / 3.835 GB, free: 26.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000785/16.9, allocations: 4 kB / 3.835 GB, free: 26.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/16.91, allocations: 93.03 kB / 3.835 GB, free: 26.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/16.91, allocations: 76.89 kB / 3.835 GB, free: 26.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/16.91, allocations: 33.22 kB / 3.835 GB, free: 26.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00278/16.91, allocations: 1.041 MB / 3.836 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.332e-06/16.91, allocations: 0 / 3.836 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01185/16.92, allocations: 1.74 MB / 3.838 GB, free: 25.31 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse32.phase,$cse32.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.02375/16.95, allocations: 4.664 MB / 3.843 GB, free: 22.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007556/16.95, allocations: 2.129 MB / 3.845 GB, free: 20.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/16.95, allocations: 0 / 3.845 GB, free: 20.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/16.96, allocations: 0.7896 MB / 3.845 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00623/16.96, allocations: 492 kB / 3.846 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/16.98, allocations: 3.071 MB / 3.849 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/16.98, allocations: 1.472 MB / 3.85 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007475/16.98, allocations: 2.143 MB / 3.852 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/16.99, allocations: 0.7456 MB / 3.853 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of SimCode: time 2.635e-06/16.99, allocations: 0 / 3.853 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7681/17.75, allocations: 69.49 MB / 3.921 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003448/17.76, allocations: 208.1 kB / 3.921 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.51/25.27, allocations: 0 / 3.921 GB, free: 103.3 MB / 0.5573 GB