Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.127/2.127, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.759e-05, allocations: 8 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.029/8.141, allocations: 2.485 GB / 2.799 GB, free: 80.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/8.141, allocations: 86.88 kB / 2.799 GB, free: 80.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.374/12.51, allocations: 0.7915 GB / 3.591 GB, free: 29.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.006e-06/12.51, allocations: 0 / 3.591 GB, free: 29.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001396/12.51, allocations: 35.75 kB / 3.591 GB, free: 29.93 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01175/12.53, allocations: 2.52 MB / 3.593 GB, free: 28.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/12.53, allocations: 10.88 kB / 3.593 GB, free: 28.82 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005197/12.53, allocations: 193.8 kB / 3.593 GB, free: 28.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/12.53, allocations: 456.3 kB / 3.594 GB, free: 28.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/12.54, allocations: 0.9998 MB / 3.595 GB, free: 28.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/12.54, allocations: 107.7 kB / 3.595 GB, free: 28.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/12.54, allocations: 122.7 kB / 3.595 GB, free: 28.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006203/12.54, allocations: 1.936 MB / 3.597 GB, free: 27.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/12.54, allocations: 3.562 kB / 3.597 GB, free: 27.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/12.54, allocations: 59.75 kB / 3.597 GB, free: 27.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.269e-05/12.54, allocations: 59.81 kB / 3.597 GB, free: 27.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00583/12.55, allocations: 1.583 MB / 3.599 GB, free: 27.96 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.01486/12.56, allocations: 9.406 MB / 3.608 GB, free: 21.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/12.57, allocations: 1.055 MB / 3.609 GB, free: 21.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009547/12.57, allocations: 417.4 kB / 3.609 GB, free: 21.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/12.58, allocations: 5.425 MB / 3.614 GB, free: 17.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/12.58, allocations: 45.08 kB / 3.614 GB, free: 17.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.276e-06/12.58, allocations: 0 / 3.614 GB, free: 17.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=134): time 0.04846/12.63, allocations: 6.973 MB / 3.621 GB, free: 16.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/12.63, allocations: 120 kB / 3.621 GB, free: 16.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/12.63, allocations: 0.6845 MB / 3.622 GB, free: 16.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/12.63, allocations: 49.86 kB / 3.622 GB, free: 16.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/12.63, allocations: 0.6636 MB / 3.623 GB, free: 15.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006537/12.63, allocations: 459.7 kB / 3.623 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/12.63, allocations: 30.25 kB / 3.623 GB, free: 15.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/12.63, allocations: 367.3 kB / 3.624 GB, free: 15.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/12.63, allocations: 0.5241 MB / 3.624 GB, free: 15.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/12.64, allocations: 0.9577 MB / 3.625 GB, free: 14.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/12.64, allocations: 0.6525 MB / 3.626 GB, free: 14.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/12.64, allocations: 5.562 kB / 3.626 GB, free: 14.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009994/12.65, allocations: 2.302 MB / 3.628 GB, free: 14.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001827/12.65, allocations: 5.048 MB / 3.633 GB, free: 25.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-05/12.65, allocations: 10.25 kB / 3.633 GB, free: 25.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00907/12.66, allocations: 1.204 MB / 3.634 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/12.66, allocations: 275 kB / 3.634 GB, free: 25.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/12.67, allocations: 7.044 MB / 3.641 GB, free: 19.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/12.68, allocations: 185.7 kB / 3.641 GB, free: 19.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/12.68, allocations: 91.44 kB / 3.641 GB, free: 19.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/12.68, allocations: 7.656 kB / 3.641 GB, free: 19.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009803/12.69, allocations: 2.196 MB / 3.644 GB, free: 19.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.253e-05/12.69, allocations: 10.5 kB / 3.644 GB, free: 19.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/12.69, allocations: 0.97 MB / 3.645 GB, free: 19.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/12.7, allocations: 302.3 kB / 3.645 GB, free: 19.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009829/12.71, allocations: 6.868 MB / 3.652 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/12.71, allocations: 183.8 kB / 3.652 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/12.71, allocations: 89.11 kB / 3.652 GB, free: 14.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 8,2 6,2 8,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006706/12.71, allocations: 197.9 kB / 3.652 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005062/12.71, allocations: 125 kB / 3.652 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/12.72, allocations: 5.125 MB / 3.657 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/12.72, allocations: 43.92 kB / 3.657 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/12.72, allocations: 0 / 3.657 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.285e-05/12.72, allocations: 7.594 kB / 3.657 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/12.74, allocations: 8.014 MB / 3.665 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-05/12.74, allocations: 3.531 kB / 3.665 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/12.74, allocations: 176.2 kB / 3.665 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009091/12.75, allocations: 2.184 MB / 3.667 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/12.75, allocations: 36.78 kB / 3.667 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/12.76, allocations: 8.123 MB / 3.675 GB, free: 6.645 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/12.76, allocations: 6.469 kB / 3.675 GB, free: 6.645 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/12.77, allocations: 4.118 MB / 3.679 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/12.77, allocations: 434.6 kB / 3.68 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/12.77, allocations: 25.81 kB / 3.68 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/12.78, allocations: 213.3 kB / 3.68 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004816/12.78, allocations: 128.4 kB / 3.68 GB, free: 5.867 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/12.78, allocations: 66.83 kB / 3.68 GB, free: 5.863 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001194/12.78, allocations: 0.5989 MB / 3.681 GB, free: 5.746 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.82e-07/12.78, allocations: 0 / 3.681 GB, free: 5.746 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009925/12.79, allocations: 2.028 MB / 3.683 GB, free: 5.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02211/12.81, allocations: 6.236 MB / 3.689 GB, free: 19.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01302/12.82, allocations: 3.34 MB / 3.692 GB, free: 19.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/12.82, allocations: 3.312 kB / 3.692 GB, free: 19.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004827/12.83, allocations: 1.594 MB / 3.694 GB, free: 18.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/12.83, allocations: 0.5221 MB / 3.694 GB, free: 18.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6439/13.48, allocations: 77.6 MB / 3.77 GB, free: 55.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/13.48, allocations: 1.449 MB / 3.771 GB, free: 54.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/13.48, allocations: 0.6779 MB / 3.772 GB, free: 54.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/13.48, allocations: 3.188 kB / 3.772 GB, free: 54.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.116/18.6, allocations: 118.1 MB / 3.887 GB, free: 14.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat