Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.102/2.102, allocations: 216.8 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.819e-05, allocations: 0 / 282 MB, free: 10.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 50 MB / 332 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.5761, allocations: 78.84 MB / 410.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5764, allocations: 73.08 kB / 410.9 MB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02182/0.5982, allocations: 4.769 MB / 415.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5983, allocations: 0 / 415.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.065e-05/0.5983, allocations: 20.73 kB / 415.7 MB, free: 13.45 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001573/0.5999, allocations: 0.6271 MB / 416.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6, allocations: 8.031 kB / 416.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.6001, allocations: 74.47 kB / 416.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.6003, allocations: 47.44 kB / 416.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6014, allocations: 391.9 kB / 416.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.6015, allocations: 26.34 kB / 416.9 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/0.6016, allocations: 37.12 kB / 416.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.6026, allocations: 416.8 kB / 417.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.6027, allocations: 7.953 kB / 417.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.6027, allocations: 17.06 kB / 417.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.6028, allocations: 8 kB / 417.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.6036, allocations: 272.8 kB / 417.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.6076, allocations: 1.539 MB / 419.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.6089, allocations: 226.2 kB / 419.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.6092, allocations: 107.9 kB / 419.5 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.6093, allocations: 11.42 kB / 419.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.6093, allocations: 34.5 kB / 419.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.276e-06/0.6094, allocations: 0 / 419.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008657/0.6102, allocations: 254.9 kB / 419.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.6103, allocations: 55.41 kB / 419.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.611, allocations: 351.9 kB / 420.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.611, allocations: 28.89 kB / 420.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.6113, allocations: 236.9 kB / 420.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6114, allocations: 98.5 kB / 420.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.6114, allocations: 5.938 kB / 420.5 MB, free: 9.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.6117, allocations: 354.6 kB / 420.9 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.612, allocations: 98.03 kB / 421 MB, free: 8.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.6124, allocations: 195.4 kB / 421.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.6129, allocations: 143.9 kB / 421.3 MB, free: 8.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.6129, allocations: 0 / 421.3 MB, free: 8.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001044/0.614, allocations: 428.1 kB / 421.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.614, allocations: 8 kB / 421.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.614, allocations: 4 kB / 421.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.6141, allocations: 4 kB / 421.7 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/0.6149, allocations: 107.4 kB / 421.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.615, allocations: 11.94 kB / 421.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003773/0.6154, allocations: 50.77 kB / 421.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.6154, allocations: 20.12 kB / 421.9 MB, free: 7.914 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 (51): * Single equations (assignments): 51 * 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.0002469/0.6157, allocations: 140.7 kB / 422 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.6158, allocations: 39.53 kB / 422.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009624/0.6168, allocations: 320.2 kB / 422.4 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.6168, allocations: 7.938 kB / 422.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6168, allocations: 0 / 422.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6169, allocations: 3.984 kB / 422.4 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.6176, allocations: 404.5 kB / 422.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6177, allocations: 0 / 422.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/0.6186, allocations: 82.19 kB / 422.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.6186, allocations: 4 kB / 422.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.6187, allocations: 17.73 kB / 422.9 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.6187, allocations: 4 kB / 422.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6187, allocations: 0 / 422.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6198, allocations: 496.2 kB / 423.4 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.62, allocations: 120.6 kB / 423.5 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.62, allocations: 11 kB / 423.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.6203, allocations: 19.36 kB / 423.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.6204, allocations: 15.97 kB / 423.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.6205, allocations: 7.438 kB / 423.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004733/0.621, allocations: 270.3 kB / 423.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.621, allocations: 0 / 423.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005399/0.6215, allocations: 65.91 kB / 423.9 MB, free: 6.172 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.001342/0.6229, allocations: 1.049 MB / 424.9 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007437/0.6236, allocations: 275.8 kB / 425.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6237, allocations: 0 / 425.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.6239, allocations: 120.8 kB / 425.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.6244, allocations: 34.98 kB / 425.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.6265, allocations: 0.7741 MB / 426.1 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.6271, allocations: 0.8492 MB / 427 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003958/0.6275, allocations: 75.22 kB / 427.1 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.6278, allocations: 148.5 kB / 427.2 MB, free: 3.164 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6278, allocations: 4 kB / 427.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.662, allocations: 6.141 MB / 433.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.6623, allocations: 170.1 kB / 433.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.282, allocations: 0 / 433.5 MB, free: 12.89 MB / 362.7 MB