Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 270.1 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.543e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1501, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.571, allocations: 96.39 MB / 0.4948 GB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5712, allocations: 67.97 kB / 0.4949 GB, free: 7.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06496/0.6362, allocations: 14.65 MB / 0.5092 GB, free: 9.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.182e-06/0.6363, allocations: 0 / 0.5092 GB, free: 9.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.192e-05/0.6364, allocations: 20 kB / 0.5092 GB, free: 8.992 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002445/0.6388, allocations: 0.9464 MB / 0.5101 GB, free: 8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6389, allocations: 8.031 kB / 0.5101 GB, free: 7.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.6392, allocations: 94.88 kB / 0.5102 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.6407, allocations: 0.5509 MB / 0.5107 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.6408, allocations: 37 kB / 0.5108 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.641, allocations: 55.89 kB / 0.5108 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6422, allocations: 0.5491 MB / 0.5114 GB, free: 6.609 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.6423, allocations: 0 / 0.5114 GB, free: 6.609 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.6423, allocations: 24 kB / 0.5114 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.6424, allocations: 12 kB / 0.5114 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.6433, allocations: 360.9 kB / 0.5117 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/0.6491, allocations: 2.706 MB / 0.5144 GB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.6503, allocations: 476 kB / 0.5148 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.6508, allocations: 194.6 kB / 0.515 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.6509, allocations: 8 kB / 0.515 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6509, allocations: 42.56 kB / 0.5151 GB, free: 2.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 4.029e-06/0.651, allocations: 0 / 0.5151 GB, free: 2.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002098/0.6531, allocations: 0.8009 MB / 0.5159 GB, free: 1.852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6532, allocations: 132.5 kB / 0.516 GB, free: 1.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.6542, allocations: 0.5507 MB / 0.5165 GB, free: 1.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.06e-05/0.6543, allocations: 41.64 kB / 0.5166 GB, free: 1.086 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.6548, allocations: 348.1 kB / 0.5169 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.655, allocations: 173.5 kB / 0.5171 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.6551, allocations: 16 kB / 0.5171 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6553, allocations: 326 kB / 0.5174 GB, free: 236 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.6558, allocations: 205.5 kB / 0.5176 GB, free: 32 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.6566, allocations: 361 kB / 0.5179 GB, free: 15.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.6572, allocations: 252.8 kB / 0.5182 GB, free: 15.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.517e-06/0.6572, allocations: 0 / 0.5182 GB, free: 15.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001715/0.659, allocations: 0.6605 MB / 0.5188 GB, free: 14.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009899/0.66, allocations: 1.743 MB / 0.5205 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.66, allocations: 8 kB / 0.5205 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.66, allocations: 8 kB / 0.5205 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6611, allocations: 167.7 kB / 0.5207 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.6611, allocations: 8 kB / 0.5207 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.662, allocations: 95.53 kB / 0.5208 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/0.6621, allocations: 24 kB / 0.5208 GB, free: 12.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6621, allocations: 4 kB / 0.5208 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.6636, allocations: 0.5684 MB / 0.5214 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6636, allocations: 4 kB / 0.5214 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.6636, allocations: 8 kB / 0.5214 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/0.6646, allocations: 152.3 kB / 0.5215 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.6646, allocations: 15.88 kB / 0.5215 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/0.6654, allocations: 87.62 kB / 0.5216 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.6655, allocations: 31.95 kB / 0.5217 GB, free: 11.65 MB / 442.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.0002441/0.6658, allocations: 136.8 kB / 0.5218 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.6661, allocations: 75.06 kB / 0.5219 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.6663, allocations: 89.98 kB / 0.5219 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.6663, allocations: 4 kB / 0.522 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6664, allocations: 4 kB / 0.522 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.6664, allocations: 0 / 0.522 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.6682, allocations: 0.8219 MB / 0.5228 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.841e-06/0.6682, allocations: 4 kB / 0.5228 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6692, allocations: 111.9 kB / 0.5229 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.6693, allocations: 4 kB / 0.5229 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.6693, allocations: 12 kB / 0.5229 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.6694, allocations: 11.98 kB / 0.5229 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.891e-06/0.6694, allocations: 3.953 kB / 0.5229 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.6714, allocations: 0.9806 MB / 0.5239 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.6718, allocations: 204.1 kB / 0.5241 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.672, allocations: 19.95 kB / 0.5241 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008079/0.6728, allocations: 59.94 kB / 0.5241 GB, free: 9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.673, allocations: 43.88 kB / 0.5242 GB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.6731, allocations: 15.98 kB / 0.5242 GB, free: 8.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008019/0.6739, allocations: 427.2 kB / 0.5246 GB, free: 8.531 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.97e-07/0.6739, allocations: 0 / 0.5246 GB, free: 8.531 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001195/0.6751, allocations: 204 kB / 0.5248 GB, free: 8.332 MB / 442.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.0002289/0.6753, allocations: 123.1 kB / 0.5249 GB, free: 8.203 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.6774, allocations: 0.8042 MB / 0.5257 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.536e-06/0.6774, allocations: 2.25 kB / 0.5257 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.678, allocations: 223.8 kB / 0.5259 GB, free: 7.176 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6792, allocations: 161.8 kB / 0.5261 GB, free: 7.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.6824, allocations: 1.192 MB / 0.5272 GB, free: 5.789 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/0.6833, allocations: 0.9628 MB / 0.5282 GB, free: 4.797 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001134/0.6844, allocations: 203.1 kB / 0.5284 GB, free: 4.598 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.6847, allocations: 39.44 kB / 0.5284 GB, free: 4.559 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/0.6847, allocations: 0 / 0.5284 GB, free: 4.559 MB / 442.7 MB Notification: Performance of Templates: time 0.02351/0.7082, allocations: 8.068 MB / 0.5363 GB, free: 12.54 MB / 458.7 MB