Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(BuildingSystems): time 2.952/2.952, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.568e-05, allocations: 4 kB / 436.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 77.73 MB / 0.5022 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5255/0.6665, allocations: 113.7 MB / 0.6133 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.6668, allocations: 75.95 kB / 0.6134 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07128/0.7381, allocations: 16.9 MB / 0.6299 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.207e-06/0.7382, allocations: 0 / 0.6299 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.857e-05/0.7382, allocations: 16 kB / 0.6299 GB, free: 6.352 MB / 0.5105 GB 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.002046/0.7403, allocations: 0.9547 MB / 0.6308 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.7404, allocations: 8.031 kB / 0.6308 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.7407, allocations: 94.88 kB / 0.6309 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.7421, allocations: 0.5901 MB / 0.6315 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.7423, allocations: 100.4 kB / 0.6316 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.7424, allocations: 51.91 kB / 0.6316 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.7438, allocations: 0.5727 MB / 0.6322 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.7438, allocations: 0 / 0.6322 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.7439, allocations: 23.95 kB / 0.6322 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.7439, allocations: 16 kB / 0.6322 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.7449, allocations: 369.8 kB / 0.6326 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.7494, allocations: 2.212 MB / 0.6347 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.7507, allocations: 444.1 kB / 0.6352 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/0.7511, allocations: 168.9 kB / 0.6353 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.863e-05/0.7512, allocations: 11.97 kB / 0.6353 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006403/0.7519, allocations: 247.8 kB / 0.6356 GB, free: 252 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.635e-06/0.7519, allocations: 0 / 0.6356 GB, free: 252 kB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.00119/0.7531, allocations: 421.3 kB / 0.636 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.7532, allocations: 189 kB / 0.6362 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.7543, allocations: 0.5351 MB / 0.6367 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/0.7544, allocations: 37.7 kB / 0.6367 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.7548, allocations: 356.9 kB / 0.6371 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.755, allocations: 153.8 kB / 0.6372 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.7551, allocations: 8 kB / 0.6372 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7553, allocations: 341.9 kB / 0.6375 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.7557, allocations: 141.1 kB / 0.6377 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005741/0.7563, allocations: 282.5 kB / 0.6379 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.7568, allocations: 206 kB / 0.6381 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.932e-06/0.7569, allocations: 4 kB / 0.6381 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001456/0.7583, allocations: 0.5319 MB / 0.6387 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006062/0.759, allocations: 0.9914 MB / 0.6396 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.759, allocations: 7.938 kB / 0.6396 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.759, allocations: 8 kB / 0.6396 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.7598, allocations: 119.9 kB / 0.6398 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.7599, allocations: 11.94 kB / 0.6398 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/0.7607, allocations: 79.47 kB / 0.6398 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.7608, allocations: 23.98 kB / 0.6399 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7608, allocations: 4 kB / 0.6399 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/0.762, allocations: 456.2 kB / 0.6403 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7621, allocations: 8.031 kB / 0.6403 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7621, allocations: 4 kB / 0.6403 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/0.7628, allocations: 115.8 kB / 0.6404 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.7628, allocations: 8 kB / 0.6404 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.7636, allocations: 75.58 kB / 0.6405 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.7637, allocations: 20 kB / 0.6405 GB, free: 10.95 MB / 0.5261 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.0002588/0.7639, allocations: 136.1 kB / 0.6407 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.7641, allocations: 75.06 kB / 0.6407 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.7644, allocations: 87.06 kB / 0.6408 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7644, allocations: 4 kB / 0.6408 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.946e-06/0.7644, allocations: 0 / 0.6408 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.98e-06/0.7645, allocations: 4 kB / 0.6408 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.7656, allocations: 0.6569 MB / 0.6415 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-06/0.7656, allocations: 0 / 0.6415 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.7664, allocations: 99.94 kB / 0.6416 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.7664, allocations: 4 kB / 0.6416 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.7665, allocations: 15.98 kB / 0.6416 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.7665, allocations: 3.953 kB / 0.6416 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.523e-06/0.7665, allocations: 7.938 kB / 0.6416 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.7682, allocations: 0.6498 MB / 0.6422 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.7686, allocations: 200.1 kB / 0.6424 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.7688, allocations: 15.98 kB / 0.6424 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/0.7695, allocations: 63.95 kB / 0.6425 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7697, allocations: 39.66 kB / 0.6425 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.7697, allocations: 15.98 kB / 0.6425 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008158/0.7706, allocations: 427.2 kB / 0.643 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.33e-07/0.7706, allocations: 0 / 0.643 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009967/0.7716, allocations: 239.2 kB / 0.6432 GB, free: 8.148 MB / 0.5261 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.0002375/0.7718, allocations: 127.2 kB / 0.6433 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.7736, allocations: 0.7286 MB / 0.644 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.817e-06/0.7736, allocations: 1.25 kB / 0.644 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.7741, allocations: 187.8 kB / 0.6442 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7752, allocations: 186.5 kB / 0.6444 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.7777, allocations: 0.8844 MB / 0.6452 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/0.7785, allocations: 0.9313 MB / 0.6461 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009761/0.7795, allocations: 139.7 kB / 0.6463 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.7797, allocations: 39.44 kB / 0.6463 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of SimCode: time 2.019e-06/0.7797, allocations: 3.938 kB / 0.6463 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of Templates: time 0.02586/0.8056, allocations: 8.978 MB / 0.6551 GB, free: 11.93 MB / 0.5417 GB