Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 270 MB / 282.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.196e-05/4.214e-05, allocations: 4 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3923, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.5538, allocations: 89.96 MB / 498.9 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.554, allocations: 63.97 kB / 498.9 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06537/0.6194, allocations: 15.31 MB / 0.5022 GB, free: 1.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6195, allocations: 0 / 0.5022 GB, free: 1.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001063/0.6196, allocations: 23.94 kB / 0.5022 GB, free: 1.145 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002608/0.6222, allocations: 1.047 MB / 0.5032 GB, free: 52 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6223, allocations: 16.03 kB / 0.5033 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.6225, allocations: 106.5 kB / 0.5034 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.6228, allocations: 114.6 kB / 0.5035 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6243, allocations: 0.6055 MB / 0.5041 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.6243, allocations: 50.19 kB / 0.5041 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.6245, allocations: 67.91 kB / 0.5042 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6261, allocations: 0.6661 MB / 0.5048 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.6261, allocations: 0 / 0.5048 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6263, allocations: 35.95 kB / 0.5049 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.6263, allocations: 16 kB / 0.5049 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6275, allocations: 423.8 kB / 0.5053 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.6331, allocations: 2.776 MB / 0.508 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.6347, allocations: 0.5423 MB / 0.5085 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.6353, allocations: 228.4 kB / 0.5087 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-05/0.6354, allocations: 19.98 kB / 0.5088 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.6354, allocations: 42.5 kB / 0.5088 GB, free: 10.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.036e-06/0.6355, allocations: 0 / 0.5088 GB, free: 10.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001415/0.6369, allocations: 492.4 kB / 0.5093 GB, free: 9.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.637, allocations: 235.3 kB / 0.5095 GB, free: 9.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.6382, allocations: 0.5947 MB / 0.5101 GB, free: 8.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/0.6383, allocations: 33.7 kB / 0.5101 GB, free: 8.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.6387, allocations: 430.9 kB / 0.5105 GB, free: 8.254 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.6389, allocations: 185.3 kB / 0.5107 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.639, allocations: 12 kB / 0.5107 GB, free: 8.059 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6391, allocations: 334.8 kB / 0.511 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.6396, allocations: 161.1 kB / 0.5112 GB, free: 7.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.6402, allocations: 295 kB / 0.5115 GB, free: 7.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.6408, allocations: 199.1 kB / 0.5116 GB, free: 7.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6408, allocations: 0 / 0.5116 GB, free: 7.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003245/0.6441, allocations: 0.8193 MB / 0.5124 GB, free: 6.203 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000492/0.6446, allocations: 1.147 MB / 0.5136 GB, free: 4.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6446, allocations: 4 kB / 0.5136 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.6461, allocations: 251.2 kB / 0.5138 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6472, allocations: 131.8 kB / 0.5139 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005498/0.6527, allocations: 3.582 MB / 0.5174 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009937/0.6538, allocations: 91.48 kB / 0.5175 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.6538, allocations: 16 kB / 0.5175 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.6539, allocations: 9.781 kB / 0.5175 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001925/0.6558, allocations: 0.5626 MB / 0.5181 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.6558, allocations: 7.938 kB / 0.5181 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.6565, allocations: 114 kB / 0.5182 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.6579, allocations: 180 kB / 0.5184 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/0.6623, allocations: 3.116 MB / 0.5214 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.6629, allocations: 79.45 kB / 0.5215 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.663, allocations: 20 kB / 0.5215 GB, free: 12.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.6633, allocations: 132.9 kB / 0.5216 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.6636, allocations: 90.88 kB / 0.5217 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002871/0.6639, allocations: 99.28 kB / 0.5218 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.6639, allocations: 4 kB / 0.5218 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.664, allocations: 4 kB / 0.5218 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.664, allocations: 3.984 kB / 0.5218 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.6655, allocations: 0.7388 MB / 0.5226 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.6655, allocations: 3.984 kB / 0.5226 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.6667, allocations: 123.9 kB / 0.5227 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.6667, allocations: 4.031 kB / 0.5227 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.6668, allocations: 12 kB / 0.5227 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.6668, allocations: 4 kB / 0.5227 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6668, allocations: 0 / 0.5227 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.6689, allocations: 1.079 MB / 0.5238 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.6693, allocations: 219.8 kB / 0.524 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6694, allocations: 15.95 kB / 0.524 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009086/0.6704, allocations: 59.95 kB / 0.524 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.6705, allocations: 31.95 kB / 0.5241 GB, free: 9.582 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.6706, allocations: 12 kB / 0.5241 GB, free: 9.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008783/0.6714, allocations: 475.2 kB / 0.5245 GB, free: 9.113 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6715, allocations: 0 / 0.5245 GB, free: 9.113 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001404/0.6729, allocations: 271.1 kB / 0.5248 GB, free: 8.848 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0025/0.6754, allocations: 1.855 MB / 0.5266 GB, free: 6.949 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005174/0.6806, allocations: 1.355 MB / 0.5279 GB, free: 5.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6806, allocations: 0.5625 kB / 0.5279 GB, free: 5.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.6812, allocations: 223.8 kB / 0.5281 GB, free: 5.352 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.683, allocations: 226.1 kB / 0.5284 GB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.6869, allocations: 1.267 MB / 0.5296 GB, free: 3.805 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.6876, allocations: 1.004 MB / 0.5306 GB, free: 2.773 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.6884, allocations: 327.3 kB / 0.5309 GB, free: 2.453 MB / 458.7 MB Notification: Performance of SimCode: time 4.318e-06/0.6884, allocations: 0 / 0.5309 GB, free: 2.453 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.317/4.005, allocations: 19.48 MB / 0.5499 GB, free: 114.1 MB / 458.7 MB