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_4.0.0_ModelicaTest.Blocks.LimPID") Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.13e-05, allocations: 9.766 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5154, allocations: 89.95 MB / 0.4885 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.5157, allocations: 63.97 kB / 0.4885 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06033/0.5761, allocations: 15.32 MB / 0.5035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.237e-06/0.5761, allocations: 0 / 0.5035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.776e-05/0.5762, allocations: 23.94 kB / 0.5035 GB, free: 14.77 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.002133/0.5783, allocations: 1.043 MB / 0.5045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5784, allocations: 12.03 kB / 0.5046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.5787, allocations: 114.6 kB / 0.5047 GB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.58, allocations: 0.6094 MB / 0.5053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.5801, allocations: 50.41 kB / 0.5053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.5802, allocations: 64 kB / 0.5054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.5817, allocations: 0.67 MB / 0.506 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5817, allocations: 0 / 0.506 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.911e-05/0.5818, allocations: 28 kB / 0.506 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.5819, allocations: 19.95 kB / 0.5061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.583, allocations: 427.8 kB / 0.5065 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/0.5879, allocations: 2.784 MB / 0.5092 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.5893, allocations: 0.5397 MB / 0.5097 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.5898, allocations: 227.7 kB / 0.5099 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.5899, allocations: 8 kB / 0.5099 GB, free: 7.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.59, allocations: 50.48 kB / 0.51 GB, free: 7.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 3.849e-06/0.59, allocations: 0 / 0.51 GB, free: 7.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.001279/0.5913, allocations: 484.4 kB / 0.5105 GB, free: 7.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.5914, allocations: 239.3 kB / 0.5107 GB, free: 7.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5925, allocations: 0.5986 MB / 0.5113 GB, free: 6.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.5926, allocations: 33.7 kB / 0.5113 GB, free: 6.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.5931, allocations: 436.4 kB / 0.5117 GB, free: 5.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.5933, allocations: 185.3 kB / 0.5119 GB, free: 5.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.5933, allocations: 8 kB / 0.5119 GB, free: 5.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5935, allocations: 329.9 kB / 0.5122 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.594, allocations: 161.1 kB / 0.5124 GB, free: 5.316 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/0.5946, allocations: 299 kB / 0.5127 GB, free: 4.977 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.5951, allocations: 196.8 kB / 0.5128 GB, free: 4.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-06/0.5951, allocations: 0 / 0.5128 GB, free: 4.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00268/0.5978, allocations: 0.8857 MB / 0.5137 GB, free: 3.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006455/0.5984, allocations: 1.142 MB / 0.5148 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5985, allocations: 7.984 kB / 0.5148 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.5997, allocations: 259.3 kB / 0.5151 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.6004, allocations: 131.8 kB / 0.5152 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004881/0.6053, allocations: 3.574 MB / 0.5187 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.6061, allocations: 95.61 kB / 0.5188 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.6061, allocations: 20 kB / 0.5188 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6062, allocations: 6.812 kB / 0.5188 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001627/0.6078, allocations: 0.5601 MB / 0.5194 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.901e-06/0.6078, allocations: 4 kB / 0.5194 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.6084, allocations: 121.9 kB / 0.5195 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/0.6094, allocations: 179.7 kB / 0.5197 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.6136, allocations: 3.135 MB / 0.5227 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/0.6143, allocations: 71.5 kB / 0.5228 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.6143, allocations: 16 kB / 0.5228 GB, free: 9.977 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.0002331/0.6146, allocations: 140.8 kB / 0.5229 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.6149, allocations: 94.94 kB / 0.523 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.6151, allocations: 99.28 kB / 0.5231 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.6151, allocations: 4 kB / 0.5231 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.219e-06/0.6152, allocations: 4 kB / 0.5231 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6152, allocations: 3.984 kB / 0.5231 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.6167, allocations: 0.7427 MB / 0.5239 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-06/0.6167, allocations: 0 / 0.5239 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.6175, allocations: 123.8 kB / 0.524 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.6175, allocations: 4 kB / 0.524 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.6176, allocations: 8 kB / 0.524 GB, free: 8.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.117e-06/0.6176, allocations: 7.938 kB / 0.524 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.199e-06/0.6176, allocations: 0 / 0.524 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6195, allocations: 1.09 MB / 0.5251 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.6199, allocations: 211.9 kB / 0.5253 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.62, allocations: 12 kB / 0.5253 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/0.6207, allocations: 56.08 kB / 0.5253 GB, free: 7.273 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6208, allocations: 35.91 kB / 0.5254 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.6209, allocations: 20 kB / 0.5254 GB, free: 7.219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008242/0.6217, allocations: 471.2 kB / 0.5258 GB, free: 6.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.6218, allocations: 4 kB / 0.5258 GB, free: 6.762 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001261/0.623, allocations: 271 kB / 0.5261 GB, free: 6.496 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.0002029/0.6232, allocations: 119.1 kB / 0.5262 GB, free: 6.367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.6277, allocations: 1.468 MB / 0.5276 GB, free: 4.867 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.807e-06/0.6278, allocations: 0 / 0.5276 GB, free: 4.867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.6283, allocations: 224.5 kB / 0.5278 GB, free: 4.648 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.6298, allocations: 201.4 kB / 0.528 GB, free: 4.457 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.6325, allocations: 1.123 MB / 0.5291 GB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.6334, allocations: 1.002 MB / 0.5301 GB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008409/0.6343, allocations: 147.7 kB / 0.5303 GB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6345, allocations: 39.44 kB / 0.5303 GB, free: 2.074 MB / 442.7 MB Notification: Performance of SimCode: time 1.686e-06/0.6345, allocations: 0 / 0.5303 GB, free: 2.074 MB / 442.7 MB Notification: Performance of Templates: time 0.03196/0.6665, allocations: 11.99 MB / 0.542 GB, free: 6.133 MB / 458.7 MB