Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.484e-05, allocations: 0 / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3668, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.414/8.781, allocations: 2.607 GB / 2.953 GB, free: 123.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/8.781, allocations: 82.3 kB / 2.953 GB, free: 123.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.64/11.42, allocations: 0.4932 GB / 3.446 GB, free: 24.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/11.42, allocations: 0 / 3.446 GB, free: 24.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001042/11.42, allocations: 24 kB / 3.446 GB, free: 24.57 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00954/11.43, allocations: 2.059 MB / 3.448 GB, free: 22.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/11.43, allocations: 12.02 kB / 3.448 GB, free: 22.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009167/11.44, allocations: 0.7218 MB / 3.449 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/11.44, allocations: 0.8475 MB / 3.45 GB, free: 20.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/11.44, allocations: 44 kB / 3.45 GB, free: 20.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/11.44, allocations: 48 kB / 3.45 GB, free: 20.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00244/11.45, allocations: 0.9099 MB / 3.451 GB, free: 19.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/11.45, allocations: 1.082 MB / 3.452 GB, free: 18.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/11.45, allocations: 7.938 kB / 3.452 GB, free: 18.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/11.45, allocations: 4 kB / 3.452 GB, free: 18.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/11.45, allocations: 20 kB / 3.452 GB, free: 18.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.337/12.79, allocations: 201.4 MB / 3.649 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/12.79, allocations: 400.4 kB / 3.649 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/12.79, allocations: 192.6 kB / 3.649 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07749/12.87, allocations: 16.47 MB / 3.665 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/12.87, allocations: 38.31 kB / 3.665 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=43): time 3.938e-06/12.87, allocations: 4 kB / 3.665 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=43): time 0.007574/12.87, allocations: 1.256 MB / 3.666 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/12.87, allocations: 217.6 kB / 3.667 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/12.87, allocations: 0.6551 MB / 3.667 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/12.87, allocations: 25.7 kB / 3.667 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000673/12.88, allocations: 0.5991 MB / 3.668 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/12.88, allocations: 156.4 kB / 3.668 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/12.88, allocations: 4 kB / 3.668 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002663/12.88, allocations: 393.7 kB / 3.668 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/12.88, allocations: 234.7 kB / 3.669 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/12.88, allocations: 0.6434 MB / 3.669 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/12.88, allocations: 0.5583 MB / 3.67 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.272e-05/12.88, allocations: 4 kB / 3.67 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006161/12.89, allocations: 1.143 MB / 3.671 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002363/12.89, allocations: 5.05 MB / 3.676 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.779e-05/12.89, allocations: 20 kB / 3.676 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.899e-05/12.89, allocations: 23.66 kB / 3.676 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/12.89, allocations: 299 kB / 3.676 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.008e-05/12.89, allocations: 34.92 kB / 3.676 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/12.9, allocations: 248.5 kB / 3.676 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/12.9, allocations: 58.25 kB / 3.677 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/12.9, allocations: 4 kB / 3.677 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004624/12.9, allocations: 0.9336 MB / 3.677 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/12.9, allocations: 13 kB / 3.677 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.23e-05/12.9, allocations: 20 kB / 3.677 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/12.9, allocations: 301.4 kB / 3.678 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-05/12.9, allocations: 24.88 kB / 3.678 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/12.91, allocations: 182.6 kB / 3.678 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/12.91, allocations: 61.44 kB / 3.678 GB, free: 2.031 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (127): * Single equations (assignments): 127 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003959/12.91, allocations: 150 kB / 3.678 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004184/12.91, allocations: 0.6413 MB / 3.679 GB, free: 1.484 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/12.91, allocations: 90.88 kB / 3.679 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/12.92, allocations: 1.439 MB / 3.68 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/12.92, allocations: 4 kB / 3.68 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/12.92, allocations: 0 / 3.68 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/12.92, allocations: 11.75 kB / 3.68 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/12.92, allocations: 1.074 MB / 3.681 GB, free: 56 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/12.92, allocations: 0 / 3.681 GB, free: 56 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009931/12.92, allocations: 104.1 kB / 3.681 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-05/12.92, allocations: 6.672 kB / 3.681 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/12.92, allocations: 6.484 kB / 3.681 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.07e-05/12.92, allocations: 2.766 kB / 3.681 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/12.92, allocations: 0.6094 kB / 3.681 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4118/13.33, allocations: 0.6078 MB / 3.682 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/13.33, allocations: 492.2 kB / 3.683 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/13.33, allocations: 3.188 kB / 3.683 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/13.33, allocations: 75.59 kB / 3.683 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/13.33, allocations: 31.23 kB / 3.683 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/13.33, allocations: 13.36 kB / 3.683 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002914/13.34, allocations: 1.087 MB / 3.684 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.253e-06/13.34, allocations: 2.594 kB / 3.684 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008878/13.35, allocations: 1.553 MB / 3.685 GB, free: 120.3 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/13.36, allocations: 2.948 MB / 3.688 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002685/13.36, allocations: 0.9857 MB / 3.689 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/13.36, allocations: 3.938 kB / 3.689 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/13.36, allocations: 141.2 kB / 3.689 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/13.37, allocations: 367.8 kB / 3.69 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008298/13.38, allocations: 1.9 MB / 3.691 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/13.38, allocations: 1.202 MB / 3.693 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005283/13.38, allocations: 1.9 MB / 3.694 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/13.38, allocations: 0.4994 MB / 3.695 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.402e-06/13.38, allocations: 2.562 kB / 3.695 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/13.54, allocations: 51.88 MB / 3.746 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003463/13.54, allocations: 206 kB / 3.746 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.14/18.68, allocations: 0 / 3.746 GB, free: 115.9 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat