Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.119/2.119, allocations: 216.8 MB / 229 MB, free: 15.13 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.717e-05, allocations: 7.984 kB / 282 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50 MB / 332 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5509, allocations: 78.74 MB / 410.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5513, allocations: 79.2 kB / 410.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0223/0.5736, allocations: 4.705 MB / 415.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5737, allocations: 3.938 kB / 415.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.529e-05/0.5737, allocations: 15.94 kB / 415.5 MB, free: 13.28 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.001526/0.5753, allocations: 0.6256 MB / 416.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5753, allocations: 12.03 kB / 416.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.5755, allocations: 72.47 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.5756, allocations: 51.42 kB / 416.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5767, allocations: 386.9 kB / 416.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/0.5768, allocations: 80.25 kB / 416.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5769, allocations: 49.02 kB / 416.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.5779, allocations: 410.8 kB / 417.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.5779, allocations: 4 kB / 417.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.578, allocations: 15.5 kB / 417.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.578, allocations: 8 kB / 417.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.5788, allocations: 275.1 kB / 417.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.5828, allocations: 1.566 MB / 419.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.5835, allocations: 166.6 kB / 419.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.5838, allocations: 117.4 kB / 419.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/0.5838, allocations: 4.188 kB / 419.3 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.5839, allocations: 30.75 kB / 419.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.657e-06/0.5839, allocations: 0 / 419.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006766/0.5846, allocations: 245.7 kB / 419.6 MB, free: 9.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5846, allocations: 51.41 kB / 419.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.5852, allocations: 348.8 kB / 420 MB, free: 9.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.5853, allocations: 29.27 kB / 420 MB, free: 9.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.5855, allocations: 237 kB / 420.3 MB, free: 9.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.617e-05/0.5856, allocations: 86.03 kB / 420.3 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.5856, allocations: 7.875 kB / 420.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5858, allocations: 350.6 kB / 420.7 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.5861, allocations: 91.48 kB / 420.8 MB, free: 8.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.5864, allocations: 197.8 kB / 421 MB, free: 8.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.5868, allocations: 129.8 kB / 421.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5868, allocations: 0 / 421.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00104/0.5878, allocations: 403.2 kB / 421.5 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5879, allocations: 7.938 kB / 421.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5879, allocations: 7.984 kB / 421.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.5879, allocations: 11.95 kB / 421.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.5888, allocations: 100.2 kB / 421.6 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.5888, allocations: 11.92 kB / 421.6 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.5891, allocations: 54.14 kB / 421.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.5892, allocations: 15.38 kB / 421.7 MB, free: 7.77 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 (48): * Single equations (assignments): 48 * 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.0002111/0.5894, allocations: 140.6 kB / 421.8 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.593e-05/0.5895, allocations: 31.62 kB / 421.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/0.5903, allocations: 284.3 kB / 422.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5903, allocations: 0 / 422.1 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5903, allocations: 7.953 kB / 422.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5904, allocations: 3.984 kB / 422.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.591, allocations: 391.6 kB / 422.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.591, allocations: 0 / 422.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009036/0.592, allocations: 79.12 kB / 422.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.592, allocations: 4 kB / 422.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.592, allocations: 7.25 kB / 422.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.592, allocations: 0 / 422.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5921, allocations: 0 / 422.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009112/0.593, allocations: 472.4 kB / 423.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5931, allocations: 112.6 kB / 423.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.5932, allocations: 9.609 kB / 423.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.5935, allocations: 19.72 kB / 423.2 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.5936, allocations: 15.92 kB / 423.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.5936, allocations: 7.562 kB / 423.3 MB, free: 6.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004549/0.5941, allocations: 270.8 kB / 423.5 MB, free: 6.168 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5941, allocations: 0 / 423.5 MB, free: 6.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005027/0.5946, allocations: 65.47 kB / 423.6 MB, free: 6.113 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.001333/0.5959, allocations: 1.002 MB / 424.6 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.5967, allocations: 252.5 kB / 424.8 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5967, allocations: 4 kB / 424.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.597, allocations: 109.3 kB / 424.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.5974, allocations: 35.11 kB / 425 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5995, allocations: 0.7561 MB / 425.7 MB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.6001, allocations: 0.8485 MB / 426.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.6005, allocations: 75.22 kB / 426.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.6007, allocations: 136.1 kB / 426.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.794e-06/0.6008, allocations: 0 / 426.8 MB, free: 3.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.6302, allocations: 5.861 MB / 432.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.6306, allocations: 167.9 kB / 432.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.107, allocations: 112 / 432.8 MB, free: 13.2 MB / 362.7 MB