Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadModel(IndustrialControlSystems): time 2.201/2.201, allocations: 216.8 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.873e-05, allocations: 0 / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09425, allocations: 50 MB / 331.9 MB, free: 8.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.4973, allocations: 79.99 MB / 411.9 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.4978, allocations: 76.33 kB / 411.9 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0525/0.5503, allocations: 7.294 MB / 419.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.083e-06/0.5504, allocations: 4 kB / 419.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.288e-05/0.5505, allocations: 19.98 kB / 419.3 MB, free: 10.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0151/0.5656, allocations: 0.7382 MB / 420 MB, free: 9.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.5657, allocations: 12.03 kB / 420 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.5661, allocations: 59.25 kB / 420.1 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.5679, allocations: 441.9 kB / 420.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.568, allocations: 27.41 kB / 420.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.5682, allocations: 45.88 kB / 420.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.5704, allocations: 0.5091 MB / 421.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/0.5705, allocations: 11.89 kB / 421.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.5707, allocations: 20.02 kB / 421.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.5707, allocations: 20 kB / 421.1 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.5727, allocations: 366.2 kB / 421.5 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.5877, allocations: 1.834 MB / 423.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.5889, allocations: 257.1 kB / 423.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.5895, allocations: 189 kB / 423.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/0.5896, allocations: 11.97 kB / 423.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008422/0.5905, allocations: 252.7 kB / 424 MB, free: 5.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 6.53e-06/0.5905, allocations: 0 / 424 MB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001871/0.5924, allocations: 471.3 kB / 424.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.698e-05/0.5925, allocations: 85.11 kB / 424.6 MB, free: 5.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.5938, allocations: 433 kB / 425 MB, free: 5.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.765e-05/0.5939, allocations: 36.14 kB / 425 MB, free: 5.098 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.5943, allocations: 278.9 kB / 425.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.5946, allocations: 134.5 kB / 425.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.5946, allocations: 9.812 kB / 425.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/0.595, allocations: 368.5 kB / 425.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.5956, allocations: 162.5 kB / 426 MB, free: 4.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008546/0.5965, allocations: 328.2 kB / 426.3 MB, free: 3.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.5975, allocations: 251 kB / 426.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.5975, allocations: 4 kB / 426.5 MB, free: 3.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002628/0.6002, allocations: 0.7121 MB / 427.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.6003, allocations: 33.7 kB / 427.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.6003, allocations: 8.062 kB / 427.3 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.063e-05/0.6004, allocations: 12 kB / 427.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.6017, allocations: 135.5 kB / 427.4 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.255e-05/0.6018, allocations: 8 kB / 427.4 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/0.6025, allocations: 66.86 kB / 427.5 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.6026, allocations: 23.19 kB / 427.5 MB, free: 2.941 MB / 346.7 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.000324/0.6029, allocations: 192.5 kB / 427.7 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.6031, allocations: 51.39 kB / 427.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.6043, allocations: 0.5342 MB / 428.3 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.786e-06/0.6044, allocations: 4 kB / 428.3 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-06/0.6044, allocations: 7.984 kB / 428.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.027e-06/0.6044, allocations: 0 / 428.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.6053, allocations: 480.8 kB / 428.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.047e-06/0.6053, allocations: 0 / 428.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.6061, allocations: 87.75 kB / 428.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.6061, allocations: 3.953 kB / 428.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.6062, allocations: 23.48 kB / 428.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.153e-06/0.6062, allocations: 96 / 428.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.552e-06/0.6063, allocations: 3.938 kB / 428.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.6078, allocations: 0.7306 MB / 429.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.608, allocations: 124.6 kB / 429.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6082, allocations: 19.39 kB / 429.8 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.6084, allocations: 19.91 kB / 429.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.6086, allocations: 19.84 kB / 429.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.6086, allocations: 15.88 kB / 429.8 MB, free: 0.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005486/0.6092, allocations: 338.5 kB / 430.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6092, allocations: 4 kB / 430.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006494/0.6099, allocations: 115.6 kB / 430.3 MB, free: 0.5859 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0003226/0.6102, allocations: 142.8 kB / 430.4 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.6113, allocations: 0.5064 MB / 430.9 MB, free: 56 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.08e-06/0.6113, allocations: 8.375 kB / 430.9 MB, free: 48 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.6118, allocations: 258.8 kB / 431.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.6121, allocations: 48.39 kB / 431.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.614, allocations: 0.9076 MB / 432.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/0.6147, allocations: 0.8994 MB / 433 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00044/0.6152, allocations: 112.1 kB / 433.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6153, allocations: 35 kB / 433.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of SimCode: time 4.195e-06/0.6153, allocations: 0 / 433.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Templates: time 0.01284/0.6282, allocations: 3.481 MB / 436.6 MB, free: 10.45 MB / 362.7 MB