Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(BuildSysPro): time 3.151/3.151, allocations: 325.3 MB / 337.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.293e-05, allocations: 4 kB / 414.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 74.42 MB / 489.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6446, allocations: 110.1 MB / 0.5853 GB, free: 5.727 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.6448, allocations: 80.2 kB / 0.5854 GB, free: 5.684 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07294/0.7178, allocations: 17.71 MB / 0.6027 GB, free: 6.773 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.85e-06/0.7178, allocations: 0 / 0.6027 GB, free: 6.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.385e-05/0.7179, allocations: 20 kB / 0.6027 GB, free: 6.754 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002068/0.72, allocations: 0.9414 MB / 0.6036 GB, free: 5.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7201, allocations: 12.03 kB / 0.6036 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.7204, allocations: 94.88 kB / 0.6037 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.7217, allocations: 0.6061 MB / 0.6043 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.7219, allocations: 100.3 kB / 0.6044 GB, free: 5.055 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.722, allocations: 53.44 kB / 0.6045 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.7233, allocations: 0.5765 MB / 0.605 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.7233, allocations: 7.938 kB / 0.605 GB, free: 4.562 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.7234, allocations: 22.44 kB / 0.6051 GB, free: 4.559 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.7235, allocations: 15.94 kB / 0.6051 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009262/0.7244, allocations: 370.1 kB / 0.6054 GB, free: 4.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.7286, allocations: 2.244 MB / 0.6076 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.7298, allocations: 453.4 kB / 0.6081 GB, free: 2.086 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.7303, allocations: 168.9 kB / 0.6082 GB, free: 1.988 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.7303, allocations: 4 kB / 0.6082 GB, free: 1.984 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006616/0.731, allocations: 252.9 kB / 0.6085 GB, free: 1.797 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 4.122e-06/0.731, allocations: 0 / 0.6085 GB, free: 1.797 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001138/0.7322, allocations: 420.2 kB / 0.6089 GB, free: 1.484 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7323, allocations: 187.8 kB / 0.609 GB, free: 1.262 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.7334, allocations: 0.5359 MB / 0.6096 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.7335, allocations: 37.33 kB / 0.6096 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.7339, allocations: 373.9 kB / 0.61 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.7341, allocations: 156.8 kB / 0.6101 GB, free: 456 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.7342, allocations: 7.812 kB / 0.6101 GB, free: 456 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.7343, allocations: 330.7 kB / 0.6104 GB, free: 128 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.7348, allocations: 150.5 kB / 0.6106 GB, free: 40 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.7353, allocations: 275.4 kB / 0.6108 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.7358, allocations: 204.4 kB / 0.611 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-06/0.7359, allocations: 4 kB / 0.611 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001395/0.7373, allocations: 0.5342 MB / 0.6116 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005907/0.7379, allocations: 0.9846 MB / 0.6125 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.7379, allocations: 4 kB / 0.6125 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.738, allocations: 8 kB / 0.6125 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.7387, allocations: 123.7 kB / 0.6126 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.7387, allocations: 11.94 kB / 0.6127 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/0.7395, allocations: 90.92 kB / 0.6127 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.7396, allocations: 19.75 kB / 0.6128 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7396, allocations: 4 kB / 0.6128 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/0.7407, allocations: 442.5 kB / 0.6132 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.6e-06/0.7408, allocations: 8.062 kB / 0.6132 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.7408, allocations: 4 kB / 0.6132 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.7414, allocations: 107.2 kB / 0.6133 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.7414, allocations: 7.938 kB / 0.6133 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.742, allocations: 65.88 kB / 0.6134 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.7421, allocations: 19.5 kB / 0.6134 GB, free: 13.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0002304/0.7424, allocations: 137.7 kB / 0.6135 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.7426, allocations: 75.06 kB / 0.6136 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.7428, allocations: 79.11 kB / 0.6137 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.7428, allocations: 8 kB / 0.6137 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.39e-06/0.7428, allocations: 3.953 kB / 0.6137 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.519e-06/0.7428, allocations: 0 / 0.6137 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7439, allocations: 0.6541 MB / 0.6143 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7439, allocations: 0 / 0.6143 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/0.7446, allocations: 102.9 kB / 0.6144 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.7446, allocations: 4 kB / 0.6144 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.7447, allocations: 10.38 kB / 0.6144 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.7447, allocations: 0 / 0.6144 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-06/0.7447, allocations: 0 / 0.6144 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.7463, allocations: 0.6608 MB / 0.6151 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.7467, allocations: 203.1 kB / 0.6153 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7468, allocations: 10.62 kB / 0.6153 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.7475, allocations: 63.52 kB / 0.6153 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7477, allocations: 39.31 kB / 0.6154 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.7477, allocations: 15.48 kB / 0.6154 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007475/0.7485, allocations: 437.9 kB / 0.6158 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.28e-07/0.7485, allocations: 0 / 0.6158 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001009/0.7495, allocations: 239.8 kB / 0.616 GB, free: 11.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002336/0.7498, allocations: 133 kB / 0.6162 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.7514, allocations: 0.7216 MB / 0.6169 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.975e-06/0.7514, allocations: 0 / 0.6169 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.7519, allocations: 185 kB / 0.617 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7529, allocations: 194.8 kB / 0.6172 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.7554, allocations: 0.8876 MB / 0.6181 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.7562, allocations: 0.9469 MB / 0.619 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009163/0.7571, allocations: 139.6 kB / 0.6192 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.7573, allocations: 43.38 kB / 0.6192 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of SimCode: time 1.824e-06/0.7573, allocations: 0 / 0.6192 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of Templates: time 0.02585/0.7832, allocations: 9.333 MB / 0.6283 GB, free: 15.12 MB / 0.5105 GB