Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.753e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.188, allocations: 339.9 MB / 0.6463 GB, free: 8.242 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.188, allocations: 83.95 kB / 0.6464 GB, free: 8.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.736/2.924, allocations: 302.6 MB / 0.9419 GB, free: 37.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/2.924, allocations: 3.938 kB / 0.9419 GB, free: 37.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002279/2.924, allocations: 52.11 kB / 0.9419 GB, free: 37.5 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009077/2.933, allocations: 2.061 MB / 0.9439 GB, free: 35.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/2.933, allocations: 8.031 kB / 0.9439 GB, free: 35.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007238/2.934, allocations: 181.2 kB / 0.9441 GB, free: 35.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/2.935, allocations: 203.2 kB / 0.9443 GB, free: 34.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004892/2.94, allocations: 1.27 MB / 0.9456 GB, free: 33.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/2.941, allocations: 183.2 kB / 0.9457 GB, free: 33.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008769/2.942, allocations: 116 kB / 0.9458 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006661/2.948, allocations: 1.927 MB / 0.9477 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-05/2.948, allocations: 3.906 kB / 0.9477 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/2.949, allocations: 47.97 kB / 0.9478 GB, free: 31.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002829/2.949, allocations: 118.1 kB / 0.9479 GB, free: 31.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006257/2.955, allocations: 1.887 MB / 0.9497 GB, free: 29.27 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.02164/2.977, allocations: 7.036 MB / 0.9566 GB, free: 21.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/2.98, allocations: 1.312 MB / 0.9579 GB, free: 20.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/2.982, allocations: 0.7773 MB / 0.9586 GB, free: 19.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/2.993, allocations: 4.517 MB / 0.963 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/2.993, allocations: 55.56 kB / 0.9631 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001717/2.995, allocations: 222.5 kB / 0.9633 GB, free: 14.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 5.921e-06/2.995, allocations: 0 / 0.9633 GB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01527/3.01, allocations: 4.369 MB / 0.9676 GB, free: 10.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/3.01, allocations: 222.9 kB / 0.9678 GB, free: 9.926 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/3.012, allocations: 1.191 MB / 0.969 GB, free: 8.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004492/3.013, allocations: 53.7 kB / 0.969 GB, free: 8.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009726/3.014, allocations: 0.6496 MB / 0.9696 GB, free: 8.012 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008998/3.015, allocations: 457.4 kB / 0.9701 GB, free: 7.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/3.015, allocations: 32 kB / 0.9701 GB, free: 7.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/3.015, allocations: 365.9 kB / 0.9705 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/3.019, allocations: 0.7419 MB / 0.9712 GB, free: 6.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/3.022, allocations: 1.067 MB / 0.9722 GB, free: 5.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/3.025, allocations: 0.8521 MB / 0.9731 GB, free: 4.379 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/3.025, allocations: 4 kB / 0.9731 GB, free: 4.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.008135/3.033, allocations: 2.379 MB / 0.9754 GB, free: 1.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009321/3.034, allocations: 3.018 MB / 0.9783 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/3.034, allocations: 8 kB / 0.9783 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/3.048, allocations: 1.474 MB / 0.9798 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/3.051, allocations: 331.5 kB / 0.9801 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/3.056, allocations: 1.696 MB / 0.9817 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/3.059, allocations: 103.8 kB / 0.9818 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/3.06, allocations: 79.95 kB / 0.9819 GB, free: 11.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/3.06, allocations: 4 kB / 0.9819 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006542/3.067, allocations: 1.98 MB / 0.9839 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.525e-05/3.067, allocations: 12 kB / 0.9839 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/3.077, allocations: 0.9295 MB / 0.9848 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/3.08, allocations: 343.5 kB / 0.9851 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/3.083, allocations: 1.286 MB / 0.9864 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/3.085, allocations: 99.78 kB / 0.9865 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/3.086, allocations: 75.95 kB / 0.9865 GB, free: 6.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0006468/3.086, allocations: 194.5 kB / 0.9867 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/3.087, allocations: 173.9 kB / 0.9869 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008196/3.095, allocations: 2.465 MB / 0.9893 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/3.095, allocations: 16 kB / 0.9893 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/3.095, allocations: 0 / 0.9893 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/3.095, allocations: 7.969 kB / 0.9893 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3404/3.436, allocations: 4.032 MB / 0.9933 GB, free: 63.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/3.436, allocations: 0 / 0.9933 GB, free: 63.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/3.438, allocations: 228.2 kB / 0.9935 GB, free: 63.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008616/3.447, allocations: 1.205 MB / 0.9946 GB, free: 63.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004464/3.447, allocations: 44.55 kB / 0.9947 GB, free: 63.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004353/3.452, allocations: 1.745 MB / 0.9964 GB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.452, allocations: 0 / 0.9964 GB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/3.461, allocations: 3.276 MB / 0.9996 GB, free: 63.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/3.463, allocations: 458.9 kB / 1 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006402/3.463, allocations: 33.89 kB / 1 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/3.466, allocations: 101 kB / 1 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/3.466, allocations: 120.2 kB / 1 GB, free: 62.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/3.467, allocations: 64.05 kB / 1 GB, free: 62.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002351/3.469, allocations: 0.8979 MB / 1.001 GB, free: 62.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.203e-06/3.469, allocations: 0 / 1.001 GB, free: 62.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007118/3.476, allocations: 1.424 MB / 1.003 GB, free: 62.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01487/3.491, allocations: 4.94 MB / 1.007 GB, free: 62.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01206/3.503, allocations: 3.059 MB / 1.01 GB, free: 61.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/3.503, allocations: 5.844 kB / 1.01 GB, free: 61.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003879/3.507, allocations: 0.9913 MB / 1.011 GB, free: 61.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006268/3.514, allocations: 0.692 MB / 1.012 GB, free: 61.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/3.526, allocations: 3.582 MB / 1.016 GB, free: 61.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/3.527, allocations: 1.416 MB / 1.017 GB, free: 60.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005343/3.533, allocations: 0.7408 MB / 1.018 GB, free: 60.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/3.535, allocations: 0.6133 MB / 1.018 GB, free: 60.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.764e-06/3.535, allocations: 0 / 1.018 GB, free: 60.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/3.709, allocations: 65.59 MB / 1.082 GB, free: 56.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/3.709, allocations: 199.4 kB / 1.083 GB, free: 56.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.946/9.656, allocations: 0 / 1.083 GB, free: 56.59 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat