Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.912e-05/4.929e-05, allocations: 7.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4292, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.393/8.822, allocations: 2.772 GB / 3.146 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/8.823, allocations: 82.36 kB / 3.146 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.418/12.24, allocations: 0.5774 GB / 3.723 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.066e-06/12.24, allocations: 3.344 kB / 3.723 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001872/12.24, allocations: 44.86 kB / 3.723 GB, free: 49.02 MB / 0.5261 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.01621/12.26, allocations: 2.545 MB / 3.726 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/12.26, allocations: 11.12 kB / 3.726 GB, free: 48.09 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000675/12.26, allocations: 168.4 kB / 3.726 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/12.27, allocations: 0.8685 MB / 3.727 GB, free: 47.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/12.27, allocations: 1.03 MB / 3.728 GB, free: 47.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/12.27, allocations: 96.2 kB / 3.728 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/12.27, allocations: 123 kB / 3.728 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007756/12.28, allocations: 2.158 MB / 3.73 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/12.28, allocations: 8.469 kB / 3.73 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/12.28, allocations: 50.34 kB / 3.73 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/12.28, allocations: 26.22 kB / 3.73 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007449/12.29, allocations: 1.95 MB / 3.732 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/12.31, allocations: 8.727 MB / 3.74 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00804/12.32, allocations: 1.873 MB / 3.742 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/12.32, allocations: 0.5384 MB / 3.743 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07714/12.39, allocations: 24.02 MB / 3.766 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/12.39, allocations: 42.97 kB / 3.766 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00155/12.4, allocations: 161.8 kB / 3.766 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=108): time 5.21e-06/12.4, allocations: 0 / 3.766 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108): time 0.0112/12.41, allocations: 2.459 MB / 3.769 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/12.41, allocations: 192.5 kB / 3.769 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/12.41, allocations: 0.9023 MB / 3.77 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/12.41, allocations: 47.05 kB / 3.77 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/12.41, allocations: 0.5592 MB / 3.771 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/12.41, allocations: 372.7 kB / 3.771 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/12.41, allocations: 32.38 kB / 3.771 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001114/12.41, allocations: 360.3 kB / 3.771 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/12.41, allocations: 457.5 kB / 3.772 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/12.41, allocations: 0.7658 MB / 3.772 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/12.42, allocations: 0.521 MB / 3.773 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/12.42, allocations: 3.312 kB / 3.773 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006464/12.42, allocations: 1.553 MB / 3.774 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001945/12.42, allocations: 3.147 MB / 3.778 GB, free: 38.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/12.43, allocations: 7.594 kB / 3.778 GB, free: 38.02 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02982/12.45, allocations: 1.172 MB / 3.779 GB, free: 37.97 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00835/12.46, allocations: 427.7 kB / 3.779 GB, free: 37.96 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/12.47, allocations: 0.9263 MB / 3.78 GB, free: 37.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/12.48, allocations: 182 kB / 3.78 GB, free: 37.41 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004768/12.48, allocations: 78.44 kB / 3.78 GB, free: 37.41 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/12.48, allocations: 0.9375 kB / 3.78 GB, free: 37.41 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009807/12.49, allocations: 1.322 MB / 3.782 GB, free: 37.36 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/12.49, allocations: 7.094 kB / 3.782 GB, free: 37.36 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/12.49, allocations: 85.14 kB / 3.782 GB, free: 37.35 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/12.49, allocations: 456 kB / 3.782 GB, free: 37.34 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/12.5, allocations: 1.758 MB / 3.784 GB, free: 35.96 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/12.5, allocations: 171.5 kB / 3.784 GB, free: 35.94 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/12.5, allocations: 79.33 kB / 3.784 GB, free: 35.94 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (148): * Single equations (assignments): 147 * 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.0006095/12.5, allocations: 181.5 kB / 3.784 GB, free: 35.83 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/12.5, allocations: 138.8 kB / 3.784 GB, free: 35.76 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/12.51, allocations: 6.695 MB / 3.791 GB, free: 35.02 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-05/12.51, allocations: 79.64 kB / 3.791 GB, free: 35.02 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/12.51, allocations: 0 / 3.791 GB, free: 35.02 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/12.51, allocations: 7.5 kB / 3.791 GB, free: 35.02 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/12.53, allocations: 8.564 MB / 3.799 GB, free: 34.35 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/12.53, allocations: 0 / 3.799 GB, free: 34.35 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/12.53, allocations: 298.6 kB / 3.8 GB, free: 34.34 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/12.54, allocations: 2.295 MB / 3.802 GB, free: 34.27 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/12.54, allocations: 41.47 kB / 3.802 GB, free: 34.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/12.54, allocations: 1.617 MB / 3.803 GB, free: 33.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/12.54, allocations: 3.953 kB / 3.803 GB, free: 33.7 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006621/12.55, allocations: 3.507 MB / 3.807 GB, free: 33.17 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/12.55, allocations: 0.7519 MB / 3.808 GB, free: 32.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007037/12.55, allocations: 27.06 kB / 3.808 GB, free: 32.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/12.56, allocations: 154.5 kB / 3.808 GB, free: 32.8 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/12.56, allocations: 122 kB / 3.808 GB, free: 32.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/12.56, allocations: 53.34 kB / 3.808 GB, free: 32.8 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00248/12.56, allocations: 1.181 MB / 3.809 GB, free: 32.64 MB / 0.5418 GB Notification: Performance of sort global known variables: time 6.31e-07/12.56, allocations: 4 kB / 3.809 GB, free: 32.63 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01028/12.57, allocations: 1.845 MB / 3.811 GB, free: 32.43 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 51 ($cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse63.phase,$cse63.region,$cse67.phase,$cse67.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.0194/12.59, allocations: 5.886 MB / 3.817 GB, free: 30.92 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.006656/12.6, allocations: 2.724 MB / 3.819 GB, free: 30.76 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/12.6, allocations: 0 / 3.819 GB, free: 30.76 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/12.6, allocations: 1.537 MB / 3.821 GB, free: 30.74 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006904/12.61, allocations: 0.7322 MB / 3.822 GB, free: 30.68 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/12.62, allocations: 4.683 MB / 3.826 GB, free: 29.54 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/12.62, allocations: 1.785 MB / 3.828 GB, free: 28.76 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004949/12.63, allocations: 1.868 MB / 3.83 GB, free: 28.69 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/12.63, allocations: 1.008 MB / 3.831 GB, free: 28.68 MB / 0.5418 GB Notification: Performance of SimCode: time 1.593e-06/12.63, allocations: 0 / 3.831 GB, free: 28.68 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.698/13.33, allocations: 93.59 MB / 3.922 GB, free: 71.76 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/13.33, allocations: 254.4 kB / 3.922 GB, free: 71.42 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/20.57, allocations: 0 / 3.922 GB, free: 71.42 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat