Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.23e-05, allocations: 7.938 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3952, allocations: 54.85 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.257/8.652, allocations: 2.607 GB / 2.953 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/8.652, allocations: 82.44 kB / 2.953 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.368/12.02, allocations: 0.5677 GB / 3.521 GB, free: 43.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.716e-06/12.02, allocations: 0 / 3.521 GB, free: 43.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001984/12.02, allocations: 41.44 kB / 3.521 GB, free: 43.13 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.01728/12.04, allocations: 2.553 MB / 3.523 GB, free: 42.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.993e-05/12.04, allocations: 9.688 kB / 3.523 GB, free: 42.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/12.05, allocations: 0.8684 MB / 3.524 GB, free: 42.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/12.05, allocations: 1.065 MB / 3.525 GB, free: 41.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/12.05, allocations: 54.23 kB / 3.525 GB, free: 41.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/12.05, allocations: 74.23 kB / 3.525 GB, free: 41.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003581/12.06, allocations: 1.366 MB / 3.527 GB, free: 41.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/12.06, allocations: 1.354 MB / 3.528 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/12.06, allocations: 6.531 kB / 3.528 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/12.06, allocations: 3.625 kB / 3.528 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/12.06, allocations: 30.03 kB / 3.528 GB, free: 41.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.373/13.43, allocations: 231.2 MB / 3.754 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/13.44, allocations: 0.8956 MB / 3.755 GB, free: 78.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/13.44, allocations: 375.5 kB / 3.755 GB, free: 78.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1638/13.6, allocations: 48.04 MB / 3.802 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/13.6, allocations: 43.03 kB / 3.802 GB, free: 49.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001499/13.6, allocations: 122.5 kB / 3.802 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 6.302e-06/13.6, allocations: 0 / 3.802 GB, free: 49.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.01056/13.61, allocations: 1.994 MB / 3.804 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/13.61, allocations: 193.7 kB / 3.804 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/13.61, allocations: 0.8179 MB / 3.805 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003105/13.62, allocations: 25.7 kB / 3.805 GB, free: 48.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/13.62, allocations: 0.6756 MB / 3.806 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/13.62, allocations: 286.5 kB / 3.806 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/13.62, allocations: 0 / 3.806 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001211/13.62, allocations: 362.7 kB / 3.806 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/13.62, allocations: 414.2 kB / 3.807 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/13.62, allocations: 0.8362 MB / 3.808 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006465/13.63, allocations: 0.961 MB / 3.809 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/13.63, allocations: 4.281 kB / 3.809 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.009906/13.64, allocations: 1.945 MB / 3.81 GB, free: 47.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001365/13.64, allocations: 4.971 MB / 3.815 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.673e-05/13.64, allocations: 13.09 kB / 3.815 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006465/13.64, allocations: 0.6502 MB / 3.816 GB, free: 42.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/13.65, allocations: 443.7 kB / 3.816 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/13.65, allocations: 1.085 MB / 3.817 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00376/13.65, allocations: 228.5 kB / 3.818 GB, free: 41.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/13.65, allocations: 93.12 kB / 3.818 GB, free: 41.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/13.65, allocations: 5.281 kB / 3.818 GB, free: 41.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007659/13.66, allocations: 1.541 MB / 3.819 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/13.66, allocations: 16.53 kB / 3.819 GB, free: 41.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/13.66, allocations: 89.52 kB / 3.819 GB, free: 41.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/13.67, allocations: 474.8 kB / 3.82 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00295/13.67, allocations: 1.71 MB / 3.822 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/13.67, allocations: 170.9 kB / 3.822 GB, free: 40.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/13.67, allocations: 88.89 kB / 3.822 GB, free: 40.29 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.000504/13.67, allocations: 156.6 kB / 3.822 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00685/13.68, allocations: 1.251 MB / 3.823 GB, free: 40.05 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/13.68, allocations: 124.1 kB / 3.823 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009334/13.69, allocations: 3.701 MB / 3.827 GB, free: 39.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.334e-05/13.69, allocations: 38.89 kB / 3.827 GB, free: 39.63 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/13.69, allocations: 1.531 kB / 3.827 GB, free: 39.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/13.69, allocations: 10.98 kB / 3.827 GB, free: 39.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/13.69, allocations: 1.746 MB / 3.829 GB, free: 39.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/13.69, allocations: 0 / 3.829 GB, free: 39.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/13.69, allocations: 178.2 kB / 3.829 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/13.7, allocations: 1.819 MB / 3.831 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/13.7, allocations: 14.41 kB / 3.831 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/13.7, allocations: 1.831 MB / 3.832 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/13.7, allocations: 3.375 kB / 3.832 GB, free: 38.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007258/13.71, allocations: 2.451 MB / 3.835 GB, free: 38.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/13.71, allocations: 0.5514 MB / 3.835 GB, free: 38.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/13.71, allocations: 1.422 kB / 3.835 GB, free: 38.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/13.72, allocations: 104.5 kB / 3.835 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/13.72, allocations: 73.5 kB / 3.835 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/13.72, allocations: 33.95 kB / 3.836 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001991/13.72, allocations: 1.041 MB / 3.837 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.61e-07/13.72, allocations: 0 / 3.837 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009548/13.73, allocations: 1.734 MB / 3.838 GB, free: 37.86 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.01896/13.75, allocations: 4.658 MB / 3.843 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00554/13.75, allocations: 2.139 MB / 3.845 GB, free: 36.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/13.75, allocations: 0 / 3.845 GB, free: 36.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/13.75, allocations: 0.7795 MB / 3.846 GB, free: 36.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/13.76, allocations: 495.6 kB / 3.846 GB, free: 36.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/13.77, allocations: 3.08 MB / 3.849 GB, free: 35.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/13.77, allocations: 1.472 MB / 3.851 GB, free: 35.06 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005865/13.78, allocations: 2.14 MB / 3.853 GB, free: 34.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/13.78, allocations: 0.7478 MB / 3.853 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of SimCode: time 1.573e-06/13.78, allocations: 0 / 3.853 GB, free: 34.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7641/14.54, allocations: 67.16 MB / 3.919 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/14.54, allocations: 207.5 kB / 3.919 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.757/20.3, allocations: 0 / 3.919 GB, free: 102.6 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat