Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.089/2.089, allocations: 216.8 MB / 229 MB, free: 15.12 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.164e-05, allocations: 4 kB / 282 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 50 MB / 332 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5483, allocations: 79.94 MB / 411.9 MB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5486, allocations: 80.14 kB / 412 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1184/0.6671, allocations: 19.71 MB / 431.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6671, allocations: 3.938 kB / 431.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001585/0.6673, allocations: 32 kB / 431.7 MB, free: 15.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007377/0.6747, allocations: 1.357 MB / 433.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.6748, allocations: 8.031 kB / 433.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005808/0.6754, allocations: 147.7 kB / 433.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007679/0.6762, allocations: 170 kB / 433.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006827/0.6831, allocations: 1.053 MB / 434.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.6835, allocations: 300.1 kB / 434.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005136/0.684, allocations: 129 kB / 434.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.6883, allocations: 1.234 MB / 436.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/0.6884, allocations: 7.938 kB / 436.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002391/0.6887, allocations: 46.12 kB / 436.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.6888, allocations: 24 kB / 436.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.6919, allocations: 0.6662 MB / 436.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/0.7066, allocations: 3.858 MB / 440.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.7104, allocations: 0.8088 MB / 441.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.7119, allocations: 399.5 kB / 441.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.7121, allocations: 28.17 kB / 441.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/0.7122, allocations: 46.5 kB / 442 MB, free: 7.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 5.441e-06/0.7122, allocations: 0 / 442 MB, free: 7.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=99): time 0.003475/0.7157, allocations: 0.7826 MB / 442.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/0.716, allocations: 380.1 kB / 443.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.7184, allocations: 0.7687 MB / 443.9 MB, free: 5.391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003476/0.7188, allocations: 53.64 kB / 444 MB, free: 5.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008497/0.7197, allocations: 0.5913 MB / 444.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000664/0.7204, allocations: 380.8 kB / 444.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.7205, allocations: 30.88 kB / 445 MB, free: 4.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/0.7208, allocations: 356.3 kB / 445.3 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7223, allocations: 331.9 kB / 445.6 MB, free: 4.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.7243, allocations: 0.7239 MB / 446.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.7262, allocations: 445.9 kB / 446.8 MB, free: 3.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/0.7263, allocations: 4 kB / 446.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.005048/0.7313, allocations: 1.202 MB / 448 MB, free: 2.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.7315, allocations: 15.23 kB / 448 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/0.7315, allocations: 12 kB / 448 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.413e-05/0.7316, allocations: 16 kB / 448 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/0.7362, allocations: 342.4 kB / 448.4 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.609e-05/0.7364, allocations: 28.17 kB / 448.4 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.7384, allocations: 123.3 kB / 448.5 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.7386, allocations: 54.42 kB / 448.6 MB, free: 1.664 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_FS.ATreq_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.0005241/0.7392, allocations: 187 kB / 448.8 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/0.7397, allocations: 118.5 kB / 448.9 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.7442, allocations: 1.035 MB / 449.9 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.7443, allocations: 8 kB / 449.9 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.7443, allocations: 0 / 449.9 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.079e-05/0.7444, allocations: 11.98 kB / 449.9 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.7477, allocations: 1.067 MB / 451 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.7478, allocations: 7.984 kB / 451 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00594/0.7537, allocations: 303.6 kB / 451.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-05/0.7538, allocations: 4 kB / 451.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000299/0.7541, allocations: 35.98 kB / 451.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/0.7542, allocations: 7.953 kB / 451.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.7542, allocations: 0 / 451.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005608/0.7598, allocations: 1.416 MB / 452.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.7604, allocations: 199.3 kB / 453 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004948/0.7609, allocations: 31.98 kB / 453 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.7627, allocations: 27.98 kB / 453 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.763, allocations: 76.8 kB / 453.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.7632, allocations: 31.98 kB / 453.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001765/0.765, allocations: 0.568 MB / 453.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.765, allocations: 0 / 453.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001822/0.7668, allocations: 235.4 kB / 453.9 MB, free: 12.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.005768/0.7726, allocations: 1.998 MB / 455.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.7756, allocations: 0.8747 MB / 456.8 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.7756, allocations: 4 kB / 456.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.7767, allocations: 427.6 kB / 457.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/0.7777, allocations: 124.9 kB / 457.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008013/0.7858, allocations: 2.56 MB / 459.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.7869, allocations: 1.185 MB / 461.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.7883, allocations: 181.3 kB / 461.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.7895, allocations: 0.5344 MB / 461.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of SimCode: time 3.457e-06/0.7896, allocations: 0 / 461.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/0.8553, allocations: 19.24 MB / 481 MB, free: 1.254 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003456/0.8558, allocations: 190 kB / 481.2 MB, free: 1.023 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.208, allocations: 0 / 481.2 MB, free: 1.023 MB / 394.7 MB