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 2.493/2.493, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.584e-05/2.596e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3722, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.299/8.671, allocations: 2.607 GB / 2.953 GB, free: 123.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/8.671, allocations: 85.39 kB / 2.953 GB, free: 123.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.453/12.12, allocations: 0.5677 GB / 3.521 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.943e-06/12.12, allocations: 0 / 3.521 GB, free: 44.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001261/12.12, allocations: 39.52 kB / 3.521 GB, free: 44.77 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.01461/12.14, allocations: 2.56 MB / 3.523 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/12.14, allocations: 9.344 kB / 3.523 GB, free: 43.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/12.15, allocations: 0.8638 MB / 3.524 GB, free: 43.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/12.15, allocations: 1.067 MB / 3.525 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/12.15, allocations: 53.62 kB / 3.525 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/12.15, allocations: 67.75 kB / 3.525 GB, free: 43.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003937/12.16, allocations: 1.374 MB / 3.527 GB, free: 43.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/12.16, allocations: 1.354 MB / 3.528 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/12.16, allocations: 5.406 kB / 3.528 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/12.16, allocations: 6.312 kB / 3.528 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/12.16, allocations: 30.56 kB / 3.528 GB, free: 42.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.445/13.61, allocations: 231.2 MB / 3.754 GB, free: 50.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/13.61, allocations: 0.897 MB / 3.755 GB, free: 50.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009658/13.61, allocations: 381.4 kB / 3.755 GB, free: 50.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.213/13.82, allocations: 48.04 MB / 3.802 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/13.82, allocations: 41.91 kB / 3.802 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001489/13.83, allocations: 119.5 kB / 3.802 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 5.15e-06/13.83, allocations: 2.531 kB / 3.802 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.01162/13.84, allocations: 1.994 MB / 3.804 GB, free: 21.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/13.84, allocations: 191.8 kB / 3.804 GB, free: 20.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/13.84, allocations: 0.8185 MB / 3.805 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/13.84, allocations: 25.7 kB / 3.805 GB, free: 20.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/13.84, allocations: 0.6757 MB / 3.806 GB, free: 20.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/13.84, allocations: 284.9 kB / 3.806 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/13.84, allocations: 0 / 3.806 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001415/13.84, allocations: 362.3 kB / 3.807 GB, free: 20.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/13.84, allocations: 421.3 kB / 3.807 GB, free: 20.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/13.84, allocations: 0.8385 MB / 3.808 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00732/13.85, allocations: 0.9574 MB / 3.809 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/13.85, allocations: 3.188 kB / 3.809 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.01065/13.86, allocations: 1.939 MB / 3.811 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002287/13.86, allocations: 4.976 MB / 3.815 GB, free: 30.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/13.86, allocations: 10.91 kB / 3.815 GB, free: 30.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007414/13.87, allocations: 0.6509 MB / 3.816 GB, free: 30.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/13.88, allocations: 437.4 kB / 3.817 GB, free: 30.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/13.88, allocations: 1.096 MB / 3.818 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/13.88, allocations: 223.8 kB / 3.818 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/13.88, allocations: 89.36 kB / 3.818 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/13.88, allocations: 3.781 kB / 3.818 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007821/13.89, allocations: 1.546 MB / 3.819 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/13.89, allocations: 14.44 kB / 3.819 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/13.89, allocations: 91.06 kB / 3.819 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/13.9, allocations: 472.9 kB / 3.82 GB, free: 29.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/13.9, allocations: 1.71 MB / 3.822 GB, free: 28.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/13.9, allocations: 177.6 kB / 3.822 GB, free: 28.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/13.9, allocations: 92.11 kB / 3.822 GB, free: 28.13 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.0005119/13.9, allocations: 147.3 kB / 3.822 GB, free: 28.02 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007641/13.91, allocations: 1.257 MB / 3.823 GB, free: 27.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/13.91, allocations: 127.2 kB / 3.823 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/13.92, allocations: 3.686 MB / 3.827 GB, free: 27.51 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/13.92, allocations: 40.56 kB / 3.827 GB, free: 27.51 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/13.92, allocations: 0 / 3.827 GB, free: 27.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/13.92, allocations: 6.469 kB / 3.827 GB, free: 27.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/13.92, allocations: 1.754 MB / 3.829 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/13.92, allocations: 6.484 kB / 3.829 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/13.93, allocations: 174 kB / 3.829 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006304/13.93, allocations: 1.817 MB / 3.831 GB, free: 27.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/13.93, allocations: 24 kB / 3.831 GB, free: 27.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/13.94, allocations: 1.817 MB / 3.832 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/13.94, allocations: 0 / 3.832 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007795/13.94, allocations: 2.457 MB / 3.835 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/13.95, allocations: 0.5486 MB / 3.835 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/13.95, allocations: 3.844 kB / 3.835 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/13.95, allocations: 108 kB / 3.836 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/13.95, allocations: 70.45 kB / 3.836 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/13.95, allocations: 40.16 kB / 3.836 GB, free: 25.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002263/13.95, allocations: 1.032 MB / 3.837 GB, free: 25.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/13.95, allocations: 0 / 3.837 GB, free: 25.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009692/13.96, allocations: 1.734 MB / 3.838 GB, free: 24.35 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.02045/13.98, allocations: 4.664 MB / 3.843 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006217/13.99, allocations: 2.139 MB / 3.845 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/13.99, allocations: 0 / 3.845 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/13.99, allocations: 0.778 MB / 3.846 GB, free: 19.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005554/14, allocations: 496.8 kB / 3.846 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/14.01, allocations: 3.081 MB / 3.849 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/14.01, allocations: 1.469 MB / 3.851 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006517/14.02, allocations: 2.147 MB / 3.853 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/14.02, allocations: 0.746 MB / 3.853 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of SimCode: time 1.392e-06/14.02, allocations: 4 kB / 3.853 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6613/14.68, allocations: 68.34 MB / 3.92 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003039/14.68, allocations: 205.8 kB / 3.92 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.036/20.72, allocations: 1.781 kB / 3.92 GB, free: 103.1 MB / 0.5573 GB