Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.9 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.97e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.105/8.234, allocations: 2.496 GB / 2.811 GB, free: 67.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/8.234, allocations: 87.45 kB / 2.811 GB, free: 67.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169/9.404, allocations: 231.2 MB / 3.036 GB, free: 5.633 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/9.404, allocations: 0 / 3.036 GB, free: 5.633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.285e-05/9.404, allocations: 15.98 kB / 3.037 GB, free: 5.617 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006135/9.41, allocations: 1.263 MB / 3.038 GB, free: 4.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/9.41, allocations: 8.031 kB / 3.038 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/9.41, allocations: 74.47 kB / 3.038 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/9.413, allocations: 243.2 kB / 3.038 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/9.414, allocations: 428.2 kB / 3.038 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/9.414, allocations: 32.78 kB / 3.038 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/9.414, allocations: 28 kB / 3.039 GB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/9.416, allocations: 0.6245 MB / 3.039 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/9.416, allocations: 11.89 kB / 3.039 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/9.416, allocations: 16 kB / 3.039 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/9.416, allocations: 8 kB / 3.039 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/9.418, allocations: 0.5221 MB / 3.04 GB, free: 2.234 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.3316/9.749, allocations: 2.643 MB / 3.042 GB, free: 46.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/9.752, allocations: 499.2 kB / 3.043 GB, free: 46.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/9.752, allocations: 142.1 kB / 3.043 GB, free: 46.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2049/9.957, allocations: 55.1 MB / 3.097 GB, free: 32.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/9.957, allocations: 32.91 kB / 3.097 GB, free: 32.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.965e-06/9.957, allocations: 0 / 3.097 GB, free: 32.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002858/9.96, allocations: 0.6525 MB / 3.097 GB, free: 31.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/9.96, allocations: 110.5 kB / 3.097 GB, free: 31.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/9.961, allocations: 315.1 kB / 3.098 GB, free: 31.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/9.961, allocations: 32.36 kB / 3.098 GB, free: 31.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/9.961, allocations: 291.1 kB / 3.098 GB, free: 31.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/9.961, allocations: 99.5 kB / 3.098 GB, free: 31.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/9.961, allocations: 6.875 kB / 3.098 GB, free: 31.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/9.961, allocations: 329 kB / 3.098 GB, free: 31.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/9.962, allocations: 111 kB / 3.099 GB, free: 31.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/9.962, allocations: 266.8 kB / 3.099 GB, free: 30.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/9.962, allocations: 139.5 kB / 3.099 GB, free: 30.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/9.962, allocations: 0 / 3.099 GB, free: 30.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009832/9.963, allocations: 408.6 kB / 3.099 GB, free: 30.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007266/9.964, allocations: 1.832 MB / 3.101 GB, free: 29.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/9.964, allocations: 4.781 kB / 3.101 GB, free: 29.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/9.964, allocations: 11.64 kB / 3.101 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/9.965, allocations: 118.6 kB / 3.101 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/9.965, allocations: 11.22 kB / 3.101 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/9.966, allocations: 77.55 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/9.966, allocations: 24.64 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/9.966, allocations: 3.812 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008714/9.967, allocations: 362.6 kB / 3.102 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/9.967, allocations: 6.344 kB / 3.102 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/9.967, allocations: 7.906 kB / 3.102 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/9.968, allocations: 109.8 kB / 3.102 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/9.968, allocations: 17.72 kB / 3.102 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005151/9.968, allocations: 60.8 kB / 3.102 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/9.968, allocations: 23.86 kB / 3.102 GB, free: 28.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/9.968, allocations: 141.8 kB / 3.102 GB, free: 28.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/9.969, allocations: 41.53 kB / 3.102 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/9.971, allocations: 1.899 MB / 3.104 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/9.971, allocations: 27.52 kB / 3.104 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/9.971, allocations: 5.656 kB / 3.104 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/9.971, allocations: 10.59 kB / 3.104 GB, free: 28.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/9.973, allocations: 1.035 MB / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/9.973, allocations: 0 / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/9.974, allocations: 89.03 kB / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/9.974, allocations: 0 / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/9.974, allocations: 7.25 kB / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/9.974, allocations: 3.281 kB / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/9.974, allocations: 0 / 3.105 GB, free: 28.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/9.975, allocations: 1.031 MB / 3.106 GB, free: 28.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/9.976, allocations: 263.1 kB / 3.106 GB, free: 27.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/9.976, allocations: 2.562 kB / 3.106 GB, free: 27.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/9.976, allocations: 40.2 kB / 3.106 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/9.976, allocations: 32.78 kB / 3.106 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/9.976, allocations: 17.45 kB / 3.106 GB, free: 27.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004919/9.977, allocations: 307.3 kB / 3.107 GB, free: 27.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/9.977, allocations: 4 kB / 3.107 GB, free: 27.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006178/9.983, allocations: 1.156 MB / 3.108 GB, free: 27.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/9.995, allocations: 2.899 MB / 3.111 GB, free: 27.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001761/9.997, allocations: 0.7404 MB / 3.111 GB, free: 27.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/9.997, allocations: 0 / 3.111 GB, free: 27.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007647/9.998, allocations: 494.5 kB / 3.112 GB, free: 27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/10, allocations: 209 kB / 3.112 GB, free: 27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2449/10.25, allocations: 80.51 MB / 3.191 GB, free: 5.898 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/10.25, allocations: 1.003 MB / 3.192 GB, free: 4.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/10.25, allocations: 285.2 kB / 3.192 GB, free: 4.941 MB / 442.7 MB Notification: Performance of SimCode: time 1.342e-06/10.25, allocations: 0 / 3.192 GB, free: 4.941 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.764/14.01, allocations: 30.47 MB / 3.222 GB, free: 75.38 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat