Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadModel(Buildings): time 4.351/4.351, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.888e-05/4.908e-05, allocations: 4 kB / 0.5731 GB, free: 5.742 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7761/0.9853, allocations: 139.9 MB / 0.8144 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.9856, allocations: 79.38 kB / 0.8145 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06625/1.052, allocations: 16.89 MB / 0.831 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.42e-06/1.052, allocations: 11.78 kB / 0.831 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.174e-05/1.052, allocations: 15.5 kB / 0.831 GB, free: 8 MB / 0.6355 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.001627/1.054, allocations: 0.9411 MB / 0.8319 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.054, allocations: 11.19 kB / 0.8319 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/1.054, allocations: 97.17 kB / 0.832 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/1.055, allocations: 0.5914 MB / 0.8326 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.055, allocations: 96.14 kB / 0.8327 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/1.055, allocations: 52 kB / 0.8327 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.056, allocations: 0.5818 MB / 0.8333 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.057, allocations: 0 / 0.8333 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/1.057, allocations: 19.94 kB / 0.8333 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/1.057, allocations: 15.38 kB / 0.8333 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/1.058, allocations: 365.4 kB / 0.8337 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/1.061, allocations: 2.215 MB / 0.8358 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.062, allocations: 451.7 kB / 0.8363 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/1.063, allocations: 170.4 kB / 0.8364 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/1.063, allocations: 7.734 kB / 0.8364 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005828/1.063, allocations: 242 kB / 0.8367 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 4.427e-06/1.064, allocations: 0 / 0.8367 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.001034/1.065, allocations: 417.1 kB / 0.8371 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.065, allocations: 191.5 kB / 0.8372 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/1.065, allocations: 0.5352 MB / 0.8378 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.42e-05/1.066, allocations: 37.45 kB / 0.8378 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/1.066, allocations: 364 kB / 0.8382 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/1.066, allocations: 155.7 kB / 0.8383 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/1.066, allocations: 15.38 kB / 0.8383 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/1.066, allocations: 337.4 kB / 0.8386 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/1.066, allocations: 143.4 kB / 0.8388 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/1.067, allocations: 276.7 kB / 0.839 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/1.067, allocations: 201.9 kB / 0.8392 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.677e-06/1.067, allocations: 3.844 kB / 0.8392 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001235/1.069, allocations: 0.5299 MB / 0.8398 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004899/1.069, allocations: 0.9937 MB / 0.8407 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.069, allocations: 7.641 kB / 0.8407 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.069, allocations: 3.875 kB / 0.8407 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/1.07, allocations: 123.7 kB / 0.8409 GB, free: 18.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.07, allocations: 3.812 kB / 0.8409 GB, free: 18.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/1.071, allocations: 80.88 kB / 0.8409 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/1.071, allocations: 22.64 kB / 0.841 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.071, allocations: 3.844 kB / 0.841 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009965/1.072, allocations: 457.7 kB / 0.8414 GB, free: 18.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.077e-06/1.072, allocations: 11.59 kB / 0.8414 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.072, allocations: 3.812 kB / 0.8414 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/1.073, allocations: 112.1 kB / 0.8415 GB, free: 18.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.073, allocations: 12.08 kB / 0.8415 GB, free: 18.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/1.073, allocations: 80.73 kB / 0.8416 GB, free: 18.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/1.073, allocations: 19.03 kB / 0.8416 GB, free: 18.24 MB / 0.6511 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.0002395/1.074, allocations: 136.8 kB / 0.8418 GB, free: 18.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.074, allocations: 73.59 kB / 0.8418 GB, free: 18.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/1.074, allocations: 86.23 kB / 0.8419 GB, free: 18.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.074, allocations: 3.844 kB / 0.8419 GB, free: 18.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.074, allocations: 7.891 kB / 0.8419 GB, free: 18.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.409e-06/1.074, allocations: 0 / 0.8419 GB, free: 18.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008697/1.075, allocations: 0.6522 MB / 0.8426 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/1.075, allocations: 3.938 kB / 0.8426 GB, free: 17.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/1.076, allocations: 103.1 kB / 0.8427 GB, free: 17.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.203e-06/1.076, allocations: 0 / 0.8427 GB, free: 17.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/1.076, allocations: 11.2 kB / 0.8427 GB, free: 17.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.076, allocations: 0 / 0.8427 GB, free: 17.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-06/1.076, allocations: 3.844 kB / 0.8427 GB, free: 17.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.077, allocations: 0.6498 MB / 0.8433 GB, free: 17.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/1.078, allocations: 200.2 kB / 0.8435 GB, free: 17.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.078, allocations: 18.95 kB / 0.8435 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/1.079, allocations: 57.58 kB / 0.8436 GB, free: 17.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.079, allocations: 37.86 kB / 0.8436 GB, free: 17.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/1.079, allocations: 18.73 kB / 0.8436 GB, free: 17.33 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006658/1.079, allocations: 431.5 kB / 0.844 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.27e-07/1.079, allocations: 0 / 0.844 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009091/1.08, allocations: 244.5 kB / 0.8443 GB, free: 17.16 MB / 0.6511 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.0002172/1.081, allocations: 120.3 kB / 0.8444 GB, free: 17.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001474/1.082, allocations: 0.7329 MB / 0.8451 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.74e-06/1.082, allocations: 4.062 kB / 0.8451 GB, free: 16.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/1.082, allocations: 191.5 kB / 0.8453 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.084, allocations: 173.8 kB / 0.8455 GB, free: 16.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/1.086, allocations: 0.8793 MB / 0.8463 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/1.086, allocations: 0.9428 MB / 0.8472 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008778/1.087, allocations: 139.6 kB / 0.8474 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/1.087, allocations: 35.44 kB / 0.8474 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of SimCode: time 2.114e-06/1.087, allocations: 8 kB / 0.8474 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of Templates: time 0.02489/1.112, allocations: 8.985 MB / 0.8562 GB, free: 5.445 MB / 0.6511 GB