Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.358e-05, allocations: 4 kB / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.405, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.5651, allocations: 88.48 MB / 497.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5654, allocations: 63.98 kB / 497.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03085/0.5962, allocations: 7.092 MB / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5963, allocations: 4 kB / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.5963, allocations: 0 / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005169/0.5968, allocations: 418.2 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.5969, allocations: 8.031 kB / 0.4931 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.597, allocations: 109.8 kB / 0.4932 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.5973, allocations: 87.27 kB / 0.4933 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.5975, allocations: 242.4 kB / 0.4935 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.5975, allocations: 154.5 kB / 0.4937 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.5976, allocations: 162.5 kB / 0.4939 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.55e-05/0.5977, allocations: 105 kB / 0.494 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.5977, allocations: 75.28 kB / 0.494 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.5978, allocations: 150.6 kB / 0.4942 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/0.5978, allocations: 150.6 kB / 0.4943 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.5979, allocations: 154.6 kB / 0.4945 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.5982, allocations: 446 kB / 0.4949 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.288e-05/0.5983, allocations: 169.1 kB / 0.495 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.5984, allocations: 80.14 kB / 0.4951 GB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.5984, allocations: 75.28 kB / 0.4952 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.064e-05/0.5985, allocations: 117.8 kB / 0.4953 GB, free: 8.141 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.5985, allocations: 3.938 kB / 0.4953 GB, free: 8.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.957e-05/0.5986, allocations: 29.69 kB / 0.4953 GB, free: 8.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.5987, allocations: 186 kB / 0.4955 GB, free: 7.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.5988, allocations: 89 kB / 0.4956 GB, free: 7.801 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.5988, allocations: 25.7 kB / 0.4956 GB, free: 7.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.5989, allocations: 154.7 kB / 0.4958 GB, free: 7.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.5989, allocations: 0 / 0.4958 GB, free: 7.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/0.5989, allocations: 0 / 0.4958 GB, free: 7.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5991, allocations: 310.8 kB / 0.4961 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-06/0.5991, allocations: 0 / 0.4961 GB, free: 7.305 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.5991, allocations: 13.72 kB / 0.4961 GB, free: 7.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.5992, allocations: 75.28 kB / 0.4962 GB, free: 7.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-05/0.5992, allocations: 75.28 kB / 0.4962 GB, free: 7.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.59e-05/0.5993, allocations: 37.72 kB / 0.4963 GB, free: 7.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.5993, allocations: 83.28 kB / 0.4963 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.5994, allocations: 83.17 kB / 0.4964 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.369e-05/0.5994, allocations: 150.6 kB / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.821e-05/0.5995, allocations: 79.28 kB / 0.4966 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.803e-05/0.5996, allocations: 154.7 kB / 0.4968 GB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.5997, allocations: 87.28 kB / 0.4969 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5998, allocations: 79.27 kB / 0.4969 GB, free: 6.387 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.5999, allocations: 254.8 kB / 0.4972 GB, free: 6.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.6, allocations: 108.9 kB / 0.4973 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.6001, allocations: 115.9 kB / 0.4974 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.908e-05/0.6001, allocations: 184.2 kB / 0.4976 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.451e-05/0.6002, allocations: 180.2 kB / 0.4977 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.086e-05/0.6003, allocations: 184.2 kB / 0.4979 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.6006, allocations: 393.2 kB / 0.4983 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-05/0.6006, allocations: 104.9 kB / 0.4984 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.6007, allocations: 109 kB / 0.4985 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.768e-05/0.6007, allocations: 185.1 kB / 0.4987 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.6008, allocations: 184.1 kB / 0.4989 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.724e-05/0.6009, allocations: 176.3 kB / 0.499 GB, free: 4.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.942e-05/0.601, allocations: 180.2 kB / 0.4992 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.6011, allocations: 307.8 kB / 0.4995 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.628e-05/0.6012, allocations: 190.5 kB / 0.4997 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.6013, allocations: 184.1 kB / 0.4998 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6015, allocations: 113 kB / 0.5 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.6016, allocations: 180.2 kB / 0.5001 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.6017, allocations: 109 kB / 0.5002 GB, free: 2.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.6017, allocations: 83.28 kB / 0.5003 GB, free: 2.715 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6018, allocations: 0 / 0.5003 GB, free: 2.715 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007928/0.6026, allocations: 135.8 kB / 0.5004 GB, free: 2.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001646/0.6042, allocations: 1.158 MB / 0.5016 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.741e-05/0.6043, allocations: 0 / 0.5016 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.6043, allocations: 4 kB / 0.5016 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.6043, allocations: 0 / 0.5016 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.6047, allocations: 0.5185 MB / 0.5021 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.6053, allocations: 267.4 kB / 0.5023 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.6056, allocations: 0.677 MB / 0.503 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.6056, allocations: 7.438 kB / 0.503 GB, free: 15.92 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6056, allocations: 0 / 0.503 GB, free: 15.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/3.448, allocations: 2.994 MB / 0.5059 GB, free: 12.93 MB / 442.7 MB