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.157/2.157, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.184e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.098/8.214, allocations: 2.503 GB / 2.818 GB, free: 58.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/8.214, allocations: 82.08 kB / 2.818 GB, free: 58.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.821/12.04, allocations: 0.7374 GB / 3.555 GB, free: 4.332 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.934e-06/12.04, allocations: 4 kB / 3.555 GB, free: 4.328 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001393/12.04, allocations: 39.98 kB / 3.555 GB, free: 4.289 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.01181/12.05, allocations: 2.628 MB / 3.558 GB, free: 1.609 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/12.05, allocations: 8.031 kB / 3.558 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004972/12.05, allocations: 173.2 kB / 3.558 GB, free: 1.422 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/12.06, allocations: 0.6201 MB / 3.559 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3913/12.45, allocations: 0.9919 MB / 3.56 GB, free: 29.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/12.45, allocations: 99.16 kB / 3.56 GB, free: 29.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/12.45, allocations: 115.5 kB / 3.56 GB, free: 29.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/12.45, allocations: 1.905 MB / 3.562 GB, free: 29.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/12.45, allocations: 4.938 kB / 3.562 GB, free: 29.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/12.46, allocations: 55.16 kB / 3.562 GB, free: 29.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.755e-05/12.46, allocations: 48.83 kB / 3.562 GB, free: 29.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007325/12.46, allocations: 1.596 MB / 3.563 GB, free: 29.22 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.01674/12.48, allocations: 9.303 MB / 3.572 GB, free: 22.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005961/12.49, allocations: 1.387 MB / 3.574 GB, free: 22.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/12.49, allocations: 456.7 kB / 3.574 GB, free: 22.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06815/12.55, allocations: 21.58 MB / 3.595 GB, free: 25.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/12.56, allocations: 43.34 kB / 3.595 GB, free: 25.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 4.057e-06/12.56, allocations: 3.094 kB / 3.595 GB, free: 25.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.07199/12.63, allocations: 8.01 MB / 3.603 GB, free: 24.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/12.63, allocations: 176.2 kB / 3.603 GB, free: 24.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/12.63, allocations: 0.7306 MB / 3.604 GB, free: 24.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003539/12.63, allocations: 46.45 kB / 3.604 GB, free: 24.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/12.63, allocations: 0.6258 MB / 3.605 GB, free: 23.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005644/12.63, allocations: 455.3 kB / 3.605 GB, free: 23.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/12.63, allocations: 29.53 kB / 3.605 GB, free: 23.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/12.63, allocations: 366 kB / 3.605 GB, free: 23.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/12.63, allocations: 0.5664 MB / 3.606 GB, free: 23.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/12.63, allocations: 0.9655 MB / 3.607 GB, free: 22.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/12.64, allocations: 0.6839 MB / 3.608 GB, free: 22.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/12.64, allocations: 3.125 kB / 3.608 GB, free: 22.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005691/12.64, allocations: 1.953 MB / 3.609 GB, free: 22.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001796/12.64, allocations: 4.611 MB / 3.614 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.918e-05/12.64, allocations: 15.25 kB / 3.614 GB, free: 17.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/12.65, allocations: 1.312 MB / 3.615 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/12.66, allocations: 441.7 kB / 3.616 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006335/12.66, allocations: 3.093 MB / 3.619 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/12.67, allocations: 229.9 kB / 3.619 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/12.67, allocations: 104.9 kB / 3.619 GB, free: 15.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/12.67, allocations: 7.5 kB / 3.619 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005532/12.67, allocations: 1.734 MB / 3.621 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/12.67, allocations: 13.81 kB / 3.621 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/12.68, allocations: 0.5409 MB / 3.621 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005775/12.68, allocations: 0.5665 MB / 3.622 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/12.69, allocations: 1.65 MB / 3.623 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/12.69, allocations: 228.7 kB / 3.624 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/12.69, allocations: 101.4 kB / 3.624 GB, free: 14.57 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.0007457/12.69, allocations: 208.6 kB / 3.624 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/12.69, allocations: 127.7 kB / 3.624 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/12.71, allocations: 7.2 MB / 3.631 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001365/12.71, allocations: 80.83 kB / 3.631 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/12.71, allocations: 5.359 kB / 3.631 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/12.71, allocations: 7.406 kB / 3.631 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/12.73, allocations: 9.468 MB / 3.64 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-05/12.73, allocations: 3.938 kB / 3.64 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/12.73, allocations: 334.2 kB / 3.641 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/12.74, allocations: 2.707 MB / 3.643 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003935/12.74, allocations: 46.44 kB / 3.643 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007692/12.75, allocations: 4.379 MB / 3.648 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/12.75, allocations: 0 / 3.648 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009242/12.76, allocations: 4.595 MB / 3.652 GB, free: 26.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001709/12.76, allocations: 0.5406 MB / 3.653 GB, free: 26.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/12.76, allocations: 25.31 kB / 3.653 GB, free: 26.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/12.76, allocations: 230 kB / 3.653 GB, free: 26.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/12.76, allocations: 138.2 kB / 3.653 GB, free: 26.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/12.76, allocations: 62.33 kB / 3.653 GB, free: 26.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001359/12.76, allocations: 0.6317 MB / 3.654 GB, free: 25.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.51e-07/12.76, allocations: 0 / 3.654 GB, free: 25.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01182/12.78, allocations: 2.03 MB / 3.656 GB, free: 25.82 MB / 490.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.02329/12.8, allocations: 7.046 MB / 3.663 GB, free: 24.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01146/12.81, allocations: 3.412 MB / 3.666 GB, free: 24.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/12.81, allocations: 0 / 3.666 GB, free: 24.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005223/12.82, allocations: 2.03 MB / 3.668 GB, free: 24.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/12.82, allocations: 0.5462 MB / 3.669 GB, free: 24.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6807/13.5, allocations: 78.62 MB / 3.745 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/13.51, allocations: 1.639 MB / 3.747 GB, free: 55.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/13.51, allocations: 0.8521 MB / 3.748 GB, free: 55.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.734e-06/13.51, allocations: 3.656 kB / 3.748 GB, free: 55.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.742/18.25, allocations: 93.56 MB / 3.839 GB, free: 46.78 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