Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadModel(BuildSysPro): time 3.056/3.056, allocations: 325.3 MB / 337.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.851e-05, allocations: 4 kB / 414.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 74.41 MB / 489.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.6397, allocations: 109.4 MB / 0.5846 GB, free: 6.512 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.64, allocations: 82.61 kB / 0.5846 GB, free: 6.469 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04933/0.6893, allocations: 13.09 MB / 0.5974 GB, free: 11.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.6894, allocations: 4 kB / 0.5974 GB, free: 11.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.53e-05/0.6895, allocations: 12 kB / 0.5974 GB, free: 11.47 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001946/0.6914, allocations: 0.8845 MB / 0.5983 GB, free: 10.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.6915, allocations: 8.031 kB / 0.5983 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.6917, allocations: 90.92 kB / 0.5984 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.6929, allocations: 0.5339 MB / 0.5989 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.693, allocations: 42.81 kB / 0.5989 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.6931, allocations: 69.02 kB / 0.599 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.6945, allocations: 0.6095 MB / 0.5996 GB, free: 9.508 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.6945, allocations: 3.984 kB / 0.5996 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.6947, allocations: 22.5 kB / 0.5996 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6947, allocations: 16 kB / 0.5996 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6958, allocations: 422.7 kB / 0.6001 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.7001, allocations: 2.118 MB / 0.6021 GB, free: 7.629 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009808/0.7011, allocations: 431.6 kB / 0.6025 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.7016, allocations: 227.9 kB / 0.6027 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.7017, allocations: 4.438 kB / 0.6028 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/0.7023, allocations: 251 kB / 0.603 GB, free: 7.043 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 4.24e-06/0.7023, allocations: 4 kB / 0.603 GB, free: 7.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=50): time 0.001078/0.7034, allocations: 424.5 kB / 0.6034 GB, free: 6.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.7035, allocations: 166.6 kB / 0.6036 GB, free: 6.539 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006644/0.7042, allocations: 400.6 kB / 0.6039 GB, free: 6.227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.7043, allocations: 33.08 kB / 0.604 GB, free: 6.195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.7046, allocations: 326.8 kB / 0.6043 GB, free: 5.969 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.7048, allocations: 173.6 kB / 0.6045 GB, free: 5.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.7048, allocations: 6.875 kB / 0.6045 GB, free: 5.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.7051, allocations: 371.7 kB / 0.6048 GB, free: 5.473 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.7055, allocations: 158.2 kB / 0.605 GB, free: 5.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.706, allocations: 255.9 kB / 0.6052 GB, free: 5.184 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.7065, allocations: 212.3 kB / 0.6054 GB, free: 5.039 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/0.7065, allocations: 4 kB / 0.6054 GB, free: 5.035 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001225/0.7077, allocations: 0.5212 MB / 0.6059 GB, free: 4.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.7081, allocations: 0.6479 MB / 0.6066 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7082, allocations: 3.984 kB / 0.6066 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.7082, allocations: 4 kB / 0.6066 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.7089, allocations: 127 kB / 0.6067 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.7089, allocations: 7.984 kB / 0.6067 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.7095, allocations: 77 kB / 0.6068 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.7096, allocations: 27.3 kB / 0.6068 GB, free: 3.727 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7096, allocations: 6.5 kB / 0.6068 GB, free: 3.723 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/0.7107, allocations: 450.4 kB / 0.6072 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7107, allocations: 7.984 kB / 0.6072 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7107, allocations: 4 kB / 0.6072 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.7113, allocations: 111.7 kB / 0.6073 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7113, allocations: 8.125 kB / 0.6074 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.7119, allocations: 70.94 kB / 0.6074 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.712, allocations: 15.94 kB / 0.6074 GB, free: 3.227 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0002023/0.7122, allocations: 143.4 kB / 0.6076 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.7123, allocations: 63.33 kB / 0.6076 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.7125, allocations: 60.45 kB / 0.6077 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.986e-06/0.7125, allocations: 8 kB / 0.6077 GB, free: 3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.7126, allocations: 3.953 kB / 0.6077 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.746e-06/0.7126, allocations: 3.984 kB / 0.6077 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.7149, allocations: 1.217 MB / 0.6089 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.555e-06/0.7149, allocations: 0 / 0.6089 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.7156, allocations: 115.6 kB / 0.609 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.701e-06/0.7157, allocations: 0 / 0.609 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.7157, allocations: 15.77 kB / 0.609 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.269e-06/0.7157, allocations: 4 kB / 0.609 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.217e-06/0.7157, allocations: 0 / 0.609 GB, free: 1.973 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.7172, allocations: 0.746 MB / 0.6098 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.7176, allocations: 186.6 kB / 0.6099 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.7177, allocations: 11.62 kB / 0.6099 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.7183, allocations: 55.59 kB / 0.61 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.7184, allocations: 32.2 kB / 0.61 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.7185, allocations: 19.86 kB / 0.61 GB, free: 1.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005631/0.719, allocations: 311 kB / 0.6103 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.468e-06/0.7191, allocations: 0 / 0.6103 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001008/0.7201, allocations: 282.8 kB / 0.6106 GB, free: 0.6953 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.0002158/0.7203, allocations: 123.9 kB / 0.6107 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.7219, allocations: 0.7438 MB / 0.6115 GB, free: 32 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.413e-06/0.7219, allocations: 4 kB / 0.6115 GB, free: 28 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.7224, allocations: 212.5 kB / 0.6117 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009513/0.7234, allocations: 144.9 kB / 0.6118 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.727, allocations: 1.291 MB / 0.6131 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.7277, allocations: 0.9034 MB / 0.6139 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007379/0.7285, allocations: 104.5 kB / 0.614 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.7287, allocations: 35.42 kB / 0.6141 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of SimCode: time 1.788e-06/0.7287, allocations: 4 kB / 0.6141 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.02122/0.7499, allocations: 7.752 MB / 0.6216 GB, free: 5.84 MB / 0.4948 GB