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.334/2.334, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.664e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.126, allocations: 61.91 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005907/0.132, allocations: 3.589 MB / 414.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.1357, allocations: 1.278 MB / 415.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.1364, allocations: 55.81 kB / 415.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1366, allocations: 75.11 kB / 415.9 MB, free: 7.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009479/0.1376, allocations: 223.2 kB / 416.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1391, allocations: 471.2 kB / 416.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1404, allocations: 0.6026 MB / 417.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004605/0.1409, allocations: 227.8 kB / 417.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.1413, allocations: 223.2 kB / 417.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.1417, allocations: 250.6 kB / 417.9 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1418, allocations: 20 kB / 417.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.491e-05/0.1419, allocations: 20 kB / 417.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.1421, allocations: 115.3 kB / 418 MB, free: 5.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1422, allocations: 44 kB / 418.1 MB, free: 5.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009721/0.1432, allocations: 0.6939 MB / 418.8 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1432, allocations: 3.938 kB / 418.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1432, allocations: 0 / 418.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.1433, allocations: 4 kB / 418.8 MB, free: 4.957 MB / 346.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.002445/0.1457, allocations: 1.017 MB / 419.8 MB, free: 3.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1458, allocations: 11.97 kB / 419.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.146, allocations: 118.6 kB / 419.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1472, allocations: 0.5885 MB / 420.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.1473, allocations: 45.31 kB / 420.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.1475, allocations: 75.98 kB / 420.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.1496, allocations: 0.7505 MB / 421.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.1496, allocations: 4 kB / 421.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.1497, allocations: 24 kB / 421.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.1498, allocations: 16 kB / 421.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.1519, allocations: 0.5855 MB / 422 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3615/0.5135, allocations: 2.726 MB / 424.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.5165, allocations: 0.7399 MB / 425.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.086e-05/0.5167, allocations: 12.67 kB / 425.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.5167, allocations: 51.08 kB / 425.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.878e-06/0.5167, allocations: 0 / 425.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.003552/0.5203, allocations: 0.861 MB / 426.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5205, allocations: 247.3 kB / 426.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.5217, allocations: 0.6016 MB / 427.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.446e-05/0.5218, allocations: 36.36 kB / 427.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.5222, allocations: 425.4 kB / 427.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.5224, allocations: 187.7 kB / 427.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.5224, allocations: 10 kB / 427.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.5225, allocations: 334.9 kB / 428.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.5235, allocations: 245.3 kB / 428.5 MB, free: 9.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.5247, allocations: 382.5 kB / 428.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5258, allocations: 271.9 kB / 429.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.5258, allocations: 1.062 kB / 429.1 MB, free: 9.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004504/0.5303, allocations: 1.053 MB / 430.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.5306, allocations: 1.134 MB / 431.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5306, allocations: 2.75 kB / 431.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.5328, allocations: 371.2 kB / 431.7 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.5339, allocations: 126.4 kB / 431.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006693/0.5406, allocations: 3.854 MB / 435.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5417, allocations: 98.16 kB / 435.7 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.5418, allocations: 20.36 kB / 435.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5418, allocations: 3.656 kB / 435.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002529/0.5444, allocations: 0.6662 MB / 436.4 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5445, allocations: 10.97 kB / 436.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/0.5453, allocations: 144.1 kB / 436.6 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.5468, allocations: 182.6 kB / 436.7 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/0.5516, allocations: 3.287 MB / 440 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.5522, allocations: 74.92 kB / 440.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.5523, allocations: 18.8 kB / 440.1 MB, free: 1.07 MB / 346.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.0004978/0.5528, allocations: 206.8 kB / 440.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.5531, allocations: 94.81 kB / 440.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.5533, allocations: 96 kB / 440.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5534, allocations: 11.34 kB / 440.5 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.5534, allocations: 5.469 kB / 440.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5534, allocations: 4.703 kB / 440.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.5549, allocations: 0.7359 MB / 441.3 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.555, allocations: 1.094 kB / 441.3 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.5562, allocations: 123.3 kB / 441.4 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.5562, allocations: 2.406 kB / 441.4 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.5563, allocations: 13.05 kB / 441.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/0.5563, allocations: 6.812 kB / 441.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5563, allocations: 1.062 kB / 441.4 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.5599, allocations: 1.312 MB / 442.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/0.5604, allocations: 208.7 kB / 442.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5606, allocations: 16.83 kB / 442.9 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/0.5615, allocations: 57.02 kB / 443 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.5617, allocations: 30.98 kB / 443 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.5617, allocations: 11.75 kB / 443 MB, free: 15.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009086/0.5627, allocations: 484.5 kB / 443.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5627, allocations: 0 / 443.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001446/0.5641, allocations: 265.1 kB / 443.8 MB, free: 15.12 MB / 362.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.0002044/0.5644, allocations: 117.3 kB / 443.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006761/0.5711, allocations: 1.601 MB / 445.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5712, allocations: 3.938 kB / 445.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5724, allocations: 308 kB / 445.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.5745, allocations: 207.8 kB / 446 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.5792, allocations: 1.786 MB / 447.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008045/0.5801, allocations: 1.007 MB / 448.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.5805, allocations: 47.25 kB / 448.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5805, allocations: 0 / 448.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.03377/0.6143, allocations: 16.09 MB / 464.9 MB, free: 2.832 MB / 362.7 MB