Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.27e-05/4.279e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.654/7.777, allocations: 2.477 GB / 2.791 GB, free: 90.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/7.777, allocations: 83.27 kB / 2.791 GB, free: 90.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/8.851, allocations: 211.6 MB / 2.998 GB, free: 44.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.552e-06/8.851, allocations: 0 / 2.998 GB, free: 44.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.075e-05/8.851, allocations: 8 kB / 2.998 GB, free: 44.69 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005516/8.856, allocations: 1.167 MB / 2.999 GB, free: 43.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/8.857, allocations: 12.03 kB / 2.999 GB, free: 43.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/8.857, allocations: 66.53 kB / 2.999 GB, free: 43.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/8.859, allocations: 215.5 kB / 2.999 GB, free: 43.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/8.86, allocations: 382.7 kB / 2.999 GB, free: 42.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/8.86, allocations: 24.5 kB / 3 GB, free: 42.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/8.86, allocations: 35.94 kB / 3 GB, free: 42.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/8.862, allocations: 0.5712 MB / 3 GB, free: 42.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/8.863, allocations: 4 kB / 3 GB, free: 42.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/8.863, allocations: 16 kB / 3 GB, free: 42.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/8.863, allocations: 15.92 kB / 3 GB, free: 42.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/8.864, allocations: 488.6 kB / 3.001 GB, free: 41.61 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/8.868, allocations: 2.537 MB / 3.003 GB, free: 38.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/8.87, allocations: 410.2 kB / 3.003 GB, free: 38.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/8.87, allocations: 132.6 kB / 3.004 GB, free: 38.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5203/9.391, allocations: 51.57 MB / 3.054 GB, free: 74.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/9.391, allocations: 37.8 kB / 3.054 GB, free: 74.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/9.391, allocations: 0 / 3.054 GB, free: 74.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.003098/9.394, allocations: 0.6096 MB / 3.055 GB, free: 74.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/9.394, allocations: 111 kB / 3.055 GB, free: 74.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/9.395, allocations: 255.1 kB / 3.055 GB, free: 74.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/9.395, allocations: 31.86 kB / 3.055 GB, free: 74.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/9.395, allocations: 218.7 kB / 3.055 GB, free: 74.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/9.395, allocations: 84.66 kB / 3.055 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/9.395, allocations: 7.688 kB / 3.055 GB, free: 74.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/9.395, allocations: 339.4 kB / 3.056 GB, free: 74.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/9.395, allocations: 90.89 kB / 3.056 GB, free: 74.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/9.396, allocations: 214.9 kB / 3.056 GB, free: 73.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/9.396, allocations: 121.5 kB / 3.056 GB, free: 73.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/9.396, allocations: 1.188 kB / 3.056 GB, free: 73.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001019/9.397, allocations: 349.5 kB / 3.056 GB, free: 73.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/9.397, allocations: 7 kB / 3.056 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/9.397, allocations: 5.781 kB / 3.056 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/9.397, allocations: 9.812 kB / 3.056 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/9.398, allocations: 109.2 kB / 3.056 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/9.398, allocations: 10.64 kB / 3.056 GB, free: 73.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/9.399, allocations: 74.75 kB / 3.057 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/9.399, allocations: 18.23 kB / 3.057 GB, free: 73.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001456/9.399, allocations: 127.1 kB / 3.057 GB, free: 73.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/9.399, allocations: 31.44 kB / 3.057 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/9.403, allocations: 1.842 MB / 3.059 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/9.403, allocations: 35.08 kB / 3.059 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/9.403, allocations: 1.375 kB / 3.059 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/9.403, allocations: 5.438 kB / 3.059 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/9.404, allocations: 0.9772 MB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/9.404, allocations: 1.375 kB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/9.405, allocations: 86.89 kB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/9.405, allocations: 2.562 kB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/9.405, allocations: 12.72 kB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/9.405, allocations: 1.469 kB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/9.405, allocations: 5.406 kB / 3.06 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/9.407, allocations: 0.9695 MB / 3.061 GB, free: 73.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/9.407, allocations: 216 kB / 3.061 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/9.407, allocations: 6.25 kB / 3.061 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/9.408, allocations: 53.38 kB / 3.061 GB, free: 72.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/9.408, allocations: 29.89 kB / 3.061 GB, free: 72.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/9.408, allocations: 15.33 kB / 3.061 GB, free: 72.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004486/9.408, allocations: 259.3 kB / 3.061 GB, free: 72.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.408, allocations: 0.9375 kB / 3.061 GB, free: 72.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005738/9.414, allocations: 0.9983 MB / 3.062 GB, free: 72.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01239/9.427, allocations: 2.808 MB / 3.065 GB, free: 72.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/9.428, allocations: 0.5028 MB / 3.065 GB, free: 72 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/9.428, allocations: 4.781 kB / 3.065 GB, free: 72 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008301/9.429, allocations: 469.4 kB / 3.066 GB, free: 72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/9.431, allocations: 177.5 kB / 3.066 GB, free: 71.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2566/9.688, allocations: 75.44 MB / 3.14 GB, free: 68.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/9.688, allocations: 0.977 MB / 3.141 GB, free: 68.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007344/9.689, allocations: 238 kB / 3.141 GB, free: 68.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/9.689, allocations: 246.7 kB / 3.141 GB, free: 67.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.173e-06/9.689, allocations: 0 / 3.141 GB, free: 67.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09419/9.783, allocations: 40.28 MB / 3.18 GB, free: 41.01 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/9.784, allocations: 201.8 kB / 3.181 GB, free: 40.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.22/14, allocations: 0 / 3.181 GB, free: 40.79 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat