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.039/2.039, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.874e-05, allocations: 4 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.19, allocations: 339.5 MB / 0.6405 GB, free: 1.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.19, allocations: 86.06 kB / 0.6405 GB, free: 1.043 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.695/2.885, allocations: 300.7 MB / 0.9342 GB, free: 40.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/2.885, allocations: 0 / 0.9342 GB, free: 40.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002817/2.885, allocations: 51.97 kB / 0.9342 GB, free: 40.21 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.01006/2.896, allocations: 2.061 MB / 0.9362 GB, free: 38.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/2.896, allocations: 12.03 kB / 0.9362 GB, free: 38.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/2.898, allocations: 199.2 kB / 0.9364 GB, free: 37.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/2.903, allocations: 1.269 MB / 0.9377 GB, free: 36.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/2.903, allocations: 139.2 kB / 0.9378 GB, free: 36.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006149/2.904, allocations: 68 kB / 0.9379 GB, free: 36.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004949/2.909, allocations: 1.754 MB / 0.9396 GB, free: 34.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005178/2.914, allocations: 1.747 MB / 0.9413 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.166e-05/2.914, allocations: 3.938 kB / 0.9413 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/2.914, allocations: 0 / 0.9413 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000255/2.915, allocations: 122.2 kB / 0.9414 GB, free: 32.66 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.01981/2.934, allocations: 6.757 MB / 0.948 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/2.937, allocations: 1.271 MB / 0.9492 GB, free: 24.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001691/2.939, allocations: 0.7665 MB / 0.95 GB, free: 23.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009791/2.949, allocations: 4.423 MB / 0.9543 GB, free: 18.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/2.949, allocations: 47.88 kB / 0.9544 GB, free: 18.77 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001591/2.951, allocations: 178.7 kB / 0.9545 GB, free: 18.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 7.464e-06/2.951, allocations: 0 / 0.9545 GB, free: 18.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.02599/2.977, allocations: 4.996 MB / 0.9594 GB, free: 13.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/2.977, allocations: 222.9 kB / 0.9596 GB, free: 13.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/2.979, allocations: 0.9013 MB / 0.9605 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004618/2.979, allocations: 29.64 kB / 0.9605 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000548/2.98, allocations: 0.6753 MB / 0.9612 GB, free: 11.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/2.98, allocations: 433.5 kB / 0.9616 GB, free: 11.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/2.98, allocations: 4 kB / 0.9616 GB, free: 11.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/2.981, allocations: 369.9 kB / 0.962 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/2.982, allocations: 0.7263 MB / 0.9627 GB, free: 10.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/2.984, allocations: 1.028 MB / 0.9637 GB, free: 8.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02029/3.005, allocations: 2.546 MB / 0.9662 GB, free: 6.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/3.005, allocations: 4 kB / 0.9662 GB, free: 6.441 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.0245/3.029, allocations: 3.974 MB / 0.97 GB, free: 2.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3311/3.36, allocations: 2.973 MB / 0.9729 GB, free: 52.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.949e-05/3.36, allocations: 9.641 kB / 0.973 GB, free: 52.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/3.372, allocations: 1.139 MB / 0.9741 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003035/3.375, allocations: 330.7 kB / 0.9744 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008175/3.383, allocations: 2.105 MB / 0.9764 GB, free: 51.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/3.386, allocations: 75.8 kB / 0.9765 GB, free: 51.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005064/3.386, allocations: 79.67 kB / 0.9766 GB, free: 51.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/3.386, allocations: 8.641 kB / 0.9766 GB, free: 51.55 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02177/3.408, allocations: 3.255 MB / 0.9798 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-05/3.408, allocations: 9.703 kB / 0.9798 GB, free: 51.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009678/3.418, allocations: 0.8921 MB / 0.9807 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/3.421, allocations: 347.7 kB / 0.981 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/3.424, allocations: 1.337 MB / 0.9823 GB, free: 51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/3.427, allocations: 72.05 kB / 0.9824 GB, free: 51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/3.427, allocations: 72.23 kB / 0.9824 GB, free: 51 MB / 426.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.0006868/3.428, allocations: 140.8 kB / 0.9826 GB, free: 50.89 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01044/3.439, allocations: 2.207 MB / 0.9847 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007257/3.439, allocations: 148.3 kB / 0.9849 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/3.452, allocations: 2.627 MB / 0.9874 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/3.452, allocations: 21.59 kB / 0.9874 GB, free: 50.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/3.452, allocations: 4.984 kB / 0.9874 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.947e-05/3.452, allocations: 6.984 kB / 0.9875 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/3.468, allocations: 4.074 MB / 0.9914 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/3.468, allocations: 0 / 0.9914 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/3.47, allocations: 232.3 kB / 0.9917 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/3.476, allocations: 0.9201 MB / 0.9926 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004078/3.476, allocations: 23.2 kB / 0.9926 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/3.482, allocations: 2.102 MB / 0.9946 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/3.483, allocations: 0 / 0.9946 GB, free: 49.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/3.493, allocations: 3.446 MB / 0.998 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/3.495, allocations: 429.5 kB / 0.9984 GB, free: 49.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/3.495, allocations: 7.922 kB / 0.9984 GB, free: 49.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/3.497, allocations: 77.53 kB / 0.9985 GB, free: 49.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/3.498, allocations: 119.1 kB / 0.9986 GB, free: 49.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/3.498, allocations: 59.31 kB / 0.9987 GB, free: 49.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001271/3.499, allocations: 0.6663 MB / 0.9993 GB, free: 49.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.244e-06/3.499, allocations: 0 / 0.9993 GB, free: 49.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006174/3.505, allocations: 1.332 MB / 1.001 GB, free: 49.29 MB / 426.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.01582/3.521, allocations: 5.1 MB / 1.006 GB, free: 48.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009012/3.53, allocations: 2.928 MB / 1.008 GB, free: 48.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/3.53, allocations: 0 / 1.008 GB, free: 48.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/3.533, allocations: 0.9677 MB / 1.009 GB, free: 48.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/3.539, allocations: 0.6078 MB / 1.01 GB, free: 48.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/3.552, allocations: 3.396 MB / 1.013 GB, free: 47.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/3.553, allocations: 1.415 MB / 1.015 GB, free: 47.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004141/3.557, allocations: 0.6364 MB / 1.015 GB, free: 46.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/3.558, allocations: 0.61 MB / 1.016 GB, free: 46.98 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/3.558, allocations: 0 / 1.016 GB, free: 46.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/3.716, allocations: 58.23 MB / 1.073 GB, free: 38.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/3.716, allocations: 155.4 kB / 1.073 GB, free: 37.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.388/9.104, allocations: 0 / 1.073 GB, free: 37.91 MB / 426.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