Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.5e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.765/7.873, allocations: 2.485 GB / 2.794 GB, free: 103.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/7.874, allocations: 87.47 kB / 2.794 GB, free: 103.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.796/9.67, allocations: 343.4 MB / 3.129 GB, free: 45.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/9.67, allocations: 0 / 3.129 GB, free: 45.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.704e-05/9.67, allocations: 24.62 kB / 3.129 GB, free: 45.92 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007443/9.678, allocations: 1.619 MB / 3.131 GB, free: 45.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/9.678, allocations: 11.38 kB / 3.131 GB, free: 45.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004831/9.683, allocations: 402.9 kB / 3.131 GB, free: 45.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/9.684, allocations: 0.5727 MB / 3.132 GB, free: 44.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/9.685, allocations: 91.45 kB / 3.132 GB, free: 44.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/9.685, allocations: 33.41 kB / 3.132 GB, free: 44.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00177/9.686, allocations: 0.7313 MB / 3.133 GB, free: 44.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/9.688, allocations: 0.8274 MB / 3.133 GB, free: 44.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/9.688, allocations: 9.25 kB / 3.133 GB, free: 44.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/9.688, allocations: 3.953 kB / 3.133 GB, free: 44.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/9.689, allocations: 33.06 kB / 3.133 GB, free: 44.57 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.1267/9.815, allocations: 36.85 MB / 3.169 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/9.816, allocations: 482 kB / 3.17 GB, free: 25.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/9.817, allocations: 257.7 kB / 3.17 GB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09885/9.916, allocations: 31.51 MB / 3.201 GB, free: 20.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/9.916, allocations: 41.06 kB / 3.201 GB, free: 20.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/9.916, allocations: 0 / 3.201 GB, free: 20.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.02768/9.944, allocations: 3.278 MB / 3.204 GB, free: 17.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/9.944, allocations: 108 kB / 3.204 GB, free: 17.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/9.944, allocations: 408 kB / 3.205 GB, free: 17.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/9.945, allocations: 25.7 kB / 3.205 GB, free: 17.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/9.945, allocations: 410.4 kB / 3.205 GB, free: 16.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/9.945, allocations: 180.2 kB / 3.205 GB, free: 16.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/9.945, allocations: 1.312 kB / 3.205 GB, free: 16.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/9.945, allocations: 340.6 kB / 3.205 GB, free: 16.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/9.946, allocations: 393.8 kB / 3.206 GB, free: 16.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009681/9.947, allocations: 0.6168 MB / 3.206 GB, free: 15.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/9.95, allocations: 0.6774 MB / 3.207 GB, free: 14.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/9.95, allocations: 4 kB / 3.207 GB, free: 14.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005526/9.956, allocations: 1.581 MB / 3.209 GB, free: 13.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001121/9.957, allocations: 2.706 MB / 3.211 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/9.957, allocations: 11.69 kB / 3.211 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/9.96, allocations: 1.079 MB / 3.212 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/9.961, allocations: 141.3 kB / 3.213 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005819/9.967, allocations: 2.893 MB / 3.215 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/9.968, allocations: 98.16 kB / 3.215 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/9.969, allocations: 42.42 kB / 3.215 GB, free: 6.938 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/9.969, allocations: 4.094 kB / 3.215 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003349/9.972, allocations: 0.9763 MB / 3.216 GB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/9.972, allocations: 4 kB / 3.216 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007075/9.973, allocations: 255.6 kB / 3.217 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/9.974, allocations: 192.5 kB / 3.217 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/9.979, allocations: 4.269 MB / 3.221 GB, free: 17.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/9.98, allocations: 63.64 kB / 3.221 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/9.98, allocations: 40.28 kB / 3.221 GB, free: 17.28 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004533/9.98, allocations: 135.2 kB / 3.221 GB, free: 17.14 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00481/9.985, allocations: 1.321 MB / 3.223 GB, free: 16.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/9.985, allocations: 60.67 kB / 3.223 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00989/9.995, allocations: 4.204 MB / 3.227 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/9.995, allocations: 36.12 kB / 3.227 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/9.995, allocations: 0 / 3.227 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/9.995, allocations: 3.516 kB / 3.227 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/10.01, allocations: 5.783 MB / 3.232 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/10.01, allocations: 0 / 3.232 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/10.01, allocations: 63.11 kB / 3.232 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005768/10.01, allocations: 2.496 MB / 3.235 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/10.02, allocations: 7.797 kB / 3.235 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/10.02, allocations: 4.574 MB / 3.239 GB, free: 1.117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/10.02, allocations: 3.938 kB / 3.239 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3262/10.35, allocations: 3.236 MB / 3.243 GB, free: 76.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/10.35, allocations: 331.7 kB / 3.243 GB, free: 75.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/10.35, allocations: 0 / 3.243 GB, free: 75.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/10.35, allocations: 72.38 kB / 3.243 GB, free: 75.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/10.35, allocations: 68.64 kB / 3.243 GB, free: 75.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/10.35, allocations: 25.53 kB / 3.243 GB, free: 75.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006912/10.35, allocations: 352.2 kB / 3.243 GB, free: 75.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.35, allocations: 0.9688 kB / 3.243 GB, free: 75.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007955/10.36, allocations: 1.352 MB / 3.245 GB, free: 75.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01878/10.38, allocations: 4.923 MB / 3.249 GB, free: 75.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007895/10.39, allocations: 2.12 MB / 3.252 GB, free: 74.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/10.39, allocations: 2.531 kB / 3.252 GB, free: 74.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/10.39, allocations: 1.116 MB / 3.253 GB, free: 74.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/10.4, allocations: 258.7 kB / 3.253 GB, free: 74.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/10.41, allocations: 2.569 MB / 3.255 GB, free: 74.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009826/10.41, allocations: 1.159 MB / 3.257 GB, free: 73.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/10.41, allocations: 379.3 kB / 3.257 GB, free: 73.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/10.41, allocations: 0 / 3.257 GB, free: 73.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.028/14.44, allocations: 51.28 MB / 3.307 GB, free: 70.93 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat