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.019/2.019, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.38e-05, allocations: 7.984 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.087/8.201, allocations: 2.485 GB / 2.799 GB, free: 83.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/8.202, allocations: 85.64 kB / 2.799 GB, free: 83.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.367/12.57, allocations: 0.7915 GB / 3.591 GB, free: 30.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/12.57, allocations: 3.406 kB / 3.591 GB, free: 30.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001516/12.57, allocations: 38.45 kB / 3.591 GB, free: 30.8 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.01138/12.58, allocations: 2.51 MB / 3.593 GB, free: 29.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/12.58, allocations: 13.38 kB / 3.593 GB, free: 29.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005207/12.58, allocations: 194.3 kB / 3.593 GB, free: 29.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/12.59, allocations: 456.3 kB / 3.594 GB, free: 29.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/12.59, allocations: 0.9944 MB / 3.595 GB, free: 29.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/12.59, allocations: 111.9 kB / 3.595 GB, free: 29.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/12.59, allocations: 122.1 kB / 3.595 GB, free: 29.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005863/12.6, allocations: 1.916 MB / 3.597 GB, free: 28.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.342e-05/12.6, allocations: 11.16 kB / 3.597 GB, free: 28.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/12.6, allocations: 57.88 kB / 3.597 GB, free: 28.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/12.6, allocations: 58.39 kB / 3.597 GB, free: 28.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005328/12.6, allocations: 1.554 MB / 3.598 GB, free: 28.84 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.01401/12.62, allocations: 9.408 MB / 3.608 GB, free: 22.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/12.62, allocations: 1.053 MB / 3.609 GB, free: 22.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009233/12.62, allocations: 411.5 kB / 3.609 GB, free: 22.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01279/12.63, allocations: 5.428 MB / 3.614 GB, free: 18.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/12.63, allocations: 52.77 kB / 3.614 GB, free: 18.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 3.026e-06/12.63, allocations: 0 / 3.614 GB, free: 18.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=134): time 0.04861/12.68, allocations: 6.969 MB / 3.621 GB, free: 17.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/12.68, allocations: 119.4 kB / 3.621 GB, free: 17.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/12.68, allocations: 0.6901 MB / 3.622 GB, free: 17.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000315/12.68, allocations: 49.33 kB / 3.622 GB, free: 17.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/12.68, allocations: 0.6642 MB / 3.623 GB, free: 16.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/12.68, allocations: 457.5 kB / 3.623 GB, free: 16.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/12.68, allocations: 29.97 kB / 3.623 GB, free: 16.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/12.68, allocations: 367.1 kB / 3.624 GB, free: 16.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/12.69, allocations: 0.5292 MB / 3.624 GB, free: 16.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/12.69, allocations: 0.9409 MB / 3.625 GB, free: 15.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/12.69, allocations: 0.6504 MB / 3.626 GB, free: 15.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/12.69, allocations: 3.188 kB / 3.626 GB, free: 15.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00908/12.7, allocations: 2.27 MB / 3.628 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001106/12.7, allocations: 5.052 MB / 3.633 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/12.7, allocations: 10.81 kB / 3.633 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008887/12.71, allocations: 1.196 MB / 3.634 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/12.71, allocations: 279.3 kB / 3.634 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/12.72, allocations: 7.035 MB / 3.641 GB, free: 20.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/12.72, allocations: 190.9 kB / 3.641 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/12.72, allocations: 90.92 kB / 3.641 GB, free: 20.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/12.72, allocations: 5.625 kB / 3.641 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009152/12.73, allocations: 2.158 MB / 3.643 GB, free: 20.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/12.73, allocations: 15.59 kB / 3.643 GB, free: 20.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006624/12.74, allocations: 0.9677 MB / 3.644 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/12.74, allocations: 303 kB / 3.645 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009505/12.75, allocations: 6.862 MB / 3.651 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/12.75, allocations: 183.9 kB / 3.652 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/12.76, allocations: 83.17 kB / 3.652 GB, free: 14.91 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.0006111/12.76, allocations: 204 kB / 3.652 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/12.76, allocations: 126.8 kB / 3.652 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/12.77, allocations: 5.112 MB / 3.657 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/12.77, allocations: 45.5 kB / 3.657 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/12.77, allocations: 0 / 3.657 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/12.77, allocations: 7.266 kB / 3.657 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/12.78, allocations: 8.004 MB / 3.665 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/12.78, allocations: 3.969 kB / 3.665 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/12.79, allocations: 177.6 kB / 3.665 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00927/12.79, allocations: 2.176 MB / 3.667 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003197/12.8, allocations: 36.47 kB / 3.667 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/12.81, allocations: 8.124 MB / 3.675 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/12.81, allocations: 1.875 kB / 3.675 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009741/12.82, allocations: 4.125 MB / 3.679 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/12.82, allocations: 433.2 kB / 3.68 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/12.82, allocations: 30.69 kB / 3.68 GB, free: 6.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/12.82, allocations: 210.1 kB / 3.68 GB, free: 6.762 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/12.82, allocations: 130.1 kB / 3.68 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/12.82, allocations: 59.78 kB / 3.68 GB, free: 6.754 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001216/12.82, allocations: 0.5995 MB / 3.681 GB, free: 6.637 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.4e-07/12.82, allocations: 0 / 3.681 GB, free: 6.637 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01082/12.83, allocations: 2.022 MB / 3.683 GB, free: 6.395 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.02279/12.86, allocations: 6.26 MB / 3.689 GB, free: 20.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0134/12.87, allocations: 3.27 MB / 3.692 GB, free: 20.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/12.87, allocations: 3.75 kB / 3.692 GB, free: 20.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00502/12.87, allocations: 1.582 MB / 3.693 GB, free: 19.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004925/12.88, allocations: 0.5141 MB / 3.694 GB, free: 19.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6485/13.53, allocations: 77.6 MB / 3.77 GB, free: 56.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/13.53, allocations: 1.449 MB / 3.771 GB, free: 55.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/13.53, allocations: 0.677 MB / 3.772 GB, free: 55.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/13.53, allocations: 0.8438 kB / 3.772 GB, free: 55.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.004/18.53, allocations: 118.2 MB / 3.887 GB, free: 16.25 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