Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.307e-05, allocations: 8 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4426, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.784/9.226, allocations: 2.788 GB / 3.188 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/9.227, allocations: 90.56 kB / 3.188 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.329/13.56, allocations: 0.7706 GB / 3.959 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.264e-06/13.56, allocations: 0 / 3.959 GB, free: 47.55 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001757/13.56, allocations: 42.92 kB / 3.959 GB, free: 47.55 MB / 0.5573 GB 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.01328/13.57, allocations: 2.712 MB / 3.961 GB, free: 46.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/13.57, allocations: 7.781 kB / 3.961 GB, free: 46.51 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006228/13.57, allocations: 172.2 kB / 3.961 GB, free: 46.47 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007735/13.58, allocations: 0.6549 MB / 3.962 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/13.58, allocations: 0.9689 MB / 3.963 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/13.58, allocations: 100.9 kB / 3.963 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/13.58, allocations: 107.8 kB / 3.963 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/13.59, allocations: 1.92 MB / 3.965 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/13.59, allocations: 4.969 kB / 3.965 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002913/13.59, allocations: 55.09 kB / 3.965 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/13.59, allocations: 45.03 kB / 3.965 GB, free: 45.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006356/13.6, allocations: 1.608 MB / 3.967 GB, free: 45.65 MB / 0.5573 GB 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.01724/13.61, allocations: 9.492 MB / 3.976 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006259/13.62, allocations: 1.425 MB / 3.977 GB, free: 39.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/13.62, allocations: 453.1 kB / 3.978 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07634/13.7, allocations: 24.34 MB / 4.002 GB, free: 24.41 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/13.7, allocations: 42.44 kB / 4.002 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=94): time 4.559e-06/13.7, allocations: 2.312 kB / 4.002 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94): time 0.009011/13.71, allocations: 2.032 MB / 4.004 GB, free: 24.24 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/13.71, allocations: 171.8 kB / 4.004 GB, free: 24.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/13.71, allocations: 0.7693 MB / 4.005 GB, free: 23.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002175/13.71, allocations: 42.23 kB / 4.005 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/13.71, allocations: 0.5844 MB / 4.005 GB, free: 23.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/13.71, allocations: 317.5 kB / 4.005 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/13.71, allocations: 21.16 kB / 4.005 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001087/13.71, allocations: 362.9 kB / 4.006 GB, free: 23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/13.71, allocations: 337.9 kB / 4.006 GB, free: 23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/13.71, allocations: 0.6599 MB / 4.007 GB, free: 22.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/13.71, allocations: 422.3 kB / 4.007 GB, free: 22.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/13.71, allocations: 3.25 kB / 4.007 GB, free: 22.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003281/13.72, allocations: 1.184 MB / 4.008 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002008/13.72, allocations: 3.744 MB / 4.012 GB, free: 34.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/13.72, allocations: 14.47 kB / 4.012 GB, free: 34.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/13.72, allocations: 462.3 kB / 4.012 GB, free: 34.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/13.72, allocations: 293.8 kB / 4.013 GB, free: 34.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/13.73, allocations: 1.465 MB / 4.014 GB, free: 33.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/13.73, allocations: 244.3 kB / 4.014 GB, free: 33.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002946/13.73, allocations: 71.95 kB / 4.014 GB, free: 33.48 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/13.73, allocations: 3.719 kB / 4.014 GB, free: 33.48 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/13.73, allocations: 0.9868 MB / 4.015 GB, free: 33.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/13.73, allocations: 10.88 kB / 4.015 GB, free: 33.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/13.73, allocations: 19.47 kB / 4.015 GB, free: 33.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/13.74, allocations: 455.8 kB / 4.016 GB, free: 33.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.549e-05/13.74, allocations: 20.39 kB / 4.016 GB, free: 33.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/13.74, allocations: 206.7 kB / 4.016 GB, free: 33.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/13.74, allocations: 70.77 kB / 4.016 GB, free: 33.43 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005194/13.74, allocations: 174 kB / 4.016 GB, free: 33.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004534/13.74, allocations: 131 kB / 4.016 GB, free: 33.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008753/13.75, allocations: 5.716 MB / 4.022 GB, free: 32.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.574e-05/13.75, allocations: 77.39 kB / 4.022 GB, free: 32.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/13.75, allocations: 0 / 4.022 GB, free: 32.66 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/13.75, allocations: 3.422 kB / 4.022 GB, free: 32.66 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/13.76, allocations: 7.847 MB / 4.03 GB, free: 31.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/13.76, allocations: 6.656 kB / 4.03 GB, free: 31.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/13.76, allocations: 219.7 kB / 4.03 GB, free: 31.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/13.77, allocations: 1.906 MB / 4.032 GB, free: 31.82 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/13.77, allocations: 29.53 kB / 4.032 GB, free: 31.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003393/13.77, allocations: 2.649 MB / 4.034 GB, free: 30.72 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/13.77, allocations: 3.844 kB / 4.035 GB, free: 30.72 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005883/13.78, allocations: 3.533 MB / 4.038 GB, free: 30.28 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/13.78, allocations: 0.5536 MB / 4.038 GB, free: 29.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/13.78, allocations: 26.27 kB / 4.039 GB, free: 29.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/13.78, allocations: 178.3 kB / 4.039 GB, free: 29.97 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/13.78, allocations: 104.8 kB / 4.039 GB, free: 29.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/13.78, allocations: 48.91 kB / 4.039 GB, free: 29.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001568/13.79, allocations: 0.7812 MB / 4.04 GB, free: 29.85 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.92e-07/13.79, allocations: 0 / 4.04 GB, free: 29.85 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009164/13.8, allocations: 1.884 MB / 4.041 GB, free: 29.58 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.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 (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01817/13.81, allocations: 5.648 MB / 4.047 GB, free: 28.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006204/13.82, allocations: 2.164 MB / 4.049 GB, free: 28.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/13.82, allocations: 0 / 4.049 GB, free: 28.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/13.82, allocations: 1.417 MB / 4.05 GB, free: 28.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00591/13.83, allocations: 0.6006 MB / 4.051 GB, free: 28.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/13.84, allocations: 4.258 MB / 4.055 GB, free: 27.18 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/13.85, allocations: 1.639 MB / 4.057 GB, free: 26.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/13.85, allocations: 0.8431 MB / 4.058 GB, free: 26.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/13.85, allocations: 3.156 kB / 4.058 GB, free: 26.43 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.5/18.35, allocations: 72.58 MB / 4.129 GB, free: 13.11 MB / 0.573 GB