Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.755e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.062/8.171, allocations: 2.503 GB / 2.818 GB, free: 60.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/8.171, allocations: 85.12 kB / 2.818 GB, free: 59.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.293/12.46, allocations: 0.7374 GB / 3.555 GB, free: 32.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.265e-06/12.46, allocations: 0 / 3.555 GB, free: 32.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001839/12.46, allocations: 35.75 kB / 3.555 GB, free: 32.83 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01309/12.48, allocations: 2.63 MB / 3.558 GB, free: 31.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/12.48, allocations: 9.844 kB / 3.558 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005984/12.48, allocations: 170.2 kB / 3.558 GB, free: 31.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007616/12.49, allocations: 0.6226 MB / 3.559 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/12.49, allocations: 1.008 MB / 3.56 GB, free: 31.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/12.49, allocations: 97.88 kB / 3.56 GB, free: 31.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/12.49, allocations: 110.1 kB / 3.56 GB, free: 31.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006866/12.5, allocations: 1.925 MB / 3.562 GB, free: 30.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/12.5, allocations: 3.938 kB / 3.562 GB, free: 30.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/12.5, allocations: 55.75 kB / 3.562 GB, free: 30.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-05/12.5, allocations: 41.67 kB / 3.562 GB, free: 30.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007241/12.5, allocations: 1.622 MB / 3.563 GB, free: 30.89 MB / 458.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.01884/12.52, allocations: 9.302 MB / 3.572 GB, free: 24.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/12.53, allocations: 1.402 MB / 3.574 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/12.53, allocations: 451.6 kB / 3.574 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06519/12.6, allocations: 21.57 MB / 3.595 GB, free: 26.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.429e-05/12.6, allocations: 45.75 kB / 3.595 GB, free: 26.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 3.637e-06/12.6, allocations: 0 / 3.595 GB, free: 26.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.07389/12.67, allocations: 8.025 MB / 3.603 GB, free: 25.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/12.67, allocations: 171.4 kB / 3.603 GB, free: 25.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/12.67, allocations: 0.7254 MB / 3.604 GB, free: 25.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004749/12.67, allocations: 48.33 kB / 3.604 GB, free: 25.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/12.67, allocations: 0.619 MB / 3.605 GB, free: 25.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005876/12.67, allocations: 451.9 kB / 3.605 GB, free: 24.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/12.67, allocations: 29.78 kB / 3.605 GB, free: 24.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/12.67, allocations: 370.8 kB / 3.605 GB, free: 24.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/12.68, allocations: 0.5687 MB / 3.606 GB, free: 24.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/12.68, allocations: 0.9722 MB / 3.607 GB, free: 24.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/12.68, allocations: 0.6925 MB / 3.608 GB, free: 24.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/12.68, allocations: 3.969 kB / 3.608 GB, free: 24.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006472/12.69, allocations: 1.98 MB / 3.61 GB, free: 23.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002183/12.69, allocations: 4.622 MB / 3.614 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-05/12.69, allocations: 10.19 kB / 3.614 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/12.7, allocations: 1.308 MB / 3.615 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/12.7, allocations: 441.2 kB / 3.616 GB, free: 19.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/12.71, allocations: 3.09 MB / 3.619 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/12.71, allocations: 237.8 kB / 3.619 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004485/12.71, allocations: 103.2 kB / 3.619 GB, free: 17.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/12.71, allocations: 5.406 kB / 3.619 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005678/12.72, allocations: 1.768 MB / 3.621 GB, free: 16.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/12.72, allocations: 18.38 kB / 3.621 GB, free: 16.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/12.72, allocations: 0.5391 MB / 3.621 GB, free: 16.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/12.73, allocations: 0.5757 MB / 3.622 GB, free: 16.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/12.73, allocations: 1.645 MB / 3.624 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/12.73, allocations: 228.8 kB / 3.624 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/12.73, allocations: 99.58 kB / 3.624 GB, free: 15.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007562/12.74, allocations: 198.7 kB / 3.624 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/12.74, allocations: 132.9 kB / 3.624 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/12.75, allocations: 7.215 MB / 3.631 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/12.75, allocations: 76.58 kB / 3.631 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/12.75, allocations: 3.781 kB / 3.631 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-05/12.75, allocations: 12.23 kB / 3.631 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/12.77, allocations: 9.467 MB / 3.641 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/12.77, allocations: 0 / 3.641 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/12.77, allocations: 333.6 kB / 3.641 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/12.78, allocations: 2.711 MB / 3.644 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003809/12.78, allocations: 47.98 kB / 3.644 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007621/12.79, allocations: 4.38 MB / 3.648 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/12.79, allocations: 0 / 3.648 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009542/12.8, allocations: 4.602 MB / 3.652 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/12.8, allocations: 0.5399 MB / 3.653 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/12.8, allocations: 29 kB / 3.653 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00275/12.81, allocations: 225.2 kB / 3.653 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/12.81, allocations: 135.2 kB / 3.653 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/12.81, allocations: 68.14 kB / 3.653 GB, free: 11.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001251/12.81, allocations: 0.6324 MB / 3.654 GB, free: 11.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.61e-07/12.81, allocations: 0.75 kB / 3.654 GB, free: 11.08 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01034/12.82, allocations: 2.022 MB / 3.656 GB, free: 10.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02239/12.84, allocations: 7.033 MB / 3.663 GB, free: 9.148 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0111/12.85, allocations: 3.456 MB / 3.666 GB, free: 9.078 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/12.85, allocations: 2.438 kB / 3.666 GB, free: 9.078 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004934/12.86, allocations: 2.028 MB / 3.668 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/12.86, allocations: 0.5477 MB / 3.669 GB, free: 9.012 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6758/13.54, allocations: 79.18 MB / 3.746 GB, free: 56.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/13.54, allocations: 1.64 MB / 3.748 GB, free: 56.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/13.54, allocations: 0.8586 MB / 3.748 GB, free: 56.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/13.54, allocations: 0 / 3.748 GB, free: 56.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.917/18.46, allocations: 93.38 MB / 3.84 GB, free: 45.03 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat