Running command: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.185e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 61.9 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6174, allocations: 89.95 MB / 0.4885 GB, free: 14.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.6177, allocations: 71.97 kB / 0.4886 GB, free: 14.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09492/0.7126, allocations: 15.3 MB / 0.5035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.612e-06/0.7127, allocations: 11.94 kB / 0.5035 GB, free: 14.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.364e-05/0.7128, allocations: 23.98 kB / 0.5036 GB, free: 14.7 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.002124/0.7149, allocations: 1.039 MB / 0.5046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.715, allocations: 8.031 kB / 0.5046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.7153, allocations: 114.6 kB / 0.5047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.7167, allocations: 0.6133 MB / 0.5053 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.7168, allocations: 53.31 kB / 0.5053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.717, allocations: 64 kB / 0.5054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.7185, allocations: 0.6647 MB / 0.506 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.7185, allocations: 5.094 kB / 0.506 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/0.7186, allocations: 24 kB / 0.5061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.7186, allocations: 19.95 kB / 0.5061 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.7198, allocations: 431.8 kB / 0.5065 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005441/0.7252, allocations: 2.776 MB / 0.5092 GB, free: 8.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.7268, allocations: 0.5546 MB / 0.5098 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.7273, allocations: 227.8 kB / 0.51 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.7274, allocations: 8 kB / 0.51 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.7274, allocations: 46.5 kB / 0.51 GB, free: 7.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 4.546e-06/0.7275, allocations: 0 / 0.51 GB, free: 7.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.001385/0.7288, allocations: 484.4 kB / 0.5105 GB, free: 7.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.729, allocations: 243.3 kB / 0.5107 GB, free: 6.996 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.7302, allocations: 0.5947 MB / 0.5113 GB, free: 6.395 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-05/0.7303, allocations: 29.7 kB / 0.5113 GB, free: 6.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.7307, allocations: 428.4 kB / 0.5117 GB, free: 5.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.731, allocations: 185.3 kB / 0.5119 GB, free: 5.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.731, allocations: 12 kB / 0.5119 GB, free: 5.738 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.7312, allocations: 337.8 kB / 0.5122 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.7318, allocations: 161.1 kB / 0.5124 GB, free: 5.246 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.7324, allocations: 299 kB / 0.5127 GB, free: 4.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.7329, allocations: 196.8 kB / 0.5129 GB, free: 4.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.064e-06/0.7329, allocations: 0 / 0.5129 GB, free: 4.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002885/0.7358, allocations: 0.8858 MB / 0.5137 GB, free: 3.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.7366, allocations: 1.142 MB / 0.5149 GB, free: 2.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7366, allocations: 8 kB / 0.5149 GB, free: 2.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.7379, allocations: 255.2 kB / 0.5151 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.7387, allocations: 131.8 kB / 0.5152 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/0.7439, allocations: 3.579 MB / 0.5187 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.7447, allocations: 87.52 kB / 0.5188 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7449, allocations: 23.98 kB / 0.5188 GB, free: 14.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.7449, allocations: 4 kB / 0.5188 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002964/0.7479, allocations: 0.5681 MB / 0.5194 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.748, allocations: 8.031 kB / 0.5194 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.749, allocations: 117.6 kB / 0.5195 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.7507, allocations: 175.8 kB / 0.5197 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/0.7576, allocations: 3.132 MB / 0.5227 GB, free: 9.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.7588, allocations: 71.58 kB / 0.5228 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7589, allocations: 23.94 kB / 0.5228 GB, free: 9.902 MB / 442.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.0003795/0.7594, allocations: 140.8 kB / 0.523 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/0.7599, allocations: 86.88 kB / 0.523 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.7603, allocations: 99.28 kB / 0.5231 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.7604, allocations: 11.98 kB / 0.5231 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7604, allocations: 0 / 0.5231 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.7605, allocations: 4 kB / 0.5232 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.7632, allocations: 0.735 MB / 0.5239 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.7633, allocations: 4 kB / 0.5239 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.7649, allocations: 119.8 kB / 0.524 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.121e-05/0.765, allocations: 4 kB / 0.524 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.7651, allocations: 15.98 kB / 0.524 GB, free: 8.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.7652, allocations: 4 kB / 0.524 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.896e-06/0.7652, allocations: 4 kB / 0.524 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.7687, allocations: 1.086 MB / 0.5251 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/0.7694, allocations: 207.9 kB / 0.5253 GB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.7697, allocations: 12 kB / 0.5253 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.7711, allocations: 59.95 kB / 0.5253 GB, free: 7.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.7713, allocations: 39.84 kB / 0.5254 GB, free: 7.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/0.7715, allocations: 12 kB / 0.5254 GB, free: 7.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001476/0.773, allocations: 479.1 kB / 0.5258 GB, free: 6.695 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.602e-06/0.773, allocations: 0 / 0.5258 GB, free: 6.695 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002523/0.7755, allocations: 271 kB / 0.5261 GB, free: 6.43 MB / 442.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.0003338/0.7759, allocations: 115.1 kB / 0.5262 GB, free: 6.305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008299/0.7842, allocations: 1.471 MB / 0.5277 GB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.655e-06/0.7843, allocations: 0 / 0.5277 GB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.7854, allocations: 225 kB / 0.5279 GB, free: 4.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.7883, allocations: 204 kB / 0.5281 GB, free: 4.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/0.7935, allocations: 1.119 MB / 0.5292 GB, free: 3.227 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.7948, allocations: 1.006 MB / 0.5301 GB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001589/0.7964, allocations: 139.8 kB / 0.5303 GB, free: 2.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.7969, allocations: 47.44 kB / 0.5303 GB, free: 2.008 MB / 442.7 MB Notification: Performance of SimCode: time 2.481e-06/0.7969, allocations: 0 / 0.5303 GB, free: 2.008 MB / 442.7 MB Notification: Performance of Templates: time 0.05633/0.8532, allocations: 11.98 MB / 0.542 GB, free: 6.074 MB / 458.7 MB