Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.41e-05/5.433e-05, allocations: 4 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4853, allocations: 54.85 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.937/8.423, allocations: 2.614 GB / 2.965 GB, free: 116.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/8.423, allocations: 81.75 kB / 2.965 GB, free: 116.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.049/12.47, allocations: 0.7575 GB / 3.723 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.053e-06/12.47, allocations: 0 / 3.723 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001624/12.47, allocations: 39.59 kB / 3.723 GB, free: 31.57 MB / 0.4948 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.01283/12.49, allocations: 2.705 MB / 3.726 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/12.49, allocations: 7.938 kB / 3.726 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005063/12.49, allocations: 171.1 kB / 3.726 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007383/12.49, allocations: 0.6454 MB / 3.726 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/12.5, allocations: 1.009 MB / 3.727 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/12.5, allocations: 98.42 kB / 3.728 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/12.5, allocations: 109.2 kB / 3.728 GB, free: 29.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006316/12.5, allocations: 1.91 MB / 3.729 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/12.5, allocations: 7.188 kB / 3.729 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/12.5, allocations: 53.22 kB / 3.73 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.077e-05/12.5, allocations: 48.16 kB / 3.73 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005836/12.51, allocations: 1.595 MB / 3.731 GB, free: 29.57 MB / 0.4948 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.01456/12.52, allocations: 9.309 MB / 3.74 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/12.53, allocations: 1.382 MB / 3.742 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/12.53, allocations: 450.4 kB / 3.742 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06544/12.6, allocations: 21.63 MB / 3.763 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/12.6, allocations: 45.22 kB / 3.763 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 4.078e-06/12.6, allocations: 0 / 3.763 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.07145/12.67, allocations: 8.02 MB / 3.771 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/12.67, allocations: 176.3 kB / 3.771 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/12.67, allocations: 0.7247 MB / 3.772 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/12.67, allocations: 47.3 kB / 3.772 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/12.67, allocations: 0.611 MB / 3.773 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/12.67, allocations: 461.1 kB / 3.773 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/12.67, allocations: 25.91 kB / 3.773 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001803/12.67, allocations: 374.7 kB / 3.773 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/12.67, allocations: 0.5637 MB / 3.774 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/12.67, allocations: 0.9657 MB / 3.775 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/12.68, allocations: 0.6878 MB / 3.776 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/12.68, allocations: 3.906 kB / 3.776 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005884/12.68, allocations: 1.948 MB / 3.777 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002138/12.69, allocations: 4.618 MB / 3.782 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/12.69, allocations: 9.938 kB / 3.782 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009907/12.7, allocations: 1.31 MB / 3.783 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/12.7, allocations: 448 kB / 3.784 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/12.7, allocations: 3.088 MB / 3.787 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/12.71, allocations: 231.8 kB / 3.787 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/12.71, allocations: 97.11 kB / 3.787 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/12.71, allocations: 6.719 kB / 3.787 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005151/12.71, allocations: 1.743 MB / 3.789 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/12.71, allocations: 13.06 kB / 3.789 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/12.72, allocations: 0.5362 MB / 3.789 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005502/12.72, allocations: 0.5782 MB / 3.79 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/12.73, allocations: 1.646 MB / 3.791 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/12.73, allocations: 230 kB / 3.792 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/12.73, allocations: 101 kB / 3.792 GB, free: 14.59 MB / 0.5105 GB 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.000631/12.73, allocations: 197.7 kB / 3.792 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/12.73, allocations: 133.4 kB / 3.792 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/12.74, allocations: 7.202 MB / 3.799 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/12.74, allocations: 80.77 kB / 3.799 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/12.74, allocations: 2.969 kB / 3.799 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-05/12.74, allocations: 8.812 kB / 3.799 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/12.76, allocations: 9.468 MB / 3.808 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-05/12.76, allocations: 0 / 3.808 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/12.76, allocations: 334.1 kB / 3.809 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01086/12.78, allocations: 2.71 MB / 3.811 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/12.78, allocations: 46.86 kB / 3.811 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007589/12.78, allocations: 4.379 MB / 3.816 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/12.78, allocations: 5.656 kB / 3.816 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009482/12.79, allocations: 4.586 MB / 3.82 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/12.79, allocations: 0.5406 MB / 3.821 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/12.8, allocations: 30.67 kB / 3.821 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/12.8, allocations: 227.7 kB / 3.821 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005928/12.8, allocations: 137.8 kB / 3.821 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/12.8, allocations: 61.19 kB / 3.821 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001341/12.8, allocations: 0.6257 MB / 3.822 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/12.8, allocations: 0 / 3.822 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01075/12.81, allocations: 2.042 MB / 3.824 GB, free: 25.48 MB / 0.5261 GB 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.02218/12.83, allocations: 7.069 MB / 3.831 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01102/12.84, allocations: 3.409 MB / 3.834 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/12.85, allocations: 3.656 kB / 3.834 GB, free: 23.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005077/12.85, allocations: 2.025 MB / 3.836 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/12.86, allocations: 0.5516 MB / 3.836 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6877/13.54, allocations: 80.17 MB / 3.915 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/13.54, allocations: 1.632 MB / 3.916 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/13.55, allocations: 0.8604 MB / 3.917 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.352e-06/13.55, allocations: 0 / 3.917 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.587/18.13, allocations: 93.73 MB / 4.009 GB, free: 48.22 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat