Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(IBPSA): time 2.809/2.809, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.554e-05, allocations: 3.234 kB / 370.6 MB, free: 7.848 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 67.02 MB / 437.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.597, allocations: 105.8 MB / 0.5307 GB, free: 18.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5974, allocations: 79.36 kB / 0.5308 GB, free: 18.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06705/0.6644, allocations: 16.9 MB / 0.5473 GB, free: 32.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.099e-06/0.6645, allocations: 0 / 0.5473 GB, free: 32.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.273e-05/0.6646, allocations: 19.47 kB / 0.5473 GB, free: 32.67 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001909/0.6665, allocations: 0.9389 MB / 0.5482 GB, free: 32.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6666, allocations: 11.62 kB / 0.5482 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.6669, allocations: 97.27 kB / 0.5483 GB, free: 32.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.668, allocations: 0.5875 MB / 0.5489 GB, free: 31.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.6682, allocations: 103.3 kB / 0.549 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6683, allocations: 53.75 kB / 0.549 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.6695, allocations: 0.5772 MB / 0.5496 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.6695, allocations: 0 / 0.5496 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.6696, allocations: 21 kB / 0.5496 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.6697, allocations: 12.38 kB / 0.5496 GB, free: 31.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.6705, allocations: 368.7 kB / 0.55 GB, free: 31.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.6743, allocations: 2.208 MB / 0.5521 GB, free: 30.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.6756, allocations: 454.4 kB / 0.5526 GB, free: 30.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.676, allocations: 173.5 kB / 0.5527 GB, free: 30.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.676, allocations: 6.953 kB / 0.5527 GB, free: 30.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005438/0.6766, allocations: 251.9 kB / 0.553 GB, free: 30.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 4.85e-06/0.6766, allocations: 0 / 0.553 GB, free: 30.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001025/0.6776, allocations: 425.5 kB / 0.5534 GB, free: 30.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.6777, allocations: 187.8 kB / 0.5536 GB, free: 29.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.6786, allocations: 0.5302 MB / 0.5541 GB, free: 29.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.6787, allocations: 36.73 kB / 0.5541 GB, free: 29.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.6791, allocations: 365.6 kB / 0.5545 GB, free: 29.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.6792, allocations: 157.7 kB / 0.5546 GB, free: 29.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.6793, allocations: 15.12 kB / 0.5546 GB, free: 29.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6795, allocations: 323.4 kB / 0.5549 GB, free: 29.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.6798, allocations: 150.4 kB / 0.5551 GB, free: 29.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.6803, allocations: 279.6 kB / 0.5553 GB, free: 29.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.6807, allocations: 204.9 kB / 0.5555 GB, free: 29.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-06/0.6807, allocations: 0 / 0.5555 GB, free: 29.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001218/0.6819, allocations: 0.5364 MB / 0.5561 GB, free: 28.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.6825, allocations: 0.9917 MB / 0.557 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-06/0.6825, allocations: 0 / 0.557 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.6825, allocations: 11.77 kB / 0.557 GB, free: 27.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.6832, allocations: 125.3 kB / 0.5572 GB, free: 27.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.6833, allocations: 7.75 kB / 0.5572 GB, free: 27.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/0.684, allocations: 81.33 kB / 0.5572 GB, free: 27.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/0.6841, allocations: 19.12 kB / 0.5573 GB, free: 27.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.6841, allocations: 3.844 kB / 0.5573 GB, free: 27.89 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009905/0.6851, allocations: 461.2 kB / 0.5577 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-06/0.6851, allocations: 320 / 0.5577 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6851, allocations: 11.78 kB / 0.5577 GB, free: 27.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.6857, allocations: 111.7 kB / 0.5578 GB, free: 27.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.924e-06/0.6857, allocations: 3.875 kB / 0.5578 GB, free: 27.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00066/0.6864, allocations: 80.86 kB / 0.5579 GB, free: 27.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.6865, allocations: 19.38 kB / 0.5579 GB, free: 27.79 MB / 458.7 MB 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.0002398/0.6867, allocations: 142.9 kB / 0.5581 GB, free: 27.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6869, allocations: 74.06 kB / 0.5581 GB, free: 27.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.6872, allocations: 82.33 kB / 0.5582 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.132e-06/0.6872, allocations: 3.938 kB / 0.5582 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.999e-06/0.6872, allocations: 0 / 0.5582 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-06/0.6872, allocations: 0 / 0.5582 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.6882, allocations: 0.6585 MB / 0.5589 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6882, allocations: 0 / 0.5589 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.6889, allocations: 95.52 kB / 0.5589 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.333e-06/0.689, allocations: 3.906 kB / 0.559 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.689, allocations: 10.97 kB / 0.559 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.349e-06/0.689, allocations: 3.938 kB / 0.559 GB, free: 27.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.293e-06/0.6891, allocations: 3.984 kB / 0.559 GB, free: 27.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.6905, allocations: 0.649 MB / 0.5596 GB, free: 27.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.691, allocations: 200.7 kB / 0.5598 GB, free: 27.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.6911, allocations: 10.81 kB / 0.5598 GB, free: 27.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007461/0.6919, allocations: 72.3 kB / 0.5599 GB, free: 27.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.692, allocations: 34.67 kB / 0.5599 GB, free: 27.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.6921, allocations: 21.88 kB / 0.5599 GB, free: 27.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007071/0.6928, allocations: 428 kB / 0.5603 GB, free: 27.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.24e-07/0.6929, allocations: 3.938 kB / 0.5603 GB, free: 27.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009567/0.6938, allocations: 239.1 kB / 0.5606 GB, free: 27 MB / 458.7 MB 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.0002236/0.6941, allocations: 124.2 kB / 0.5607 GB, free: 26.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.6955, allocations: 0.7273 MB / 0.5614 GB, free: 26.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.142e-06/0.6956, allocations: 0 / 0.5614 GB, free: 26.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.696, allocations: 191.8 kB / 0.5616 GB, free: 26.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6971, allocations: 175.4 kB / 0.5617 GB, free: 26.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.6993, allocations: 0.8915 MB / 0.5626 GB, free: 26.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.7, allocations: 0.9342 MB / 0.5635 GB, free: 25.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009327/0.7009, allocations: 131.7 kB / 0.5637 GB, free: 25.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.7011, allocations: 46.22 kB / 0.5637 GB, free: 25.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.752e-06/0.7011, allocations: 0 / 0.5637 GB, free: 25.64 MB / 458.7 MB Notification: Performance of Templates: time 0.0221/0.7232, allocations: 8.98 MB / 0.5725 GB, free: 21.71 MB / 458.7 MB