Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.175/2.175, allocations: 216.8 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.413e-05, allocations: 4 kB / 282 MB, free: 10.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 50 MB / 332 MB, free: 8.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4307/0.5465, allocations: 77.7 MB / 409.7 MB, free: 2.418 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.5469, allocations: 68.34 kB / 409.8 MB, free: 2.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009309/0.5562, allocations: 2.403 MB / 412.2 MB, free: 308 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5563, allocations: 0 / 412.2 MB, free: 308 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.5563, allocations: 4 kB / 412.2 MB, free: 304 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000635/0.557, allocations: 396.2 kB / 412.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.557, allocations: 8.031 kB / 412.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.92e-05/0.5571, allocations: 37.88 kB / 412.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.5572, allocations: 19.7 kB / 412.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.5575, allocations: 217.1 kB / 412.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5575, allocations: 7.5 kB / 412.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.5576, allocations: 8 kB / 412.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.5578, allocations: 80.61 kB / 412.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5578, allocations: 4.641 kB / 412.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5578, allocations: 0 / 412.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.5579, allocations: 4 kB / 412.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.558, allocations: 35.14 kB / 413 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.5588, allocations: 385.5 kB / 413.3 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5591, allocations: 93.78 kB / 413.4 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.5593, allocations: 57.39 kB / 413.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.5593, allocations: 11.89 kB / 413.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.5595, allocations: 90.38 kB / 413.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.5596, allocations: 4 kB / 413.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003975/0.56, allocations: 135.5 kB / 413.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.56, allocations: 51.41 kB / 413.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.5603, allocations: 155.8 kB / 413.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5603, allocations: 32.14 kB / 414 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.5604, allocations: 115.7 kB / 414.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.5605, allocations: 38.02 kB / 414.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5605, allocations: 0 / 414.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5606, allocations: 329 kB / 414.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.5607, allocations: 26.19 kB / 414.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.5609, allocations: 78.42 kB / 414.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.561, allocations: 37.48 kB / 414.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.561, allocations: 3.953 kB / 414.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003194/0.5613, allocations: 151.2 kB / 414.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5614, allocations: 4 kB / 414.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5614, allocations: 0 / 414.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5614, allocations: 4 kB / 414.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.5617, allocations: 35.11 kB / 414.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.5617, allocations: 4.219 kB / 414.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.912e-05/0.5618, allocations: 7.906 kB / 414.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.5618, allocations: 19.36 kB / 414.8 MB, free: 13.7 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.fO_dig_BE.y,fO_dig_BE.y,$PRE.fO_dig_FE.y,fO_dig_FE.y,$PRE.fO_dig_TU.y,fO_dig_TU.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001031/0.562, allocations: 127.5 kB / 414.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.562, allocations: 11.86 kB / 414.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.5621, allocations: 24.52 kB / 414.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.5621, allocations: 0 / 414.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5621, allocations: 0 / 414.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.5621, allocations: 4 kB / 414.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.5627, allocations: 422.4 kB / 415.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5628, allocations: 4 kB / 415.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.563, allocations: 27.48 kB / 415.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.563, allocations: 0 / 415.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.563, allocations: 4 kB / 415.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.563, allocations: 0 / 415.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.563, allocations: 0 / 415.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.5635, allocations: 276.5 kB / 415.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.5636, allocations: 85.05 kB / 415.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.5637, allocations: 11.31 kB / 415.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.5638, allocations: 11.42 kB / 415.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.5639, allocations: 7.984 kB / 415.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.5639, allocations: 8 kB / 415.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.564, allocations: 121.3 kB / 415.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5641, allocations: 0 / 415.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.5645, allocations: 33.62 kB / 415.9 MB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008957/0.5654, allocations: 0.8469 MB / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.5657, allocations: 80.31 kB / 416.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5657, allocations: 3.938 kB / 416.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.5658, allocations: 50.42 kB / 416.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.5662, allocations: 21 kB / 416.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5673, allocations: 262.2 kB / 417.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5676, allocations: 0.7127 MB / 417.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.139e-05/0.5677, allocations: 21.14 kB / 417.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.5678, allocations: 37.73 kB / 418 MB, free: 10.6 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5678, allocations: 3.938 kB / 418 MB, free: 10.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.5945, allocations: 2.609 MB / 420.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/0.5949, allocations: 182.5 kB / 420.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.206, allocations: 0 / 420.8 MB, free: 7.844 MB / 346.7 MB