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.184/2.184, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.208e-05, allocations: 0 / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.271, allocations: 339.5 MB / 0.6405 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.272, allocations: 84.02 kB / 0.6405 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733/3.005, allocations: 300.7 MB / 0.9342 GB, free: 39.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/3.005, allocations: 0 / 0.9342 GB, free: 39.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002471/3.005, allocations: 48.06 kB / 0.9342 GB, free: 39.85 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.009251/3.014, allocations: 2.061 MB / 0.9362 GB, free: 37.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/3.014, allocations: 8.031 kB / 0.9362 GB, free: 37.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/3.016, allocations: 203.2 kB / 0.9364 GB, free: 37.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/3.021, allocations: 1.272 MB / 0.9377 GB, free: 36.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/3.021, allocations: 142.4 kB / 0.9378 GB, free: 36.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005923/3.022, allocations: 68 kB / 0.9379 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004617/3.027, allocations: 1.746 MB / 0.9396 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/3.031, allocations: 1.755 MB / 0.9413 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/3.031, allocations: 0 / 0.9413 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/3.031, allocations: 4 kB / 0.9413 GB, free: 32.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002476/3.032, allocations: 118.1 kB / 0.9414 GB, free: 32.31 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.02275/3.054, allocations: 6.757 MB / 0.948 GB, free: 25.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/3.058, allocations: 1.274 MB / 0.9493 GB, free: 24.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/3.06, allocations: 0.7665 MB / 0.95 GB, free: 23.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/3.07, allocations: 4.427 MB / 0.9543 GB, free: 18.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/3.071, allocations: 51.88 kB / 0.9544 GB, free: 18.41 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001717/3.072, allocations: 174.9 kB / 0.9545 GB, free: 18.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 6.573e-06/3.072, allocations: 0 / 0.9545 GB, free: 18.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.02735/3.1, allocations: 4.99 MB / 0.9594 GB, free: 13.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/3.1, allocations: 226.9 kB / 0.9596 GB, free: 12.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/3.102, allocations: 0.8974 MB / 0.9605 GB, free: 12.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005206/3.103, allocations: 33.64 kB / 0.9605 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/3.103, allocations: 0.654 MB / 0.9612 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/3.104, allocations: 437.5 kB / 0.9616 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/3.104, allocations: 0 / 0.9616 GB, free: 10.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/3.104, allocations: 374.7 kB / 0.962 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/3.106, allocations: 0.7224 MB / 0.9627 GB, free: 9.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/3.108, allocations: 1.04 MB / 0.9637 GB, free: 8.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02043/3.129, allocations: 2.543 MB / 0.9662 GB, free: 6.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.415e-05/3.129, allocations: 4 kB / 0.9662 GB, free: 6.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.02473/3.154, allocations: 3.889 MB / 0.97 GB, free: 2.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.372/3.526, allocations: 2.964 MB / 0.9729 GB, free: 52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.658e-05/3.526, allocations: 10.06 kB / 0.9729 GB, free: 52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/3.538, allocations: 1.134 MB / 0.974 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/3.541, allocations: 335.8 kB / 0.9743 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/3.549, allocations: 2.107 MB / 0.9763 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/3.553, allocations: 77.73 kB / 0.9764 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007478/3.553, allocations: 83.02 kB / 0.9765 GB, free: 51.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/3.553, allocations: 7.312 kB / 0.9765 GB, free: 51.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02268/3.576, allocations: 3.251 MB / 0.9797 GB, free: 51.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-05/3.576, allocations: 10.48 kB / 0.9797 GB, free: 51.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009675/3.586, allocations: 0.882 MB / 0.9806 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/3.589, allocations: 349.4 kB / 0.9809 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/3.592, allocations: 1.314 MB / 0.9822 GB, free: 50.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/3.595, allocations: 66.61 kB / 0.9822 GB, free: 50.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/3.595, allocations: 72.17 kB / 0.9823 GB, free: 50.9 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.0006788/3.596, allocations: 147.8 kB / 0.9824 GB, free: 50.79 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01078/3.606, allocations: 2.203 MB / 0.9846 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007767/3.607, allocations: 145.4 kB / 0.9847 GB, free: 50.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/3.62, allocations: 2.639 MB / 0.9873 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/3.62, allocations: 15.67 kB / 0.9873 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/3.62, allocations: 3.906 kB / 0.9873 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.377e-05/3.62, allocations: 7.922 kB / 0.9873 GB, free: 50.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/3.636, allocations: 4.062 MB / 0.9913 GB, free: 50.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/3.636, allocations: 3.953 kB / 0.9913 GB, free: 50.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/3.638, allocations: 232.1 kB / 0.9915 GB, free: 50.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/3.643, allocations: 0.9218 MB / 0.9924 GB, free: 50.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/3.644, allocations: 26.67 kB / 0.9925 GB, free: 50.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006566/3.651, allocations: 2.099 MB / 0.9945 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/3.651, allocations: 0 / 0.9945 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/3.662, allocations: 3.444 MB / 0.9979 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/3.664, allocations: 432 kB / 0.9983 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005659/3.665, allocations: 7.641 kB / 0.9983 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/3.667, allocations: 76.36 kB / 0.9984 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/3.667, allocations: 117.7 kB / 0.9985 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/3.668, allocations: 60.94 kB / 0.9985 GB, free: 49.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001374/3.669, allocations: 0.6627 MB / 0.9992 GB, free: 49.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.669, allocations: 0 / 0.9992 GB, free: 49.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006448/3.676, allocations: 1.335 MB / 1 GB, free: 49.19 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.01625/3.692, allocations: 5.106 MB / 1.005 GB, free: 48.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009825/3.702, allocations: 2.866 MB / 1.008 GB, free: 48.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/3.702, allocations: 5.812 kB / 1.008 GB, free: 48.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/3.705, allocations: 0.9618 MB / 1.009 GB, free: 48.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/3.711, allocations: 0.6116 MB / 1.01 GB, free: 48.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/3.723, allocations: 3.446 MB / 1.013 GB, free: 47.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/3.724, allocations: 1.412 MB / 1.015 GB, free: 46.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/3.726, allocations: 0.6367 MB / 1.015 GB, free: 46.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.143e-06/3.726, allocations: 0 / 1.015 GB, free: 46.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.006/7.732, allocations: 47.24 MB / 1.061 GB, free: 43.5 MB / 426.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