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.59/2.59, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.625e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4633, allocations: 54.84 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.751/8.214, allocations: 2.587 GB / 2.939 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/8.215, allocations: 83.98 kB / 2.939 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18/9.394, allocations: 215.5 MB / 3.149 GB, free: 81.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/9.395, allocations: 3.562 kB / 3.149 GB, free: 81.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.1e-05/9.395, allocations: 6.969 kB / 3.149 GB, free: 81.12 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.005776/9.4, allocations: 1.19 MB / 3.15 GB, free: 80.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/9.4, allocations: 14.14 kB / 3.15 GB, free: 80.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/9.401, allocations: 70.12 kB / 3.151 GB, free: 80.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/9.403, allocations: 219.1 kB / 3.151 GB, free: 80.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/9.404, allocations: 384.8 kB / 3.151 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/9.404, allocations: 24.91 kB / 3.151 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/9.404, allocations: 35.33 kB / 3.151 GB, free: 80.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/9.406, allocations: 0.5733 MB / 3.152 GB, free: 80.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/9.406, allocations: 3.5 kB / 3.152 GB, free: 80.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/9.406, allocations: 9.969 kB / 3.152 GB, free: 80.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/9.406, allocations: 8.781 kB / 3.152 GB, free: 80.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/9.408, allocations: 492.7 kB / 3.152 GB, free: 80.13 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.003628/9.412, allocations: 2.538 MB / 3.155 GB, free: 78.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/9.413, allocations: 408.8 kB / 3.155 GB, free: 78.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/9.414, allocations: 125.4 kB / 3.155 GB, free: 78.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1877/9.601, allocations: 51.65 MB / 3.206 GB, free: 50.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/9.601, allocations: 40.64 kB / 3.206 GB, free: 49.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.396e-06/9.601, allocations: 7.453 kB / 3.206 GB, free: 49.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002831/9.604, allocations: 0.613 MB / 3.206 GB, free: 49.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/9.604, allocations: 106.1 kB / 3.206 GB, free: 49.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/9.605, allocations: 251.6 kB / 3.207 GB, free: 49.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/9.605, allocations: 28.33 kB / 3.207 GB, free: 49.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/9.605, allocations: 222.6 kB / 3.207 GB, free: 49.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/9.605, allocations: 90.12 kB / 3.207 GB, free: 49.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/9.605, allocations: 6.594 kB / 3.207 GB, free: 49.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/9.605, allocations: 348.5 kB / 3.207 GB, free: 49.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/9.605, allocations: 97.7 kB / 3.207 GB, free: 49.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/9.606, allocations: 206.5 kB / 3.208 GB, free: 49.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/9.606, allocations: 111.1 kB / 3.208 GB, free: 49.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/9.606, allocations: 0 / 3.208 GB, free: 49.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008569/9.607, allocations: 354.6 kB / 3.208 GB, free: 48.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/9.607, allocations: 3.812 kB / 3.208 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/9.607, allocations: 3.875 kB / 3.208 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/9.607, allocations: 9.375 kB / 3.208 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/9.608, allocations: 105.1 kB / 3.208 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/9.608, allocations: 5.719 kB / 3.208 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/9.609, allocations: 74.34 kB / 3.208 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/9.609, allocations: 20.45 kB / 3.208 GB, free: 48.96 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.0001426/9.609, allocations: 134.2 kB / 3.208 GB, free: 48.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/9.609, allocations: 30.53 kB / 3.208 GB, free: 48.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/9.612, allocations: 1.85 MB / 3.21 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/9.612, allocations: 29.61 kB / 3.21 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/9.612, allocations: 0 / 3.21 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/9.612, allocations: 0 / 3.21 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/9.613, allocations: 0.9851 MB / 3.211 GB, free: 48.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/9.613, allocations: 0 / 3.211 GB, free: 48.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/9.614, allocations: 88.53 kB / 3.211 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/9.614, allocations: 0 / 3.211 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/9.614, allocations: 11.55 kB / 3.211 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/9.614, allocations: 0 / 3.211 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/9.614, allocations: 0 / 3.211 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/9.615, allocations: 0.9823 MB / 3.212 GB, free: 48.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/9.616, allocations: 209.5 kB / 3.212 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/9.616, allocations: 10.58 kB / 3.212 GB, free: 47.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/9.616, allocations: 51.88 kB / 3.213 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/9.616, allocations: 29.88 kB / 3.213 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/9.617, allocations: 10.81 kB / 3.213 GB, free: 47.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003769/9.617, allocations: 262 kB / 3.213 GB, free: 47.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/9.617, allocations: 0 / 3.213 GB, free: 47.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005231/9.622, allocations: 1.007 MB / 3.214 GB, free: 47.71 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.01136/9.634, allocations: 2.807 MB / 3.217 GB, free: 46.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/9.635, allocations: 0.5011 MB / 3.217 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/9.635, allocations: 0 / 3.217 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006849/9.635, allocations: 468.4 kB / 3.217 GB, free: 46.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/9.637, allocations: 185.6 kB / 3.218 GB, free: 46.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2639/9.901, allocations: 76.72 MB / 3.293 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/9.902, allocations: 0.9837 MB / 3.294 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001155/9.903, allocations: 231 kB / 3.294 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/9.904, allocations: 251.3 kB / 3.294 GB, free: 10.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/9.904, allocations: 0 / 3.294 GB, free: 10.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4709/10.37, allocations: 40.43 MB / 3.333 GB, free: 66.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/10.37, allocations: 209.7 kB / 3.334 GB, free: 66.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.316/14.69, allocations: 3.844 kB / 3.334 GB, free: 66.52 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