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.011/2.011, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.662e-05, allocations: 5.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.164, allocations: 339.9 MB / 0.6463 GB, free: 8.031 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.164, allocations: 79.95 kB / 0.6464 GB, free: 7.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682/2.847, allocations: 302.6 MB / 0.9419 GB, free: 37.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/2.847, allocations: 0 / 0.9419 GB, free: 37.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002532/2.847, allocations: 43.98 kB / 0.942 GB, free: 37.07 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.009297/2.856, allocations: 2.065 MB / 0.944 GB, free: 34.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/2.856, allocations: 8.031 kB / 0.944 GB, free: 34.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007378/2.857, allocations: 177.2 kB / 0.9441 GB, free: 34.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/2.858, allocations: 206.6 kB / 0.9443 GB, free: 34.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/2.863, allocations: 1.27 MB / 0.9456 GB, free: 33.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/2.863, allocations: 191.2 kB / 0.9458 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/2.864, allocations: 108 kB / 0.9459 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/2.868, allocations: 1.915 MB / 0.9477 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/2.868, allocations: 3.906 kB / 0.9477 GB, free: 30.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/2.868, allocations: 51.97 kB / 0.9478 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002582/2.869, allocations: 114.2 kB / 0.9479 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/2.873, allocations: 1.875 MB / 0.9497 GB, free: 28.88 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.01899/2.892, allocations: 7.025 MB / 0.9566 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/2.895, allocations: 1.301 MB / 0.9579 GB, free: 20.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/2.897, allocations: 0.7845 MB / 0.9586 GB, free: 19.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009881/2.907, allocations: 4.517 MB / 0.963 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/2.907, allocations: 51.56 kB / 0.9631 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001695/2.909, allocations: 226.5 kB / 0.9633 GB, free: 14.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 4.498e-06/2.909, allocations: 0 / 0.9633 GB, free: 14.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01539/2.924, allocations: 4.365 MB / 0.9676 GB, free: 9.816 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/2.925, allocations: 230.9 kB / 0.9678 GB, free: 9.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/2.927, allocations: 1.187 MB / 0.9689 GB, free: 8.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004827/2.928, allocations: 49.7 kB / 0.969 GB, free: 8.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000588/2.928, allocations: 0.6535 MB / 0.9696 GB, free: 7.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006263/2.929, allocations: 461.4 kB / 0.9701 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/2.929, allocations: 32 kB / 0.9701 GB, free: 7.141 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/2.929, allocations: 361.9 kB / 0.9704 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/2.931, allocations: 0.7419 MB / 0.9712 GB, free: 6.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/2.933, allocations: 1.047 MB / 0.9722 GB, free: 4.875 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/2.936, allocations: 0.8637 MB / 0.973 GB, free: 4.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/2.936, allocations: 7.938 kB / 0.973 GB, free: 4 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006419/2.942, allocations: 2.351 MB / 0.9753 GB, free: 1.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009581/2.943, allocations: 3.019 MB / 0.9783 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/2.943, allocations: 8 kB / 0.9783 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/2.957, allocations: 1.482 MB / 0.9797 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/2.961, allocations: 327.5 kB / 0.9801 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004914/2.965, allocations: 1.692 MB / 0.9817 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/2.969, allocations: 111.7 kB / 0.9818 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000478/2.969, allocations: 75.95 kB / 0.9819 GB, free: 10.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/2.969, allocations: 0 / 0.9819 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00676/2.976, allocations: 1.957 MB / 0.9838 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.358e-05/2.976, allocations: 12.19 kB / 0.9838 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/2.986, allocations: 0.9333 MB / 0.9847 GB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/2.99, allocations: 347.5 kB / 0.9851 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/2.993, allocations: 1.282 MB / 0.9863 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/2.995, allocations: 103.8 kB / 0.9864 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/2.996, allocations: 71.95 kB / 0.9865 GB, free: 6 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.0006437/2.996, allocations: 188.7 kB / 0.9867 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005282/2.997, allocations: 170 kB / 0.9868 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008428/3.005, allocations: 2.465 MB / 0.9892 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/3.006, allocations: 16 kB / 0.9892 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/3.006, allocations: 4 kB / 0.9892 GB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/3.006, allocations: 7.969 kB / 0.9892 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3352/3.341, allocations: 4.018 MB / 0.9932 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/3.341, allocations: 1.5 kB / 0.9932 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/3.343, allocations: 232.6 kB / 0.9934 GB, free: 63.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008835/3.352, allocations: 1.207 MB / 0.9946 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005301/3.353, allocations: 39.88 kB / 0.9946 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00449/3.357, allocations: 1.748 MB / 0.9963 GB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.357, allocations: 0 / 0.9963 GB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009377/3.367, allocations: 3.273 MB / 0.9995 GB, free: 62.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/3.369, allocations: 464.6 kB / 1 GB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007802/3.369, allocations: 27.72 kB / 1 GB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/3.372, allocations: 110.8 kB / 1 GB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006457/3.373, allocations: 115.4 kB / 1 GB, free: 62.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002879/3.373, allocations: 59.17 kB / 1 GB, free: 62.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002367/3.376, allocations: 0.8972 MB / 1.001 GB, free: 62.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.032e-06/3.376, allocations: 0 / 1.001 GB, free: 62.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008106/3.384, allocations: 1.433 MB / 1.003 GB, free: 62.66 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.01615/3.4, allocations: 4.971 MB / 1.007 GB, free: 61.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01267/3.413, allocations: 3.014 MB / 1.01 GB, free: 61.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/3.413, allocations: 5.125 kB / 1.01 GB, free: 61.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004158/3.417, allocations: 0.9868 MB / 1.011 GB, free: 61.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006573/3.424, allocations: 0.6931 MB / 1.012 GB, free: 61.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/3.437, allocations: 3.567 MB / 1.015 GB, free: 61.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/3.438, allocations: 1.419 MB / 1.017 GB, free: 60.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00452/3.443, allocations: 0.7314 MB / 1.018 GB, free: 60.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/3.444, allocations: 0.6151 MB / 1.018 GB, free: 60.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/3.444, allocations: 0 / 1.018 GB, free: 60.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/3.618, allocations: 65.56 MB / 1.082 GB, free: 56.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/3.619, allocations: 194.1 kB / 1.082 GB, free: 56.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.675/9.294, allocations: 0 / 1.082 GB, free: 56.21 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