Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.254e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.232, allocations: 339.9 MB / 0.6463 GB, free: 8.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/1.232, allocations: 83.95 kB / 0.6464 GB, free: 8.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697/2.929, allocations: 302.6 MB / 0.9419 GB, free: 37.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.929, allocations: 0 / 0.9419 GB, free: 37.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000202/2.93, allocations: 48.11 kB / 0.9419 GB, free: 37.78 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.009661/2.939, allocations: 2.077 MB / 0.944 GB, free: 35.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/2.939, allocations: 8.031 kB / 0.944 GB, free: 35.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007127/2.94, allocations: 177.2 kB / 0.9441 GB, free: 35.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/2.941, allocations: 195.2 kB / 0.9443 GB, free: 35.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/2.946, allocations: 1.267 MB / 0.9456 GB, free: 33.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/2.946, allocations: 191.2 kB / 0.9457 GB, free: 33.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/2.947, allocations: 116 kB / 0.9458 GB, free: 33.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005008/2.952, allocations: 1.903 MB / 0.9477 GB, free: 31.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/2.952, allocations: 7.844 kB / 0.9477 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002987/2.952, allocations: 51.97 kB / 0.9478 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002593/2.952, allocations: 118.2 kB / 0.9479 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/2.958, allocations: 1.875 MB / 0.9497 GB, free: 29.58 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.02283/2.981, allocations: 7.028 MB / 0.9566 GB, free: 22.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/2.984, allocations: 1.307 MB / 0.9578 GB, free: 20.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/2.987, allocations: 0.7847 MB / 0.9586 GB, free: 20.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/2.998, allocations: 4.513 MB / 0.963 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.807e-05/2.998, allocations: 59.48 kB / 0.9631 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002231/3.001, allocations: 222.5 kB / 0.9633 GB, free: 14.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 7.794e-06/3.001, allocations: 0 / 0.9633 GB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.02287/3.024, allocations: 4.366 MB / 0.9675 GB, free: 10.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/3.024, allocations: 222.9 kB / 0.9678 GB, free: 10.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/3.027, allocations: 1.187 MB / 0.9689 GB, free: 9.051 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005994/3.028, allocations: 49.7 kB / 0.969 GB, free: 8.996 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000694/3.029, allocations: 0.6193 MB / 0.9696 GB, free: 8.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00317/3.032, allocations: 457.4 kB / 0.97 GB, free: 7.918 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/3.032, allocations: 32 kB / 0.97 GB, free: 7.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/3.032, allocations: 374.8 kB / 0.9704 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/3.035, allocations: 0.7379 MB / 0.9711 GB, free: 6.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003323/3.039, allocations: 1.051 MB / 0.9721 GB, free: 5.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/3.042, allocations: 0.856 MB / 0.973 GB, free: 4.746 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/3.042, allocations: 3.938 kB / 0.973 GB, free: 4.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00948/3.052, allocations: 2.271 MB / 0.9752 GB, free: 2.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001131/3.053, allocations: 2.962 MB / 0.9781 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/3.053, allocations: 15.92 kB / 0.9781 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01976/3.073, allocations: 1.466 MB / 0.9795 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/3.077, allocations: 331.4 kB / 0.9799 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/3.085, allocations: 1.692 MB / 0.9815 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/3.09, allocations: 111.8 kB / 0.9816 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009129/3.091, allocations: 83.92 kB / 0.9817 GB, free: 11.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/3.091, allocations: 4 kB / 0.9817 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01035/3.101, allocations: 1.957 MB / 0.9836 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.998e-05/3.101, allocations: 11.98 kB / 0.9836 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01408/3.115, allocations: 0.91 MB / 0.9845 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0044/3.12, allocations: 343.5 kB / 0.9848 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/3.124, allocations: 1.263 MB / 0.9861 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/3.128, allocations: 99.78 kB / 0.9862 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007158/3.129, allocations: 71.95 kB / 0.9862 GB, free: 6.871 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.001018/3.13, allocations: 192.6 kB / 0.9864 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009262/3.131, allocations: 173.9 kB / 0.9866 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/3.143, allocations: 2.459 MB / 0.989 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-05/3.143, allocations: 20 kB / 0.989 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/3.143, allocations: 3.984 kB / 0.989 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.214e-05/3.143, allocations: 11.97 kB / 0.989 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4033/3.547, allocations: 4.013 MB / 0.9929 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/3.547, allocations: 1.031 kB / 0.9929 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/3.549, allocations: 230.3 kB / 0.9932 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009001/3.558, allocations: 1.206 MB / 0.9943 GB, free: 63.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004505/3.559, allocations: 45.31 kB / 0.9944 GB, free: 63.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004386/3.563, allocations: 1.744 MB / 0.9961 GB, free: 62.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/3.563, allocations: 0.6875 kB / 0.9961 GB, free: 62.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009188/3.573, allocations: 3.273 MB / 0.9993 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/3.574, allocations: 463.8 kB / 0.9997 GB, free: 62.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/3.575, allocations: 31.28 kB / 0.9998 GB, free: 62.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/3.577, allocations: 106.1 kB / 0.9999 GB, free: 62.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/3.577, allocations: 119.2 kB / 1 GB, free: 62.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002384/3.578, allocations: 61.53 kB / 1 GB, free: 62.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002117/3.58, allocations: 0.9015 MB / 1.001 GB, free: 62.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.62e-07/3.58, allocations: 0 / 1.001 GB, free: 62.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006844/3.587, allocations: 1.424 MB / 1.002 GB, free: 62.38 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.01449/3.601, allocations: 4.968 MB / 1.007 GB, free: 61.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/3.613, allocations: 2.949 MB / 1.01 GB, free: 61.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/3.613, allocations: 2.609 kB / 1.01 GB, free: 61.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003936/3.617, allocations: 0.9855 MB / 1.011 GB, free: 61.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/3.624, allocations: 0.684 MB / 1.012 GB, free: 61.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/3.637, allocations: 3.623 MB / 1.015 GB, free: 60.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/3.639, allocations: 1.407 MB / 1.017 GB, free: 60.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/3.64, allocations: 0.6576 MB / 1.017 GB, free: 60.11 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/3.64, allocations: 0 / 1.017 GB, free: 60.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.876/7.516, allocations: 48.51 MB / 1.065 GB, free: 57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat