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.153/2.153, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.862e-05/6.875e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.662/7.772, allocations: 2.477 GB / 2.791 GB, free: 91.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/7.773, allocations: 85.81 kB / 2.791 GB, free: 91.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11/8.883, allocations: 211.6 MB / 2.998 GB, free: 44.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/8.883, allocations: 3.281 kB / 2.998 GB, free: 44.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.172e-05/8.883, allocations: 4 kB / 2.998 GB, free: 44.91 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.005668/8.889, allocations: 1.168 MB / 2.999 GB, free: 43.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/8.889, allocations: 8.031 kB / 2.999 GB, free: 43.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/8.889, allocations: 62.45 kB / 2.999 GB, free: 43.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/8.891, allocations: 214.3 kB / 2.999 GB, free: 43.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/8.892, allocations: 391.7 kB / 2.999 GB, free: 43.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/8.893, allocations: 28.78 kB / 2.999 GB, free: 43.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/8.893, allocations: 24 kB / 3 GB, free: 43.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/8.894, allocations: 0.5843 MB / 3 GB, free: 42.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/8.895, allocations: 0 / 3 GB, free: 42.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/8.895, allocations: 12 kB / 3 GB, free: 42.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/8.895, allocations: 8 kB / 3 GB, free: 42.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/8.896, allocations: 497.7 kB / 3.001 GB, free: 41.92 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.003541/8.9, allocations: 2.55 MB / 3.003 GB, free: 39.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/8.902, allocations: 402.3 kB / 3.003 GB, free: 38.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/8.902, allocations: 136.6 kB / 3.004 GB, free: 38.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4915/9.394, allocations: 51.57 MB / 3.054 GB, free: 74.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/9.394, allocations: 39.53 kB / 3.054 GB, free: 74.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.256e-06/9.394, allocations: 0 / 3.054 GB, free: 74.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.00311/9.397, allocations: 0.615 MB / 3.055 GB, free: 74.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/9.397, allocations: 106.1 kB / 3.055 GB, free: 74.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/9.397, allocations: 253 kB / 3.055 GB, free: 74.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/9.398, allocations: 29.67 kB / 3.055 GB, free: 74.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/9.398, allocations: 221.2 kB / 3.055 GB, free: 74.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/9.398, allocations: 85.28 kB / 3.055 GB, free: 74.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/9.398, allocations: 6.469 kB / 3.055 GB, free: 74.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/9.398, allocations: 344.5 kB / 3.056 GB, free: 74.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/9.398, allocations: 90.44 kB / 3.056 GB, free: 74.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/9.399, allocations: 218.2 kB / 3.056 GB, free: 74.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/9.399, allocations: 115.9 kB / 3.056 GB, free: 74.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/9.399, allocations: 2.094 kB / 3.056 GB, free: 74.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009611/9.4, allocations: 356.2 kB / 3.056 GB, free: 74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/9.4, allocations: 7.094 kB / 3.056 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/9.4, allocations: 9.359 kB / 3.056 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/9.4, allocations: 10.41 kB / 3.056 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007815/9.401, allocations: 108.2 kB / 3.056 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/9.401, allocations: 8.25 kB / 3.056 GB, free: 74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/9.402, allocations: 74.34 kB / 3.057 GB, free: 73.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/9.402, allocations: 18.31 kB / 3.057 GB, free: 73.99 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.000142/9.402, allocations: 131.7 kB / 3.057 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/9.402, allocations: 31.72 kB / 3.057 GB, free: 73.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/9.405, allocations: 1.847 MB / 3.059 GB, free: 73.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.65e-05/9.405, allocations: 35.45 kB / 3.059 GB, free: 73.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/9.405, allocations: 0 / 3.059 GB, free: 73.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/9.405, allocations: 3.891 kB / 3.059 GB, free: 73.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/9.407, allocations: 0.9742 MB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/9.407, allocations: 1.406 kB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/9.408, allocations: 86.92 kB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/9.408, allocations: 2.656 kB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/9.408, allocations: 14.89 kB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/9.408, allocations: 4.031 kB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/9.408, allocations: 3.953 kB / 3.06 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/9.409, allocations: 0.9777 MB / 3.061 GB, free: 73.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/9.41, allocations: 209.4 kB / 3.061 GB, free: 73.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/9.41, allocations: 5.75 kB / 3.061 GB, free: 73.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/9.41, allocations: 51.81 kB / 3.061 GB, free: 73.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/9.411, allocations: 35.38 kB / 3.061 GB, free: 73.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/9.411, allocations: 15.05 kB / 3.061 GB, free: 73.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004538/9.411, allocations: 261.3 kB / 3.061 GB, free: 72.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/9.411, allocations: 0 / 3.061 GB, free: 72.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005388/9.417, allocations: 0.9944 MB / 3.062 GB, free: 72.99 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.01276/9.429, allocations: 2.797 MB / 3.065 GB, free: 72.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/9.431, allocations: 0.5067 MB / 3.065 GB, free: 72.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/9.431, allocations: 0.875 kB / 3.065 GB, free: 72.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007379/9.431, allocations: 470.9 kB / 3.066 GB, free: 72.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/9.433, allocations: 188 kB / 3.066 GB, free: 72.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2472/9.681, allocations: 75.43 MB / 3.14 GB, free: 69.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/9.681, allocations: 0.9797 MB / 3.141 GB, free: 68.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007385/9.682, allocations: 249.2 kB / 3.141 GB, free: 68.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/9.682, allocations: 250.6 kB / 3.141 GB, free: 68.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/9.682, allocations: 0 / 3.141 GB, free: 68.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09299/9.775, allocations: 40.21 MB / 3.18 GB, free: 41.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/9.775, allocations: 210 kB / 3.181 GB, free: 41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.231/14.01, allocations: 3.469 kB / 3.181 GB, free: 41 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