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.456/2.456, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.338e-05, allocations: 3.938 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.634/8.019, allocations: 2.587 GB / 2.933 GB, free: 6.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/8.019, allocations: 87.58 kB / 2.933 GB, free: 6.684 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125/9.144, allocations: 212.8 MB / 3.141 GB, free: 460 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.595e-06/9.144, allocations: 0 / 3.141 GB, free: 460 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.617e-05/9.145, allocations: 12 kB / 3.141 GB, free: 448 kB / 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.3403/9.485, allocations: 1.173 MB / 3.142 GB, free: 86.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/9.485, allocations: 9.312 kB / 3.142 GB, free: 86.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/9.488, allocations: 226.7 kB / 3.142 GB, free: 86.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/9.489, allocations: 387 kB / 3.142 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/9.489, allocations: 14.92 kB / 3.142 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/9.489, allocations: 19.66 kB / 3.142 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008856/9.49, allocations: 298.4 kB / 3.143 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/9.491, allocations: 384.2 kB / 3.143 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/9.491, allocations: 8.531 kB / 3.143 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/9.491, allocations: 1.125 kB / 3.143 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/9.491, allocations: 8.094 kB / 3.143 GB, free: 85.96 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.008381/9.499, allocations: 3.882 MB / 3.147 GB, free: 83.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/9.5, allocations: 224.4 kB / 3.147 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/9.5, allocations: 113.6 kB / 3.147 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1722/9.672, allocations: 50.23 MB / 3.196 GB, free: 56.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/9.673, allocations: 33.66 kB / 3.196 GB, free: 56.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 3.456e-06/9.673, allocations: 0 / 3.196 GB, free: 56.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.002489/9.675, allocations: 0.5017 MB / 3.197 GB, free: 56.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/9.675, allocations: 111.1 kB / 3.197 GB, free: 56.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/9.676, allocations: 243.7 kB / 3.197 GB, free: 55.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/9.676, allocations: 25.7 kB / 3.197 GB, free: 55.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/9.676, allocations: 225 kB / 3.197 GB, free: 55.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.558e-05/9.676, allocations: 78.23 kB / 3.197 GB, free: 55.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/9.676, allocations: 4 kB / 3.197 GB, free: 55.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/9.676, allocations: 342.5 kB / 3.198 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/9.676, allocations: 84 kB / 3.198 GB, free: 55.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/9.676, allocations: 205.6 kB / 3.198 GB, free: 55.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/9.677, allocations: 165.3 kB / 3.198 GB, free: 55.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/9.677, allocations: 10.52 kB / 3.198 GB, free: 55.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001447/9.679, allocations: 390 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/9.679, allocations: 3.938 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/9.679, allocations: 3.656 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/9.679, allocations: 8.172 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00072/9.68, allocations: 105.3 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/9.68, allocations: 5.469 kB / 3.199 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/9.68, allocations: 70.45 kB / 3.199 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/9.68, allocations: 14.62 kB / 3.199 GB, free: 55.25 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.00013/9.681, allocations: 119.6 kB / 3.199 GB, free: 55.15 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001268/9.682, allocations: 299.8 kB / 3.199 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/9.682, allocations: 38.45 kB / 3.199 GB, free: 55.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/9.685, allocations: 1.625 MB / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/9.685, allocations: 26.98 kB / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/9.685, allocations: 6.516 kB / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/9.685, allocations: 2.25 kB / 3.201 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/9.686, allocations: 0.8295 MB / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/9.686, allocations: 0 / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/9.687, allocations: 87.92 kB / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/9.687, allocations: 3.406 kB / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/9.687, allocations: 3.656 kB / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/9.687, allocations: 3.781 kB / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/9.687, allocations: 2.062 kB / 3.202 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/9.688, allocations: 0.9052 MB / 3.203 GB, free: 54.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/9.689, allocations: 213 kB / 3.203 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/9.689, allocations: 0 / 3.203 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/9.689, allocations: 45.47 kB / 3.203 GB, free: 54.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/9.69, allocations: 32.58 kB / 3.203 GB, free: 54.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/9.69, allocations: 13.47 kB / 3.203 GB, free: 54.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003707/9.69, allocations: 261.7 kB / 3.203 GB, free: 54.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.883e-06/9.69, allocations: 0 / 3.203 GB, free: 54.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005146/9.695, allocations: 0.9838 MB / 3.204 GB, free: 54.23 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: 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.01211/9.707, allocations: 2.802 MB / 3.207 GB, free: 53.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/9.708, allocations: 456.6 kB / 3.207 GB, free: 53.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/9.708, allocations: 3.875 kB / 3.207 GB, free: 53.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/9.709, allocations: 422.8 kB / 3.208 GB, free: 53.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/9.711, allocations: 165 kB / 3.208 GB, free: 53.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1924/9.903, allocations: 54.79 MB / 3.261 GB, free: 48.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/9.904, allocations: 0.9596 MB / 3.262 GB, free: 47.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007727/9.904, allocations: 252.6 kB / 3.263 GB, free: 47.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/9.905, allocations: 239.8 kB / 3.263 GB, free: 47.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/9.905, allocations: 0 / 3.263 GB, free: 47.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/10.02, allocations: 35.03 MB / 3.297 GB, free: 22.92 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/10.02, allocations: 180.2 kB / 3.297 GB, free: 22.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.283/14.31, allocations: 5.688 kB / 3.297 GB, free: 22.72 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