Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.154/2.154, allocations: 216.8 MB / 229 MB, free: 15.13 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.153e-05, allocations: 11.98 kB / 282 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 49.99 MB / 332 MB, free: 8.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5558, allocations: 78.38 MB / 410.4 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.5561, allocations: 73.52 kB / 410.4 MB, free: 2.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.5757, allocations: 4.504 MB / 414.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5758, allocations: 0 / 414.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.708e-05/0.5759, allocations: 12 kB / 414.9 MB, free: 14.14 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001302/0.5772, allocations: 0.6184 MB / 415.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5772, allocations: 12.03 kB / 415.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.5773, allocations: 69.28 kB / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.5775, allocations: 43.44 kB / 415.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008139/0.5783, allocations: 367 kB / 416 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.5784, allocations: 27.59 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.5785, allocations: 35.44 kB / 416.1 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.5794, allocations: 401.6 kB / 416.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.5794, allocations: 10.22 kB / 416.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.5795, allocations: 17.77 kB / 416.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5795, allocations: 8 kB / 416.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.5802, allocations: 263.7 kB / 416.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.5836, allocations: 1.5 MB / 418.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.5842, allocations: 158.5 kB / 418.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.5844, allocations: 104.7 kB / 418.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.5845, allocations: 4.188 kB / 418.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5845, allocations: 34.73 kB / 418.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.775e-06/0.5845, allocations: 0 / 418.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006102/0.5852, allocations: 226.5 kB / 418.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.5852, allocations: 63.34 kB / 418.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.5858, allocations: 350 kB / 419.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.5859, allocations: 28.7 kB / 419.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.5861, allocations: 231.7 kB / 419.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.5862, allocations: 87.42 kB / 419.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.5862, allocations: 3.25 kB / 419.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5864, allocations: 351.6 kB / 419.9 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.5866, allocations: 86.72 kB / 420 MB, free: 9.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.587, allocations: 192.2 kB / 420.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.5873, allocations: 130.5 kB / 420.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.5873, allocations: 4 kB / 420.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009482/0.5883, allocations: 378.3 kB / 420.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.5884, allocations: 8 kB / 420.7 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5884, allocations: 4 kB / 420.7 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5884, allocations: 4 kB / 420.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.5891, allocations: 95.81 kB / 420.8 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.5891, allocations: 4 kB / 420.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.5895, allocations: 51.34 kB / 420.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.5895, allocations: 15.84 kB / 420.9 MB, free: 8.84 MB / 346.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002054/0.5897, allocations: 134.5 kB / 421 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.5898, allocations: 31.62 kB / 421 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/0.5906, allocations: 273.2 kB / 421.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5906, allocations: 8 kB / 421.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5906, allocations: 0 / 421.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.5906, allocations: 3.984 kB / 421.3 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.5913, allocations: 380.5 kB / 421.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.5913, allocations: 0 / 421.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.592, allocations: 67.77 kB / 421.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.592, allocations: 0 / 421.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.592, allocations: 11.81 kB / 421.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.592, allocations: 0 / 421.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.592, allocations: 0 / 421.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.5929, allocations: 454.1 kB / 422.2 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.593, allocations: 112.6 kB / 422.3 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.5931, allocations: 7.875 kB / 422.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.5934, allocations: 19.84 kB / 422.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.5934, allocations: 11.97 kB / 422.3 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.5935, allocations: 7.625 kB / 422.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004061/0.5939, allocations: 271.7 kB / 422.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5939, allocations: 0 / 422.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004903/0.5944, allocations: 63.41 kB / 422.7 MB, free: 7.227 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.001135/0.5956, allocations: 0.9853 MB / 423.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006057/0.5962, allocations: 245.5 kB / 423.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5962, allocations: 384 / 423.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.5965, allocations: 98.41 kB / 424 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.5968, allocations: 36.8 kB / 424 MB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5987, allocations: 0.7046 MB / 424.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.5992, allocations: 0.842 MB / 425.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003203/0.5995, allocations: 74.86 kB / 425.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.5998, allocations: 135.1 kB / 425.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5998, allocations: 0 / 425.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.6327, allocations: 5.702 MB / 431.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.633, allocations: 173 kB / 431.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.148, allocations: 0 / 431.6 MB, free: 14.54 MB / 362.7 MB