Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.432e-05, allocations: 7.938 kB / 347.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4857, allocations: 61.85 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.6854, allocations: 96.39 MB / 0.4935 GB, free: 10.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.6857, allocations: 75.95 kB / 0.4935 GB, free: 10.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0893/0.775, allocations: 14.64 MB / 0.5078 GB, free: 11.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.7751, allocations: 0 / 0.5078 GB, free: 11.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000142/0.7752, allocations: 23.94 kB / 0.5078 GB, free: 11.54 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.0045/0.7797, allocations: 0.9503 MB / 0.5088 GB, free: 10.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.7798, allocations: 12.03 kB / 0.5088 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003447/0.7802, allocations: 86.52 kB / 0.5089 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.7807, allocations: 90.88 kB / 0.509 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.7831, allocations: 0.5509 MB / 0.5095 GB, free: 9.754 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.7833, allocations: 41 kB / 0.5095 GB, free: 9.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.7836, allocations: 63.89 kB / 0.5096 GB, free: 9.652 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.7856, allocations: 0.5413 MB / 0.5101 GB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.7857, allocations: 7.938 kB / 0.5101 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.7859, allocations: 20 kB / 0.5101 GB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.7859, allocations: 12 kB / 0.5102 GB, free: 9.016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.7875, allocations: 356.9 kB / 0.5105 GB, free: 8.668 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.7969, allocations: 2.706 MB / 0.5131 GB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.7989, allocations: 476 kB / 0.5136 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.7997, allocations: 194.6 kB / 0.5138 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.141e-05/0.7999, allocations: 8 kB / 0.5138 GB, free: 5.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.7999, allocations: 42.55 kB / 0.5138 GB, free: 5.109 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.919e-06/0.7999, allocations: 0 / 0.5138 GB, free: 5.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.003449/0.8034, allocations: 0.7949 MB / 0.5146 GB, free: 4.305 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.8036, allocations: 148.5 kB / 0.5147 GB, free: 4.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.8052, allocations: 0.539 MB / 0.5153 GB, free: 3.582 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002114/0.8055, allocations: 37.7 kB / 0.5153 GB, free: 3.539 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.806, allocations: 366.5 kB / 0.5157 GB, free: 3.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.8064, allocations: 169.5 kB / 0.5158 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.8065, allocations: 16 kB / 0.5158 GB, free: 2.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.8067, allocations: 330.8 kB / 0.5162 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009519/0.8076, allocations: 209.5 kB / 0.5163 GB, free: 2.461 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.8089, allocations: 357.1 kB / 0.5167 GB, free: 2.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8101, allocations: 248 kB / 0.5169 GB, free: 1.801 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.8102, allocations: 4 kB / 0.5169 GB, free: 1.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003063/0.8133, allocations: 0.6087 MB / 0.5175 GB, free: 1.184 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.8143, allocations: 1.749 MB / 0.5192 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/0.8144, allocations: 4 kB / 0.5192 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.8145, allocations: 8 kB / 0.5192 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.8166, allocations: 167.7 kB / 0.5194 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.582e-05/0.8167, allocations: 8 kB / 0.5194 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.8185, allocations: 95.62 kB / 0.5195 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.8187, allocations: 23.98 kB / 0.5195 GB, free: 15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.8188, allocations: 5.562 kB / 0.5195 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00253/0.8213, allocations: 0.5694 MB / 0.5201 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.8214, allocations: 4 kB / 0.5201 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.8214, allocations: 8 kB / 0.5201 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.8234, allocations: 156.3 kB / 0.5202 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/0.8235, allocations: 15.92 kB / 0.5203 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.8246, allocations: 79.52 kB / 0.5203 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.8247, allocations: 24 kB / 0.5204 GB, free: 14.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.000335/0.8251, allocations: 136.8 kB / 0.5205 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.8255, allocations: 79 kB / 0.5206 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.826, allocations: 93.98 kB / 0.5207 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.826, allocations: 4 kB / 0.5207 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.826, allocations: 0 / 0.5207 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.826, allocations: 7.984 kB / 0.5207 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.8289, allocations: 0.8181 MB / 0.5215 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.829, allocations: 0 / 0.5215 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/0.8311, allocations: 115.9 kB / 0.5216 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/0.8311, allocations: 0 / 0.5216 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.8313, allocations: 19.98 kB / 0.5216 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.8313, allocations: 0 / 0.5216 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.8314, allocations: 11.95 kB / 0.5216 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.8345, allocations: 0.9765 MB / 0.5226 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/0.8353, allocations: 208.1 kB / 0.5228 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/0.8356, allocations: 23.98 kB / 0.5228 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.8373, allocations: 55.94 kB / 0.5228 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.8376, allocations: 39.95 kB / 0.5229 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.8377, allocations: 15.98 kB / 0.5229 GB, free: 11.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.839, allocations: 427.2 kB / 0.5233 GB, free: 11.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.839, allocations: 0 / 0.5233 GB, free: 11.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002074/0.8411, allocations: 196 kB / 0.5235 GB, free: 10.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.003752/0.8449, allocations: 1.692 MB / 0.5251 GB, free: 9.102 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.8484, allocations: 0.7705 MB / 0.5259 GB, free: 8.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.8485, allocations: 4 kB / 0.5259 GB, free: 8.328 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.8495, allocations: 219.8 kB / 0.5261 GB, free: 8.113 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.8518, allocations: 168 kB / 0.5263 GB, free: 7.953 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.8587, allocations: 1.405 MB / 0.5276 GB, free: 6.492 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.8599, allocations: 0.9691 MB / 0.5286 GB, free: 5.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.861, allocations: 259.3 kB / 0.5288 GB, free: 5.238 MB / 458.7 MB Notification: Performance of SimCode: time 1.393e-06/0.861, allocations: 0 / 0.5288 GB, free: 5.238 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.902, allocations: 11.48 MB / 0.54 GB, free: 117.8 MB / 458.7 MB