Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.252e-05, allocations: 4 kB / 347.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4246, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.6304, allocations: 91.64 MB / 0.4888 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.6307, allocations: 63.97 kB / 0.4889 GB, free: 14.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08488/0.7156, allocations: 15.66 MB / 0.5042 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7157, allocations: 0 / 0.5042 GB, free: 15.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.47e-05/0.7158, allocations: 23.94 kB / 0.5042 GB, free: 15.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003419/0.7192, allocations: 1.036 MB / 0.5052 GB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.7193, allocations: 12.03 kB / 0.5052 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.7196, allocations: 98.34 kB / 0.5053 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.7199, allocations: 94.88 kB / 0.5054 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.7219, allocations: 0.5976 MB / 0.506 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.722, allocations: 37 kB / 0.506 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.7221, allocations: 56 kB / 0.5061 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.7236, allocations: 0.5609 MB / 0.5066 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.7236, allocations: 0 / 0.5066 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/0.7237, allocations: 27.95 kB / 0.5067 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.7237, allocations: 16 kB / 0.5067 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.7248, allocations: 357.8 kB / 0.507 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005403/0.7302, allocations: 2.278 MB / 0.5092 GB, free: 9.727 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.7331, allocations: 0.7038 MB / 0.5099 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.7337, allocations: 189.7 kB / 0.5101 GB, free: 8.789 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.7338, allocations: 12.05 kB / 0.5101 GB, free: 8.777 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.7338, allocations: 46.5 kB / 0.5102 GB, free: 8.723 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.306e-06/0.7338, allocations: 3.938 kB / 0.5102 GB, free: 8.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001392/0.7352, allocations: 433.7 kB / 0.5106 GB, free: 8.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.7353, allocations: 136.5 kB / 0.5107 GB, free: 8.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.7363, allocations: 499.7 kB / 0.5112 GB, free: 7.629 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.7364, allocations: 33.7 kB / 0.5112 GB, free: 7.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.7367, allocations: 363.3 kB / 0.5116 GB, free: 7.234 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.737, allocations: 165.6 kB / 0.5117 GB, free: 7.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.737, allocations: 12 kB / 0.5117 GB, free: 7.059 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7372, allocations: 330.8 kB / 0.5121 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.7377, allocations: 165 kB / 0.5122 GB, free: 6.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.7383, allocations: 247.2 kB / 0.5124 GB, free: 6.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.7388, allocations: 169.9 kB / 0.5126 GB, free: 6.125 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7388, allocations: 3.938 kB / 0.5126 GB, free: 6.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001313/0.7401, allocations: 467.8 kB / 0.5131 GB, free: 5.656 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003672/0.7405, allocations: 0.8787 MB / 0.5139 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.7406, allocations: 0 / 0.5139 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.7406, allocations: 4 kB / 0.5139 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/0.7425, allocations: 211.7 kB / 0.5141 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.7426, allocations: 4 kB / 0.5141 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.7438, allocations: 123.5 kB / 0.5142 GB, free: 4.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.7438, allocations: 27.92 kB / 0.5143 GB, free: 4.348 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7439, allocations: 5.562 kB / 0.5143 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.7451, allocations: 390.3 kB / 0.5146 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7451, allocations: 4 kB / 0.5147 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7451, allocations: 4 kB / 0.5147 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.7467, allocations: 176 kB / 0.5148 GB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.7467, allocations: 4 kB / 0.5148 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.7474, allocations: 83.64 kB / 0.5149 GB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.7475, allocations: 31.88 kB / 0.5149 GB, free: 3.664 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002471/0.7478, allocations: 132.9 kB / 0.5151 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.7481, allocations: 67.16 kB / 0.5151 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.7483, allocations: 82.69 kB / 0.5152 GB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.7483, allocations: 4 kB / 0.5152 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.7484, allocations: 0 / 0.5152 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7484, allocations: 7.984 kB / 0.5152 GB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.7512, allocations: 1.158 MB / 0.5163 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7512, allocations: 0 / 0.5163 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.7528, allocations: 159.8 kB / 0.5165 GB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.7528, allocations: 4.141 kB / 0.5165 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.7529, allocations: 11.98 kB / 0.5165 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.629e-06/0.7529, allocations: 3.953 kB / 0.5165 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7529, allocations: 0 / 0.5165 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.755, allocations: 0.853 MB / 0.5174 GB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.7555, allocations: 188.1 kB / 0.5175 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.7556, allocations: 11.95 kB / 0.5175 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.7568, allocations: 103.8 kB / 0.5176 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.757, allocations: 35.94 kB / 0.5177 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.757, allocations: 27.98 kB / 0.5177 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007304/0.7578, allocations: 383.2 kB / 0.5181 GB, free: 356 kB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7578, allocations: 0 / 0.5181 GB, free: 356 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001192/0.759, allocations: 227.2 kB / 0.5183 GB, free: 128 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.002385/0.7614, allocations: 1.486 MB / 0.5197 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.7633, allocations: 0.6124 MB / 0.5203 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7634, allocations: 0 / 0.5203 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.764, allocations: 211.8 kB / 0.5205 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.7657, allocations: 171.5 kB / 0.5207 GB, free: 13.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.7711, allocations: 1.277 MB / 0.5219 GB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.7717, allocations: 0.93 MB / 0.5229 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007625/0.7725, allocations: 279.3 kB / 0.5231 GB, free: 11.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7725, allocations: 0 / 0.5231 GB, free: 11.07 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.005/3.778, allocations: 11.13 MB / 0.534 GB, free: 121.2 MB / 458.7 MB