Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.684/2.684, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.835e-05/3.852e-05, allocations: 7.984 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.136, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.74/8.876, allocations: 2.778 GB / 3.179 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/8.876, allocations: 85.39 kB / 3.179 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.868/12.74, allocations: 0.6442 GB / 3.823 GB, free: 37.95 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/12.74, allocations: 0 / 3.823 GB, free: 37.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001299/12.74, allocations: 39.67 kB / 3.823 GB, free: 37.94 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.01113/12.76, allocations: 2.449 MB / 3.825 GB, free: 36.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/12.76, allocations: 8.625 kB / 3.825 GB, free: 36.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005606/12.76, allocations: 181.5 kB / 3.825 GB, free: 36.49 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/12.77, allocations: 0.9585 MB / 3.826 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/12.77, allocations: 0.994 MB / 3.827 GB, free: 35.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/12.77, allocations: 99.5 kB / 3.827 GB, free: 35.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/12.77, allocations: 117.7 kB / 3.828 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/12.78, allocations: 2.249 MB / 3.83 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/12.78, allocations: 7.875 kB / 3.83 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/12.78, allocations: 55.59 kB / 3.83 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/12.78, allocations: 31.75 kB / 3.83 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007583/12.79, allocations: 1.954 MB / 3.832 GB, free: 34.08 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/12.81, allocations: 10.01 MB / 3.842 GB, free: 25.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/12.82, allocations: 1.568 MB / 3.843 GB, free: 24.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/12.82, allocations: 450.2 kB / 3.843 GB, free: 24.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09677/12.92, allocations: 26.09 MB / 3.869 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/12.92, allocations: 55.3 kB / 3.869 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=88): time 4.108e-06/12.92, allocations: 0 / 3.869 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88): time 0.0122/12.93, allocations: 2.356 MB / 3.871 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/12.93, allocations: 265.8 kB / 3.872 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/12.93, allocations: 0.9073 MB / 3.872 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005878/12.93, allocations: 45.7 kB / 3.873 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/12.94, allocations: 0.6063 MB / 3.873 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008288/12.94, allocations: 307.2 kB / 3.873 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/12.94, allocations: 20 kB / 3.873 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002147/12.94, allocations: 345.9 kB / 3.874 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/12.94, allocations: 346.5 kB / 3.874 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/12.94, allocations: 0.7305 MB / 3.875 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/12.94, allocations: 432.1 kB / 3.875 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/12.94, allocations: 4 kB / 3.875 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004198/12.95, allocations: 1.186 MB / 3.876 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.4629/13.41, allocations: 4.468 MB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-05/13.41, allocations: 11.22 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-05/13.41, allocations: 19.38 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/13.41, allocations: 353.1 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.073e-05/13.41, allocations: 24.03 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/13.42, allocations: 243.3 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/13.42, allocations: 68.44 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/13.42, allocations: 4.594 kB / 3.881 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005834/13.43, allocations: 1.023 MB / 3.882 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.554e-05/13.43, allocations: 14.25 kB / 3.882 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.904e-05/13.43, allocations: 18.66 kB / 3.882 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/13.43, allocations: 349.2 kB / 3.883 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.277e-05/13.43, allocations: 25.47 kB / 3.883 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/13.43, allocations: 227.2 kB / 3.883 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/13.43, allocations: 67.31 kB / 3.883 GB, free: 61.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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.0007434/13.44, allocations: 188.2 kB / 3.883 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007539/13.44, allocations: 141.7 kB / 3.883 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/13.45, allocations: 6.467 MB / 3.89 GB, free: 60.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000195/13.45, allocations: 86.69 kB / 3.89 GB, free: 60.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/13.45, allocations: 2.672 kB / 3.89 GB, free: 60.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.258e-05/13.46, allocations: 9.953 kB / 3.89 GB, free: 60.56 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/13.47, allocations: 3.285 MB / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/13.47, allocations: 2.219 kB / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/13.47, allocations: 311 kB / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.337e-05/13.47, allocations: 3.906 kB / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/13.47, allocations: 25.22 kB / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/13.47, allocations: 6.875 kB / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/13.47, allocations: 0 / 3.893 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009125/13.48, allocations: 2.788 MB / 3.896 GB, free: 59.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003461/13.48, allocations: 0.9016 MB / 3.897 GB, free: 59.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/13.48, allocations: 21.66 kB / 3.897 GB, free: 59.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004521/13.49, allocations: 147.1 kB / 3.897 GB, free: 59.28 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/13.49, allocations: 109.1 kB / 3.897 GB, free: 59.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/13.49, allocations: 47.95 kB / 3.897 GB, free: 59.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006461/13.5, allocations: 1.507 MB / 3.899 GB, free: 59.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.093e-06/13.5, allocations: 3.656 kB / 3.899 GB, free: 59.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0138/13.51, allocations: 1.824 MB / 3.901 GB, free: 59.03 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 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse51.phase,$cse51.region,$cse55.phase,$cse55.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * 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.02148/13.53, allocations: 5.235 MB / 3.906 GB, free: 57.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005866/13.54, allocations: 2.18 MB / 3.908 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/13.54, allocations: 3.5 kB / 3.908 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002607/13.54, allocations: 1.367 MB / 3.909 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008209/13.55, allocations: 0.7873 MB / 3.91 GB, free: 57.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/13.56, allocations: 4.901 MB / 3.915 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/13.57, allocations: 1.864 MB / 3.916 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005799/13.57, allocations: 2.176 MB / 3.919 GB, free: 56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/13.57, allocations: 1.096 MB / 3.92 GB, free: 56 MB / 0.5573 GB Notification: Performance of SimCode: time 2.985e-06/13.57, allocations: 0 / 3.92 GB, free: 56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.252/13.83, allocations: 95.58 MB / 4.013 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/13.83, allocations: 211.4 kB / 4.013 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/21.86, allocations: 9.938 kB / 4.013 GB, free: 49.49 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat