Running command: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.LimPID") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.975e-05, allocations: 11.94 kB / 347 MB, free: 3.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 61.88 MB / 408.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4594, allocations: 89.95 MB / 498.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4596, allocations: 67.97 kB / 498.9 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0605/0.5202, allocations: 15.31 MB / 0.5021 GB, free: 1.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.5202, allocations: 0 / 0.5021 GB, free: 1.324 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.067e-05/0.5203, allocations: 23.94 kB / 0.5021 GB, free: 1.301 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.00206/0.5224, allocations: 1.043 MB / 0.5032 GB, free: 216 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5225, allocations: 23.95 kB / 0.5032 GB, free: 192 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.5227, allocations: 114.6 kB / 0.5033 GB, free: 76 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.5241, allocations: 0.6016 MB / 0.5039 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.5241, allocations: 49.31 kB / 0.5039 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.5243, allocations: 64 kB / 0.504 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.5258, allocations: 0.6708 MB / 0.5046 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5258, allocations: 0 / 0.5046 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.5259, allocations: 28 kB / 0.5047 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.526, allocations: 23.95 kB / 0.5047 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.5271, allocations: 419.9 kB / 0.5051 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005227/0.5323, allocations: 2.784 MB / 0.5078 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.5338, allocations: 0.5353 MB / 0.5083 GB, free: 10.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.5344, allocations: 227.7 kB / 0.5085 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.384e-05/0.5345, allocations: 15.97 kB / 0.5086 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.5345, allocations: 46.5 kB / 0.5086 GB, free: 10.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 3.908e-06/0.5345, allocations: 0 / 0.5086 GB, free: 10.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.001366/0.5359, allocations: 492.4 kB / 0.5091 GB, free: 9.879 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.5361, allocations: 235.3 kB / 0.5093 GB, free: 9.594 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.5372, allocations: 0.5947 MB / 0.5099 GB, free: 8.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.5373, allocations: 37.7 kB / 0.5099 GB, free: 8.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.5376, allocations: 426.9 kB / 0.5103 GB, free: 8.527 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.5379, allocations: 181.3 kB / 0.5105 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.5379, allocations: 16 kB / 0.5105 GB, free: 8.332 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5381, allocations: 334.8 kB / 0.5108 GB, free: 7.996 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.5386, allocations: 161.1 kB / 0.511 GB, free: 7.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.5392, allocations: 295.4 kB / 0.5113 GB, free: 7.504 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.5397, allocations: 202.8 kB / 0.5115 GB, free: 7.309 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.444e-06/0.5397, allocations: 0 / 0.5115 GB, free: 7.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002612/0.5423, allocations: 0.8193 MB / 0.5123 GB, free: 6.473 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006229/0.543, allocations: 1.142 MB / 0.5134 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.543, allocations: 4 kB / 0.5134 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.5443, allocations: 251.2 kB / 0.5136 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.545, allocations: 127.9 kB / 0.5137 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.5499, allocations: 3.582 MB / 0.5172 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.5507, allocations: 91.41 kB / 0.5173 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/0.5508, allocations: 23.98 kB / 0.5174 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5508, allocations: 1.562 kB / 0.5174 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/0.5525, allocations: 0.5641 MB / 0.5179 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5525, allocations: 7.938 kB / 0.5179 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005124/0.553, allocations: 113.9 kB / 0.518 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.554, allocations: 188 kB / 0.5182 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.5582, allocations: 3.116 MB / 0.5212 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.5588, allocations: 75.56 kB / 0.5213 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.5588, allocations: 23.95 kB / 0.5213 GB, free: 12.59 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.0002383/0.5591, allocations: 128.9 kB / 0.5215 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.5594, allocations: 94.88 kB / 0.5215 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.5597, allocations: 95.28 kB / 0.5216 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.865e-06/0.5597, allocations: 12 kB / 0.5217 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.035e-06/0.5597, allocations: 0 / 0.5217 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5598, allocations: 3.984 kB / 0.5217 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.5613, allocations: 0.735 MB / 0.5224 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.332e-06/0.5613, allocations: 0 / 0.5224 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.5621, allocations: 131.8 kB / 0.5225 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.853e-06/0.5621, allocations: 0 / 0.5225 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/0.5622, allocations: 12.05 kB / 0.5225 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.329e-06/0.5622, allocations: 4 kB / 0.5225 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5622, allocations: 3.984 kB / 0.5225 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.5642, allocations: 1.083 MB / 0.5236 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.5646, allocations: 219.8 kB / 0.5238 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.5647, allocations: 15.95 kB / 0.5238 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.5654, allocations: 51.97 kB / 0.5238 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5656, allocations: 35.94 kB / 0.5239 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.5656, allocations: 12 kB / 0.5239 GB, free: 9.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008673/0.5665, allocations: 475.2 kB / 0.5243 GB, free: 9.383 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.89e-07/0.5665, allocations: 0 / 0.5243 GB, free: 9.383 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001311/0.5678, allocations: 271.1 kB / 0.5246 GB, free: 9.117 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.0002065/0.5681, allocations: 117.3 kB / 0.5247 GB, free: 8.992 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004072/0.5721, allocations: 1.359 MB / 0.526 GB, free: 7.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.417e-06/0.5722, allocations: 4.5 kB / 0.5261 GB, free: 7.602 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005734/0.5728, allocations: 220.5 kB / 0.5263 GB, free: 7.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.5742, allocations: 211.8 kB / 0.5265 GB, free: 7.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.577, allocations: 1.136 MB / 0.5276 GB, free: 5.992 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.5779, allocations: 1 MB / 0.5285 GB, free: 4.965 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.5782, allocations: 47.44 kB / 0.5286 GB, free: 4.918 MB / 458.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5782, allocations: 4 kB / 0.5286 GB, free: 4.914 MB / 458.7 MB Notification: Performance of Templates: time 0.3042/0.8824, allocations: 16 MB / 0.5442 GB, free: 115.3 MB / 458.7 MB