Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.261e-05, allocations: 7.234 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.84/8.986, allocations: 2.777 GB / 3.178 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/8.986, allocations: 84.08 kB / 3.178 GB, free: 69.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.67/12.66, allocations: 0.5839 GB / 3.762 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.136e-06/12.66, allocations: 0 / 3.762 GB, free: 49.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002279/12.66, allocations: 32.53 kB / 3.762 GB, free: 49.39 MB / 0.5417 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.01937/12.68, allocations: 2.559 MB / 3.765 GB, free: 48.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/12.68, allocations: 11.38 kB / 3.765 GB, free: 48.29 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007423/12.68, allocations: 169.4 kB / 3.765 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/12.69, allocations: 0.875 MB / 3.766 GB, free: 48.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004554/12.7, allocations: 1.026 MB / 3.767 GB, free: 47.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/12.7, allocations: 97.77 kB / 3.767 GB, free: 47.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005854/12.7, allocations: 116 kB / 3.767 GB, free: 47.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/12.71, allocations: 2.159 MB / 3.769 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.05e-05/12.71, allocations: 3.188 kB / 3.769 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/12.71, allocations: 46.62 kB / 3.769 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/12.71, allocations: 29.34 kB / 3.769 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/12.72, allocations: 1.958 MB / 3.771 GB, free: 47.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/12.75, allocations: 8.716 MB / 3.78 GB, free: 42.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/12.75, allocations: 1.87 MB / 3.781 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/12.76, allocations: 0.5308 MB / 3.782 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07605/12.83, allocations: 24.03 MB / 3.805 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.552e-05/12.83, allocations: 52.45 kB / 3.805 GB, free: 27.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001563/12.83, allocations: 163 kB / 3.806 GB, free: 27.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=108): time 4.658e-06/12.83, allocations: 0 / 3.806 GB, free: 27.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108): time 0.01091/12.84, allocations: 2.463 MB / 3.808 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/12.84, allocations: 195.5 kB / 3.808 GB, free: 26.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/12.85, allocations: 0.8945 MB / 3.809 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003714/12.85, allocations: 54.92 kB / 3.809 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/12.85, allocations: 0.5595 MB / 3.81 GB, free: 26.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/12.85, allocations: 375 kB / 3.81 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/12.85, allocations: 23.94 kB / 3.81 GB, free: 26.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000119/12.85, allocations: 357.1 kB / 3.81 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/12.85, allocations: 455.8 kB / 3.811 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/12.85, allocations: 0.7598 MB / 3.811 GB, free: 24.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/12.85, allocations: 0.5277 MB / 3.812 GB, free: 24.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/12.85, allocations: 3.562 kB / 3.812 GB, free: 24.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004355/12.86, allocations: 1.555 MB / 3.814 GB, free: 24.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007224/12.86, allocations: 3.146 MB / 3.817 GB, free: 20.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/12.86, allocations: 16.47 kB / 3.817 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/12.87, allocations: 1.171 MB / 3.818 GB, free: 20.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/12.87, allocations: 413.1 kB / 3.818 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/12.87, allocations: 0.934 MB / 3.819 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/12.88, allocations: 170.4 kB / 3.819 GB, free: 19.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/12.88, allocations: 78.78 kB / 3.819 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/12.88, allocations: 3.906 kB / 3.819 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003991/12.88, allocations: 1.317 MB / 3.821 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/12.88, allocations: 10.88 kB / 3.821 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/12.88, allocations: 95.97 kB / 3.821 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003378/12.89, allocations: 447.5 kB / 3.821 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/12.89, allocations: 1.758 MB / 3.823 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/12.89, allocations: 169.7 kB / 3.823 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/12.89, allocations: 79.33 kB / 3.823 GB, free: 17.73 MB / 0.5417 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.000524/12.89, allocations: 195 kB / 3.823 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/12.89, allocations: 139.1 kB / 3.823 GB, free: 17.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/12.9, allocations: 6.677 MB / 3.83 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.756e-05/12.9, allocations: 83.3 kB / 3.83 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/12.9, allocations: 3.953 kB / 3.83 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/12.9, allocations: 11.16 kB / 3.83 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/12.92, allocations: 8.576 MB / 3.838 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/12.92, allocations: 0 / 3.838 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/12.92, allocations: 302.3 kB / 3.839 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/12.93, allocations: 2.288 MB / 3.841 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/12.93, allocations: 34.73 kB / 3.841 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/12.93, allocations: 1.615 MB / 3.843 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/12.93, allocations: 3.703 kB / 3.843 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006068/12.94, allocations: 3.51 MB / 3.846 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/12.94, allocations: 0.749 MB / 3.847 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/12.94, allocations: 28 kB / 3.847 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/12.94, allocations: 153.1 kB / 3.847 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/12.94, allocations: 131.5 kB / 3.847 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/12.94, allocations: 51.08 kB / 3.847 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002205/12.95, allocations: 1.185 MB / 3.848 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.02e-07/12.95, allocations: 0 / 3.848 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009058/12.96, allocations: 1.84 MB / 3.85 GB, free: 3.051 MB / 0.5417 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.02035/12.98, allocations: 5.972 MB / 3.856 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008132/12.98, allocations: 2.72 MB / 3.858 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/12.98, allocations: 6 kB / 3.858 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003409/12.99, allocations: 1.529 MB / 3.86 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007474/12.99, allocations: 0.7376 MB / 3.861 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/13.01, allocations: 4.671 MB / 3.865 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/13.01, allocations: 1.784 MB / 3.867 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005726/13.02, allocations: 1.873 MB / 3.869 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002291/13.02, allocations: 1.008 MB / 3.87 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of SimCode: time 1.553e-06/13.02, allocations: 0 / 3.87 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7072/13.73, allocations: 93.65 MB / 3.961 GB, free: 57.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/13.73, allocations: 254.7 kB / 3.962 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/21.25, allocations: 3.812 kB / 3.962 GB, free: 57.15 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat