Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.19/2.19, allocations: 216.8 MB / 229 MB, free: 15.22 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.639e-05, allocations: 7.984 kB / 282 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 50 MB / 332 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4914/0.6094, allocations: 77.79 MB / 409.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.6097, allocations: 74.39 kB / 409.8 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01816/0.6279, allocations: 4.028 MB / 413.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.628, allocations: 4 kB / 413.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.628, allocations: 4 kB / 413.9 MB, free: 14.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006424/0.6286, allocations: 420.4 kB / 414.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6287, allocations: 8.031 kB / 414.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.6288, allocations: 41.92 kB / 414.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.6288, allocations: 19.77 kB / 414.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.6292, allocations: 225.6 kB / 414.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.6292, allocations: 8 kB / 414.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.6293, allocations: 15.55 kB / 414.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.6296, allocations: 124 kB / 414.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6296, allocations: 3.984 kB / 414.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.6296, allocations: 7.438 kB / 414.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.6296, allocations: 0 / 414.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.6298, allocations: 46.14 kB / 414.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.6308, allocations: 416.8 kB / 415.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.6311, allocations: 105.1 kB / 415.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.6312, allocations: 61.66 kB / 415.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.6312, allocations: 0 / 415.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.6315, allocations: 99.39 kB / 415.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.464e-06/0.6315, allocations: 0 / 415.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004681/0.632, allocations: 150.6 kB / 415.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.6321, allocations: 165.6 kB / 415.8 MB, free: 13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.6324, allocations: 173.3 kB / 415.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.6324, allocations: 33.08 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.6326, allocations: 125 kB / 416.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.6326, allocations: 41.62 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.6327, allocations: 3.812 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6328, allocations: 322.6 kB / 416.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-05/0.6329, allocations: 34.94 kB / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.6331, allocations: 108.6 kB / 416.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.6332, allocations: 47.05 kB / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6333, allocations: 0 / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003743/0.6336, allocations: 151.2 kB / 416.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6337, allocations: 7.953 kB / 416.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6337, allocations: 4 kB / 416.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.6337, allocations: 0 / 416.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.634, allocations: 37.55 kB / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.634, allocations: 4.188 kB / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.6343, allocations: 18.58 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.6344, allocations: 9.625 kB / 416.9 MB, free: 11.96 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.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001458/0.6345, allocations: 114.9 kB / 417 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.6346, allocations: 23.73 kB / 417 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.6347, allocations: 27.11 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6347, allocations: 4 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.6347, allocations: 4 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6347, allocations: 0 / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.6355, allocations: 451.2 kB / 417.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6355, allocations: 0 / 417.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.6358, allocations: 19.98 kB / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.6358, allocations: 3.953 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6358, allocations: 6.562 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.6358, allocations: 4 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6359, allocations: 0 / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.6364, allocations: 297.8 kB / 417.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.6365, allocations: 92.94 kB / 417.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.6366, allocations: 10.83 kB / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.6369, allocations: 11.98 kB / 417.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.637, allocations: 6.688 kB / 417.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.637, allocations: 7.984 kB / 417.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.6372, allocations: 142.5 kB / 418.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6372, allocations: 0 / 418.1 MB, free: 10.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.6377, allocations: 46.88 kB / 418.1 MB, free: 10.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.001007/0.6387, allocations: 0.851 MB / 418.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.639, allocations: 102 kB / 419 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6391, allocations: 0 / 419 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.6392, allocations: 50.62 kB / 419.1 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.6396, allocations: 35.25 kB / 419.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.6409, allocations: 294.8 kB / 419.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.6412, allocations: 0.7211 MB / 420.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.6414, allocations: 21.56 kB / 420.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.6415, allocations: 45.36 kB / 420.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6415, allocations: 4 kB / 420.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.6664, allocations: 3.2 MB / 423.4 MB, free: 5.605 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.6667, allocations: 186.5 kB / 423.6 MB, free: 5.375 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.324, allocations: 0 / 423.6 MB, free: 5.375 MB / 346.7 MB