Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.161/2.161, allocations: 216.8 MB / 229 MB, free: 15.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.262e-05, allocations: 4 kB / 282 MB, free: 10.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 50 MB / 332 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5743, allocations: 79.14 MB / 411.1 MB, free: 1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5746, allocations: 76.83 kB / 411.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02573/0.6004, allocations: 5.346 MB / 416.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6004, allocations: 0 / 416.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.709e-05/0.6005, allocations: 23.98 kB / 416.6 MB, free: 12.29 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001795/0.6023, allocations: 0.6754 MB / 417.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.6024, allocations: 12.03 kB / 417.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.6025, allocations: 77.45 kB / 417.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.6027, allocations: 58.53 kB / 417.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.6041, allocations: 458.5 kB / 417.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.6042, allocations: 82.31 kB / 417.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.6043, allocations: 46.7 kB / 418 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.6055, allocations: 0.4915 MB / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.6055, allocations: 3.953 kB / 418.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.6056, allocations: 18.06 kB / 418.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.6056, allocations: 12 kB / 418.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.6065, allocations: 316.8 kB / 418.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004408/0.6109, allocations: 1.691 MB / 420.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.6124, allocations: 273.5 kB / 420.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.6128, allocations: 162.3 kB / 420.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.6128, allocations: 4.266 kB / 420.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.6129, allocations: 42.73 kB / 421 MB, free: 8.387 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.6129, allocations: 0 / 421 MB, free: 8.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008353/0.6137, allocations: 312.6 kB / 421.3 MB, free: 8.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6138, allocations: 59.39 kB / 421.3 MB, free: 8.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.6144, allocations: 368.2 kB / 421.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.6145, allocations: 29.64 kB / 421.7 MB, free: 7.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.6147, allocations: 256.5 kB / 422 MB, free: 7.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.6149, allocations: 129.5 kB / 422.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.6149, allocations: 7.688 kB / 422.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6151, allocations: 357.9 kB / 422.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.6154, allocations: 115.4 kB / 422.6 MB, free: 7.027 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.6158, allocations: 232.7 kB / 422.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.6163, allocations: 167.3 kB / 422.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.6163, allocations: 0 / 422.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001176/0.6175, allocations: 485 kB / 423.4 MB, free: 6.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.6175, allocations: 11.95 kB / 423.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6175, allocations: 4 kB / 423.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.6176, allocations: 8 kB / 423.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6186, allocations: 123.8 kB / 423.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.6186, allocations: 11.92 kB / 423.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.619, allocations: 51.45 kB / 423.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.6191, allocations: 22.75 kB / 423.6 MB, free: 6.086 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 (61): * Single equations (assignments): 61 * 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.000231/0.6193, allocations: 146 kB / 423.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6194, allocations: 51.38 kB / 423.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.6205, allocations: 388 kB / 424.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.6205, allocations: 4 kB / 424.2 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6206, allocations: 4 kB / 424.2 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.6206, allocations: 3.984 kB / 424.2 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000772/0.6214, allocations: 436.6 kB / 424.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6214, allocations: 0 / 424.7 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.6225, allocations: 103.4 kB / 424.8 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.6226, allocations: 0 / 424.8 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.6226, allocations: 17.7 kB / 424.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6226, allocations: 0 / 424.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6227, allocations: 0 / 424.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6239, allocations: 0.5857 MB / 425.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.6241, allocations: 123.7 kB / 425.5 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.6242, allocations: 11.83 kB / 425.5 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.6245, allocations: 18.86 kB / 425.5 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.6246, allocations: 23.95 kB / 425.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.6247, allocations: 11.5 kB / 425.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005006/0.6252, allocations: 284.6 kB / 425.8 MB, free: 4.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6252, allocations: 7.938 kB / 425.8 MB, free: 4.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005569/0.6258, allocations: 76.72 kB / 425.9 MB, free: 4.145 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.001579/0.6274, allocations: 1.129 MB / 427 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008829/0.6283, allocations: 330 kB / 427.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.6283, allocations: 0 / 427.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.6287, allocations: 153.5 kB / 427.5 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.6291, allocations: 39.62 kB / 427.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.6314, allocations: 0.9001 MB / 428.4 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.632, allocations: 0.8732 MB / 429.3 MB, free: 1.016 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004789/0.6325, allocations: 87.34 kB / 429.4 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.6328, allocations: 169.1 kB / 429.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6329, allocations: 0 / 429.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.6707, allocations: 6.891 MB / 436.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/0.6711, allocations: 171.2 kB / 436.6 MB, free: 9.863 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.115, allocations: 2.812 kB / 436.6 MB, free: 9.863 MB / 362.7 MB