Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 270 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.17e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1559, allocations: 61.9 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.983/9.138, allocations: 2.777 GB / 3.178 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/9.139, allocations: 82.58 kB / 3.178 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.718/12.86, allocations: 0.6439 GB / 3.822 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.823e-06/12.86, allocations: 0 / 3.822 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001278/12.86, allocations: 41.38 kB / 3.822 GB, free: 38.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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01071/12.87, allocations: 2.435 MB / 3.824 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/12.87, allocations: 15.03 kB / 3.824 GB, free: 37.05 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004717/12.87, allocations: 172.6 kB / 3.825 GB, free: 36.94 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/12.88, allocations: 0.9575 MB / 3.826 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/12.88, allocations: 1.003 MB / 3.826 GB, free: 36.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/12.88, allocations: 103.5 kB / 3.827 GB, free: 36.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/12.88, allocations: 119.4 kB / 3.827 GB, free: 36.13 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007501/12.89, allocations: 2.235 MB / 3.829 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/12.89, allocations: 7.844 kB / 3.829 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002431/12.89, allocations: 62.34 kB / 3.829 GB, free: 35.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/12.89, allocations: 33.66 kB / 3.829 GB, free: 35.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007167/12.9, allocations: 1.95 MB / 3.831 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/12.92, allocations: 10.35 MB / 3.841 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00633/12.92, allocations: 1.543 MB / 3.843 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/12.92, allocations: 430.7 kB / 3.843 GB, free: 25.06 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07485/13, allocations: 24.01 MB / 3.866 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/13, allocations: 47.34 kB / 3.866 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.527e-06/13, allocations: 0 / 3.866 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.01148/13.01, allocations: 2.309 MB / 3.869 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/13.01, allocations: 269.8 kB / 3.869 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/13.01, allocations: 0.9846 MB / 3.87 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002613/13.01, allocations: 45.7 kB / 3.87 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/13.01, allocations: 0.6158 MB / 3.871 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/13.02, allocations: 275.6 kB / 3.871 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/13.02, allocations: 24 kB / 3.871 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001788/13.02, allocations: 349.9 kB / 3.871 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/13.02, allocations: 346.5 kB / 3.871 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/13.02, allocations: 0.763 MB / 3.872 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/13.02, allocations: 441.8 kB / 3.873 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/13.02, allocations: 4 kB / 3.873 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003773/13.02, allocations: 1.202 MB / 3.874 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002204/13.03, allocations: 4.911 MB / 3.879 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/13.03, allocations: 15.94 kB / 3.879 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.556e-05/13.03, allocations: 24 kB / 3.879 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/13.03, allocations: 355.5 kB / 3.879 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.614e-05/13.03, allocations: 27.86 kB / 3.879 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/13.03, allocations: 270.1 kB / 3.879 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/13.03, allocations: 75.97 kB / 3.879 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/13.03, allocations: 11.95 kB / 3.879 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4335/13.47, allocations: 1.023 MB / 3.88 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-05/13.47, allocations: 16.53 kB / 3.88 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.378e-05/13.47, allocations: 20.38 kB / 3.88 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/13.47, allocations: 356.2 kB / 3.881 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001223/13.47, allocations: 26.8 kB / 3.881 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/13.47, allocations: 232.1 kB / 3.881 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006766/13.48, allocations: 70.66 kB / 3.881 GB, free: 61.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (143): * Single equations (assignments): 143 * 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.0008443/13.48, allocations: 185.9 kB / 3.881 GB, free: 61.46 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000913/13.48, allocations: 143.7 kB / 3.881 GB, free: 61.46 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/13.49, allocations: 6.405 MB / 3.888 GB, free: 60.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001345/13.49, allocations: 85.33 kB / 3.888 GB, free: 60.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/13.49, allocations: 1.594 kB / 3.888 GB, free: 60.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.841e-05/13.49, allocations: 8.984 kB / 3.888 GB, free: 60.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007094/13.5, allocations: 3.257 MB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/13.5, allocations: 6.812 kB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/13.5, allocations: 273.8 kB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.277e-05/13.5, allocations: 3.688 kB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/13.5, allocations: 28.88 kB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/13.5, allocations: 4.062 kB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/13.5, allocations: 1 kB / 3.891 GB, free: 60.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/13.51, allocations: 2.74 MB / 3.894 GB, free: 59.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/13.51, allocations: 0.8999 MB / 3.895 GB, free: 59.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008699/13.51, allocations: 20.38 kB / 3.895 GB, free: 59.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/13.51, allocations: 133.9 kB / 3.895 GB, free: 59.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/13.51, allocations: 105.5 kB / 3.895 GB, free: 59.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/13.51, allocations: 38.94 kB / 3.895 GB, free: 59.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004338/13.52, allocations: 1.564 MB / 3.897 GB, free: 59.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.944e-06/13.52, allocations: 0 / 3.897 GB, free: 59.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0109/13.53, allocations: 1.842 MB / 3.898 GB, free: 59.33 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: 56 ($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,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.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.01782/13.55, allocations: 5.164 MB / 3.903 GB, free: 58.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005346/13.55, allocations: 2.169 MB / 3.906 GB, free: 58.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/13.55, allocations: 3.625 kB / 3.906 GB, free: 58.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/13.55, allocations: 1.337 MB / 3.907 GB, free: 58.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007999/13.56, allocations: 0.8028 MB / 3.908 GB, free: 58.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/13.58, allocations: 4.86 MB / 3.912 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/13.58, allocations: 1.86 MB / 3.914 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005883/13.59, allocations: 2.178 MB / 3.916 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/13.59, allocations: 1.085 MB / 3.917 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.573e-06/13.59, allocations: 0 / 3.917 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/13.8, allocations: 95.79 MB / 4.011 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/13.8, allocations: 212.4 kB / 4.011 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/21.53, allocations: 7.375 kB / 4.011 GB, free: 50.89 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat