Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.803/2.803, allocations: 270 MB / 283.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.593e-05, allocations: 4 kB / 348.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 61.88 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.069/9.466, allocations: 2.777 GB / 3.178 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/9.466, allocations: 84.41 kB / 3.178 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.57/12.04, allocations: 0.5072 GB / 3.685 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.235e-06/12.04, allocations: 0 / 3.685 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001798/12.04, allocations: 34.34 kB / 3.685 GB, free: 17.75 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01338/12.05, allocations: 2.05 MB / 3.687 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/12.05, allocations: 12.03 kB / 3.687 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006625/12.05, allocations: 139.6 kB / 3.687 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/12.06, allocations: 0.7234 MB / 3.688 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/12.07, allocations: 0.8011 MB / 3.689 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/12.07, allocations: 78 kB / 3.689 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/12.07, allocations: 88 kB / 3.689 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/12.07, allocations: 1.705 MB / 3.691 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/12.07, allocations: 3.188 kB / 3.691 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/12.07, allocations: 43.94 kB / 3.691 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/12.07, allocations: 24 kB / 3.691 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006086/12.08, allocations: 1.477 MB / 3.692 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/12.09, allocations: 7.559 MB / 3.7 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/12.1, allocations: 1.173 MB / 3.701 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008777/12.1, allocations: 338.5 kB / 3.701 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5029/12.6, allocations: 24.26 MB / 3.725 GB, free: 53.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/12.6, allocations: 48.88 kB / 3.725 GB, free: 53.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 3.657e-06/12.6, allocations: 0 / 3.725 GB, free: 53.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.00859/12.61, allocations: 1.774 MB / 3.727 GB, free: 53.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/12.61, allocations: 217.5 kB / 3.727 GB, free: 52.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/12.61, allocations: 0.7206 MB / 3.727 GB, free: 52.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000219/12.61, allocations: 42.2 kB / 3.728 GB, free: 52.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/12.61, allocations: 480.8 kB / 3.728 GB, free: 52.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/12.61, allocations: 227.9 kB / 3.728 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/12.61, allocations: 19.41 kB / 3.728 GB, free: 52.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001176/12.61, allocations: 341.8 kB / 3.729 GB, free: 52.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/12.61, allocations: 261.9 kB / 3.729 GB, free: 52.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/12.62, allocations: 0.5542 MB / 3.729 GB, free: 51.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/12.62, allocations: 322.4 kB / 3.73 GB, free: 51.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/12.62, allocations: 6.406 kB / 3.73 GB, free: 51.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002539/12.62, allocations: 0.9048 MB / 3.731 GB, free: 51.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006801/12.62, allocations: 3.234 MB / 3.734 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/12.62, allocations: 7.688 kB / 3.734 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.591e-05/12.62, allocations: 13.97 kB / 3.734 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/12.62, allocations: 277.1 kB / 3.734 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.572e-05/12.62, allocations: 16.78 kB / 3.734 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/12.62, allocations: 197.3 kB / 3.734 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/12.62, allocations: 48.08 kB / 3.734 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/12.62, allocations: 3.781 kB / 3.734 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002113/12.63, allocations: 0.779 MB / 3.735 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/12.63, allocations: 9.781 kB / 3.735 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/12.63, allocations: 19.77 kB / 3.735 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/12.63, allocations: 270.8 kB / 3.735 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/12.63, allocations: 14.59 kB / 3.735 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/12.63, allocations: 171.8 kB / 3.735 GB, free: 48.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/12.63, allocations: 49.53 kB / 3.735 GB, free: 48.17 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (109): * Single equations (assignments): 109 * 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.0003264/12.63, allocations: 169.2 kB / 3.736 GB, free: 48.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/12.63, allocations: 113.2 kB / 3.736 GB, free: 48.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/12.64, allocations: 4.869 MB / 3.741 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.952e-05/12.64, allocations: 63.52 kB / 3.741 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/12.64, allocations: 5.141 kB / 3.741 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/12.64, allocations: 8.828 kB / 3.741 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/12.64, allocations: 2.501 MB / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/12.64, allocations: 0 / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/12.64, allocations: 235.4 kB / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/12.64, allocations: 3.938 kB / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.148e-05/12.64, allocations: 22.06 kB / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/12.64, allocations: 6.688 kB / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/12.64, allocations: 0 / 3.743 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/12.65, allocations: 2.127 MB / 3.745 GB, free: 46.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/12.65, allocations: 0.6941 MB / 3.746 GB, free: 46.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/12.65, allocations: 25.45 kB / 3.746 GB, free: 46.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/12.65, allocations: 107.7 kB / 3.746 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/12.65, allocations: 80.03 kB / 3.746 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/12.65, allocations: 32.97 kB / 3.746 GB, free: 46.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002144/12.65, allocations: 1.166 MB / 3.747 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/12.65, allocations: 0 / 3.747 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008202/12.66, allocations: 1.625 MB / 3.749 GB, free: 46.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.0142/12.67, allocations: 4.394 MB / 3.753 GB, free: 45.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003766/12.68, allocations: 1.659 MB / 3.755 GB, free: 45.06 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/12.68, allocations: 0 / 3.755 GB, free: 45.06 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/12.68, allocations: 1.03 MB / 3.756 GB, free: 45.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005783/12.69, allocations: 0.5956 MB / 3.757 GB, free: 45.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/12.7, allocations: 3.753 MB / 3.76 GB, free: 44.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/12.7, allocations: 1.572 MB / 3.762 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004365/12.7, allocations: 1.633 MB / 3.763 GB, free: 43.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/12.7, allocations: 0.7951 MB / 3.764 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/12.7, allocations: 0 / 3.764 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/12.89, allocations: 78.22 MB / 3.84 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/12.89, allocations: 214.5 kB / 3.841 GB, free: 39.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/19.65, allocations: 3.125 kB / 3.841 GB, free: 39.51 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat