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 2.059/2.059, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.682e-05, allocations: 4 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.729/7.835, allocations: 2.476 GB / 2.785 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/7.835, allocations: 80.45 kB / 2.785 GB, free: 105.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/8.909, allocations: 209 MB / 2.989 GB, free: 59.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/8.909, allocations: 3.25 kB / 2.989 GB, free: 59.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/8.909, allocations: 14.06 kB / 2.989 GB, free: 59.46 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.005458/8.914, allocations: 1.168 MB / 2.99 GB, free: 58.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/8.914, allocations: 6.719 kB / 2.99 GB, free: 58.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/8.917, allocations: 220.8 kB / 2.991 GB, free: 58.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009069/8.918, allocations: 380.2 kB / 2.991 GB, free: 58.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/8.918, allocations: 15.5 kB / 2.991 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/8.918, allocations: 15.5 kB / 2.991 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007512/8.919, allocations: 298.2 kB / 2.991 GB, free: 58.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/8.919, allocations: 382.6 kB / 2.992 GB, free: 58.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/8.919, allocations: 3.938 kB / 2.992 GB, free: 58.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/8.919, allocations: 3.75 kB / 2.992 GB, free: 58.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/8.92, allocations: 11.62 kB / 2.992 GB, free: 58.08 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.007687/8.927, allocations: 3.861 MB / 2.995 GB, free: 55.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/8.928, allocations: 229.3 kB / 2.996 GB, free: 54.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/8.928, allocations: 114.5 kB / 2.996 GB, free: 54.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2165/9.145, allocations: 50.21 MB / 3.045 GB, free: 19.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/9.145, allocations: 30.56 kB / 3.045 GB, free: 19.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.507e-06/9.145, allocations: 0 / 3.045 GB, free: 19.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.002421/9.147, allocations: 0.5109 MB / 3.045 GB, free: 18.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/9.147, allocations: 106.8 kB / 3.045 GB, free: 18.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/9.148, allocations: 245.3 kB / 3.046 GB, free: 18.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/9.148, allocations: 25.7 kB / 3.046 GB, free: 18.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/9.148, allocations: 230.4 kB / 3.046 GB, free: 18.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/9.148, allocations: 74.77 kB / 3.046 GB, free: 18.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/9.148, allocations: 0 / 3.046 GB, free: 18.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/9.148, allocations: 342.5 kB / 3.046 GB, free: 17.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/9.148, allocations: 88.44 kB / 3.046 GB, free: 17.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/9.148, allocations: 202.6 kB / 3.047 GB, free: 17.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/9.149, allocations: 181.3 kB / 3.047 GB, free: 17.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/9.149, allocations: 0 / 3.047 GB, free: 17.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001382/9.151, allocations: 375.7 kB / 3.047 GB, free: 17.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/9.151, allocations: 15.83 kB / 3.047 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/9.151, allocations: 3.953 kB / 3.047 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/9.151, allocations: 8 kB / 3.047 GB, free: 17.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/9.152, allocations: 107.1 kB / 3.047 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/9.152, allocations: 8 kB / 3.047 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006013/9.152, allocations: 63.03 kB / 3.047 GB, free: 16.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/9.152, allocations: 23.7 kB / 3.047 GB, free: 16.93 MB / 426.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.0001195/9.152, allocations: 112.9 kB / 3.047 GB, free: 16.81 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001156/9.154, allocations: 292.7 kB / 3.048 GB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/9.154, allocations: 39.52 kB / 3.048 GB, free: 16.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/9.156, allocations: 1.618 MB / 3.049 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/9.156, allocations: 32.08 kB / 3.049 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/9.156, allocations: 0 / 3.049 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/9.156, allocations: 7.516 kB / 3.049 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/9.157, allocations: 0.8133 MB / 3.05 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/9.157, allocations: 11.98 kB / 3.05 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/9.158, allocations: 83.88 kB / 3.05 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/9.158, allocations: 4 kB / 3.05 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/9.158, allocations: 3.953 kB / 3.05 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/9.158, allocations: 4 kB / 3.05 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/9.158, allocations: 4 kB / 3.05 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/9.16, allocations: 0.9149 MB / 3.051 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/9.16, allocations: 211.6 kB / 3.051 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/9.16, allocations: 0 / 3.051 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/9.161, allocations: 43.91 kB / 3.051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/9.161, allocations: 32.23 kB / 3.051 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/9.161, allocations: 12 kB / 3.051 GB, free: 12.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003386/9.161, allocations: 263 kB / 3.052 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/9.161, allocations: 0 / 3.052 GB, free: 12.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004716/9.166, allocations: 0.9832 MB / 3.053 GB, free: 11.7 MB / 426.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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01066/9.177, allocations: 2.786 MB / 3.055 GB, free: 8.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009291/9.177, allocations: 461.2 kB / 3.056 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/9.178, allocations: 4 kB / 3.056 GB, free: 8.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005211/9.178, allocations: 421 kB / 3.056 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/9.18, allocations: 176.9 kB / 3.056 GB, free: 7.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.505/9.685, allocations: 54.78 MB / 3.11 GB, free: 73.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/9.685, allocations: 0.9637 MB / 3.111 GB, free: 72.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008632/9.686, allocations: 246.1 kB / 3.111 GB, free: 72.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/9.687, allocations: 239 kB / 3.111 GB, free: 72.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/9.687, allocations: 0 / 3.111 GB, free: 72.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/9.79, allocations: 34.89 MB / 3.145 GB, free: 71.02 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/9.79, allocations: 184.7 kB / 3.146 GB, free: 70.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.164/13.95, allocations: 0 / 3.146 GB, free: 70.82 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