Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.203e-05/5.226e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4582, allocations: 54.86 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.935/8.393, allocations: 2.587 GB / 2.939 GB, free: 106.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/8.394, allocations: 81.3 kB / 2.939 GB, free: 106.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183/9.577, allocations: 215.5 MB / 3.149 GB, free: 81.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/9.577, allocations: 0 / 3.149 GB, free: 81.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.425e-05/9.577, allocations: 12.11 kB / 3.149 GB, free: 81.18 MB / 490.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.00562/9.582, allocations: 1.188 MB / 3.15 GB, free: 80.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/9.582, allocations: 7.219 kB / 3.15 GB, free: 80.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/9.582, allocations: 67.61 kB / 3.151 GB, free: 80.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/9.585, allocations: 223.5 kB / 3.151 GB, free: 80.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/9.586, allocations: 387.9 kB / 3.151 GB, free: 80.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/9.586, allocations: 31.7 kB / 3.151 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/9.586, allocations: 29.06 kB / 3.151 GB, free: 80.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/9.588, allocations: 0.575 MB / 3.152 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/9.588, allocations: 6.531 kB / 3.152 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/9.588, allocations: 15.38 kB / 3.152 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/9.588, allocations: 9.75 kB / 3.152 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/9.59, allocations: 496.5 kB / 3.152 GB, free: 80.19 MB / 490.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.003616/9.594, allocations: 2.542 MB / 3.155 GB, free: 78.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/9.595, allocations: 419.2 kB / 3.155 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/9.596, allocations: 129.2 kB / 3.155 GB, free: 78.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.18/9.776, allocations: 51.66 MB / 3.206 GB, free: 50.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/9.776, allocations: 34.44 kB / 3.206 GB, free: 50.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/9.776, allocations: 0 / 3.206 GB, free: 50.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002781/9.779, allocations: 0.6088 MB / 3.206 GB, free: 49.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/9.779, allocations: 110.7 kB / 3.206 GB, free: 49.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/9.779, allocations: 251.9 kB / 3.207 GB, free: 49.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/9.779, allocations: 33.3 kB / 3.207 GB, free: 49.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/9.779, allocations: 221.1 kB / 3.207 GB, free: 49.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.922e-05/9.779, allocations: 83.53 kB / 3.207 GB, free: 49.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/9.78, allocations: 10.66 kB / 3.207 GB, free: 49.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/9.78, allocations: 344.2 kB / 3.207 GB, free: 49.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/9.78, allocations: 90.84 kB / 3.207 GB, free: 49.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/9.78, allocations: 209.4 kB / 3.208 GB, free: 49.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/9.78, allocations: 112.5 kB / 3.208 GB, free: 49.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/9.781, allocations: 3.875 kB / 3.208 GB, free: 49.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008459/9.781, allocations: 359.8 kB / 3.208 GB, free: 49.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/9.781, allocations: 8.688 kB / 3.208 GB, free: 49.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/9.781, allocations: 3.906 kB / 3.208 GB, free: 49.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/9.781, allocations: 3.969 kB / 3.208 GB, free: 49.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/9.782, allocations: 111.4 kB / 3.208 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/9.782, allocations: 10.86 kB / 3.208 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/9.783, allocations: 79.09 kB / 3.208 GB, free: 48.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/9.783, allocations: 14.22 kB / 3.208 GB, free: 48.99 MB / 490.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.000136/9.783, allocations: 124.2 kB / 3.208 GB, free: 48.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.964e-05/9.783, allocations: 33.75 kB / 3.208 GB, free: 48.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/9.786, allocations: 1.851 MB / 3.21 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.066e-05/9.786, allocations: 31.42 kB / 3.21 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/9.786, allocations: 3.562 kB / 3.21 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/9.786, allocations: 0 / 3.21 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/9.787, allocations: 0.9831 MB / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/9.787, allocations: 0 / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/9.788, allocations: 91.94 kB / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/9.788, allocations: 0 / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/9.788, allocations: 5.812 kB / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/9.788, allocations: 5.281 kB / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/9.788, allocations: 0 / 3.211 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/9.79, allocations: 0.984 MB / 3.212 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/9.79, allocations: 204.9 kB / 3.212 GB, free: 47.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/9.79, allocations: 6.844 kB / 3.212 GB, free: 47.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/9.79, allocations: 52.42 kB / 3.213 GB, free: 47.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/9.791, allocations: 34.23 kB / 3.213 GB, free: 47.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/9.791, allocations: 11.81 kB / 3.213 GB, free: 47.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003872/9.791, allocations: 254 kB / 3.213 GB, free: 47.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.953e-06/9.791, allocations: 0 / 3.213 GB, free: 47.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005246/9.796, allocations: 1.012 MB / 3.214 GB, free: 47.74 MB / 490.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.01118/9.808, allocations: 2.796 MB / 3.217 GB, free: 46.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/9.809, allocations: 0.5068 MB / 3.217 GB, free: 46.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/9.809, allocations: 0 / 3.217 GB, free: 46.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006321/9.809, allocations: 478.3 kB / 3.217 GB, free: 46.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/9.811, allocations: 166.8 kB / 3.218 GB, free: 46.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2816/10.09, allocations: 76.74 MB / 3.293 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/10.09, allocations: 0.9796 MB / 3.294 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007396/10.09, allocations: 248.7 kB / 3.294 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/10.09, allocations: 251.4 kB / 3.294 GB, free: 10.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/10.09, allocations: 0 / 3.294 GB, free: 10.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4588/10.55, allocations: 40.35 MB / 3.333 GB, free: 67.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000296/10.55, allocations: 207 kB / 3.334 GB, free: 66.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.773/15.33, allocations: 0 / 3.334 GB, free: 66.85 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat