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_3.2.3_ModelicaTest.Blocks.LimPID") Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.554e-05, allocations: 0 / 323.4 MB, free: 4.324 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.4941, allocations: 89.06 MB / 471.3 MB, free: 3.457 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4943, allocations: 59.98 kB / 471.3 MB, free: 3.398 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.06343/0.5578, allocations: 15.54 MB / 486.9 MB, free: 3.809 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.881e-06/0.5578, allocations: 0 / 486.9 MB, free: 3.809 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0001097/0.558, allocations: 23.94 kB / 486.9 MB, free: 3.785 MB / 410.8 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.002408/0.5604, allocations: 1.051 MB / 487.9 MB, free: 2.688 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5604, allocations: 8.031 kB / 487.9 MB, free: 2.68 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.5607, allocations: 118.6 kB / 488.1 MB, free: 2.562 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5622, allocations: 0.6404 MB / 488.7 MB, free: 1.875 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.5623, allocations: 49.31 kB / 488.8 MB, free: 1.828 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.5624, allocations: 64 kB / 488.8 MB, free: 1.766 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.564, allocations: 0.6558 MB / 489.5 MB, free: 1.051 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.564, allocations: 11.95 kB / 489.5 MB, free: 1.039 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.5641, allocations: 24 kB / 489.5 MB, free: 1.016 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.5641, allocations: 16 kB / 489.5 MB, free: 1 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5652, allocations: 427.6 kB / 489.9 MB, free: 0.582 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.5705, allocations: 2.784 MB / 492.7 MB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.5719, allocations: 0.5539 MB / 493.3 MB, free: 13.11 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.5724, allocations: 228.4 kB / 493.5 MB, free: 12.88 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.788e-05/0.5725, allocations: 8 kB / 493.5 MB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.5726, allocations: 46.55 kB / 493.6 MB, free: 12.81 MB / 426.8 MB Notification: Performance of pre-optimization done (n=52): time 6.161e-06/0.5726, allocations: 3.938 kB / 493.6 MB, free: 12.81 MB / 426.8 MB Notification: Performance of matching and sorting (n=52): time 0.001335/0.5739, allocations: 492.5 kB / 494 MB, free: 12.32 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.5741, allocations: 239.3 kB / 494.3 MB, free: 12.03 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.5753, allocations: 0.6104 MB / 494.9 MB, free: 11.41 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.5754, allocations: 37.7 kB / 494.9 MB, free: 11.37 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.5758, allocations: 432.5 kB / 495.3 MB, free: 10.94 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.5761, allocations: 189.2 kB / 495.5 MB, free: 10.75 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.5761, allocations: 8 kB / 495.5 MB, free: 10.75 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5763, allocations: 333.9 kB / 495.9 MB, free: 10.41 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.5767, allocations: 161.1 kB / 496 MB, free: 10.26 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.5773, allocations: 299 kB / 496.3 MB, free: 9.914 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.5778, allocations: 188 kB / 496.5 MB, free: 9.734 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-06/0.5778, allocations: 0 / 496.5 MB, free: 9.734 MB / 426.8 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00274/0.5806, allocations: 0.897 MB / 497.4 MB, free: 8.82 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006599/0.5813, allocations: 1.133 MB / 498.5 MB, free: 7.602 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.5813, allocations: 4 kB / 498.5 MB, free: 7.598 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.5826, allocations: 267.2 kB / 498.8 MB, free: 7.324 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/0.5834, allocations: 127.9 kB / 498.9 MB, free: 7.199 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/0.5885, allocations: 3.582 MB / 0.4907 GB, free: 3.406 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.5893, allocations: 91.48 kB / 0.4908 GB, free: 3.316 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.5894, allocations: 24 kB / 0.4908 GB, free: 3.293 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5894, allocations: 4 kB / 0.4908 GB, free: 3.289 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001639/0.5911, allocations: 0.5571 MB / 0.4914 GB, free: 2.727 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5911, allocations: 4.047 kB / 0.4914 GB, free: 2.723 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.5917, allocations: 129.9 kB / 0.4915 GB, free: 2.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000959/0.5927, allocations: 175.8 kB / 0.4917 GB, free: 2.418 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/0.597, allocations: 3.131 MB / 0.4947 GB, free: 15.02 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006717/0.5978, allocations: 67.55 kB / 0.4948 GB, free: 14.95 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.5978, allocations: 20 kB / 0.4948 GB, free: 14.93 MB / 442.8 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.000254/0.5981, allocations: 148.7 kB / 0.495 GB, free: 14.78 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.5984, allocations: 102.8 kB / 0.4951 GB, free: 14.68 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.5987, allocations: 95.52 kB / 0.4951 GB, free: 14.59 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5987, allocations: 8 kB / 0.4951 GB, free: 14.58 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.877e-06/0.5987, allocations: 0 / 0.4951 GB, free: 14.58 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.912e-06/0.5987, allocations: 0 / 0.4951 GB, free: 14.58 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.6002, allocations: 0.7467 MB / 0.4959 GB, free: 13.78 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.038e-06/0.6003, allocations: 0 / 0.4959 GB, free: 13.78 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.6011, allocations: 123.8 kB / 0.496 GB, free: 13.66 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.6011, allocations: 11.92 kB / 0.496 GB, free: 13.65 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.6012, allocations: 12 kB / 0.496 GB, free: 13.64 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.408e-06/0.6012, allocations: 4 kB / 0.496 GB, free: 13.63 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.807e-06/0.6012, allocations: 192 / 0.496 GB, free: 13.63 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.6032, allocations: 1.082 MB / 0.4971 GB, free: 12.51 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.6036, allocations: 219.8 kB / 0.4973 GB, free: 12.27 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6037, allocations: 8 kB / 0.4973 GB, free: 12.27 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.6045, allocations: 59.92 kB / 0.4974 GB, free: 12.21 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6046, allocations: 39.88 kB / 0.4974 GB, free: 12.17 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.6047, allocations: 12 kB / 0.4974 GB, free: 12.16 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0009102/0.6056, allocations: 491.1 kB / 0.4979 GB, free: 11.68 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.96e-07/0.6056, allocations: 0 / 0.4979 GB, free: 11.68 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001291/0.6069, allocations: 275.1 kB / 0.4981 GB, free: 11.41 MB / 442.8 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.000216/0.6072, allocations: 115.2 kB / 0.4982 GB, free: 11.29 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.6118, allocations: 1.474 MB / 0.4997 GB, free: 9.785 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.57e-06/0.6118, allocations: 0 / 0.4997 GB, free: 9.785 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.6124, allocations: 215.8 kB / 0.4999 GB, free: 9.574 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.6139, allocations: 198.3 kB / 0.5001 GB, free: 9.383 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.6168, allocations: 1.131 MB / 0.5012 GB, free: 8.207 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.6177, allocations: 1.006 MB / 0.5022 GB, free: 7.172 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0008665/0.6186, allocations: 148 kB / 0.5023 GB, free: 7.027 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.6188, allocations: 43.42 kB / 0.5023 GB, free: 6.984 MB / 442.8 MB Notification: Performance of SimCode: time 1.733e-06/0.6188, allocations: 0 / 0.5023 GB, free: 6.984 MB / 442.8 MB Notification: Performance of Templates: time 0.0335/0.6523, allocations: 12.11 MB / 0.5142 GB, free: 10.9 MB / 458.8 MB