Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.993e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4405, allocations: 54.86 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.964/8.405, allocations: 2.608 GB / 2.959 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/8.405, allocations: 84.5 kB / 2.959 GB, free: 112.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.439/11.84, allocations: 0.632 GB / 3.591 GB, free: 37.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.866e-06/11.84, allocations: 3.531 kB / 3.591 GB, free: 37.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001885/11.84, allocations: 41.53 kB / 3.591 GB, free: 37.48 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01406/11.86, allocations: 2.425 MB / 3.593 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/11.86, allocations: 13.5 kB / 3.593 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006655/11.86, allocations: 172.5 kB / 3.594 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/11.88, allocations: 0.9578 MB / 3.595 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004546/11.88, allocations: 1.07 MB / 3.596 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002385/11.88, allocations: 105.1 kB / 3.596 GB, free: 35.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004106/11.88, allocations: 111.6 kB / 3.596 GB, free: 35.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/11.89, allocations: 2.253 MB / 3.598 GB, free: 35.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/11.89, allocations: 6.938 kB / 3.598 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/11.89, allocations: 64.44 kB / 3.598 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/11.89, allocations: 33.25 kB / 3.598 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008389/11.9, allocations: 1.968 MB / 3.6 GB, free: 35.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/11.92, allocations: 10.07 MB / 3.61 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008657/11.93, allocations: 1.477 MB / 3.611 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/11.93, allocations: 380.7 kB / 3.612 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07954/12.01, allocations: 17.14 MB / 3.628 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/12.01, allocations: 43 kB / 3.628 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 3.717e-06/12.01, allocations: 0 / 3.628 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.00974/12.02, allocations: 2.213 MB / 3.631 GB, free: 19.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/12.02, allocations: 269.2 kB / 3.631 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/12.03, allocations: 0.817 MB / 3.632 GB, free: 18.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/12.03, allocations: 40.8 kB / 3.632 GB, free: 18.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/12.03, allocations: 0.6856 MB / 3.632 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/12.03, allocations: 275.2 kB / 3.633 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/12.03, allocations: 30.59 kB / 3.633 GB, free: 18.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/12.03, allocations: 355.5 kB / 3.633 GB, free: 17.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/12.03, allocations: 334.6 kB / 3.633 GB, free: 17.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/12.03, allocations: 0.9251 MB / 3.634 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/12.03, allocations: 471.7 kB / 3.635 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/12.03, allocations: 3.875 kB / 3.635 GB, free: 17.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003553/12.03, allocations: 1.332 MB / 3.636 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003427/12.04, allocations: 7.324 MB / 3.643 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-05/12.04, allocations: 19.16 kB / 3.643 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.81e-05/12.04, allocations: 29 kB / 3.643 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/12.04, allocations: 398.8 kB / 3.644 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-05/12.04, allocations: 38.11 kB / 3.644 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/12.04, allocations: 268.3 kB / 3.644 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/12.04, allocations: 84.48 kB / 3.644 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/12.04, allocations: 4.531 kB / 3.644 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002999/12.05, allocations: 1.176 MB / 3.645 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/12.05, allocations: 18.66 kB / 3.645 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/12.05, allocations: 30.84 kB / 3.645 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/12.05, allocations: 393.2 kB / 3.645 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.865e-05/12.05, allocations: 42.73 kB / 3.646 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/12.05, allocations: 216.2 kB / 3.646 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/12.05, allocations: 81.16 kB / 3.646 GB, free: 23.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.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 (167): * Single equations (assignments): 167 * 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.0004834/12.05, allocations: 203.4 kB / 3.646 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/12.05, allocations: 123.6 kB / 3.646 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008687/12.06, allocations: 5.756 MB / 3.652 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-05/12.06, allocations: 84.06 kB / 3.652 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/12.06, allocations: 0 / 3.652 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/12.06, allocations: 3.75 kB / 3.652 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/12.07, allocations: 2.774 MB / 3.655 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/12.07, allocations: 0 / 3.655 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/12.07, allocations: 260.4 kB / 3.655 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/12.07, allocations: 9.828 kB / 3.655 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/12.07, allocations: 22.62 kB / 3.655 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/12.07, allocations: 6.438 kB / 3.655 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/12.07, allocations: 0 / 3.655 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003955/12.07, allocations: 2.623 MB / 3.657 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/12.07, allocations: 0.5318 MB / 3.658 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/12.07, allocations: 19.88 kB / 3.658 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/12.07, allocations: 125.5 kB / 3.658 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/12.07, allocations: 85.03 kB / 3.658 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/12.07, allocations: 35.62 kB / 3.658 GB, free: 17.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001411/12.08, allocations: 0.709 MB / 3.659 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/12.08, allocations: 3.938 kB / 3.659 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008159/12.08, allocations: 1.72 MB / 3.661 GB, free: 17.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01476/12.1, allocations: 5.04 MB / 3.665 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004784/12.1, allocations: 2.266 MB / 3.668 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/12.1, allocations: 0 / 3.668 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/12.11, allocations: 1.332 MB / 3.669 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00536/12.11, allocations: 0.5823 MB / 3.67 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8525/12.96, allocations: 126.1 MB / 3.793 GB, free: 41.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/12.96, allocations: 1.656 MB / 3.794 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005433/12.97, allocations: 2.016 MB / 3.796 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/12.97, allocations: 0.8617 MB / 3.797 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/12.97, allocations: 0 / 3.797 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/13.19, allocations: 83.06 MB / 3.878 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003661/13.19, allocations: 216.6 kB / 3.878 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/19.75, allocations: 3.938 kB / 3.878 GB, free: 1.34 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat