Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.276/2.276, allocations: 216.8 MB / 229 MB, free: 15.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.523e-05, allocations: 4 kB / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 49.99 MB / 332 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5801, allocations: 77.97 MB / 409.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.5805, allocations: 77.2 kB / 410 MB, free: 2.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.5931, allocations: 3.053 MB / 413.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5931, allocations: 0 / 413.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.5932, allocations: 8 kB / 413.1 MB, free: 15.51 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00073/0.5939, allocations: 438.6 kB / 413.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.594, allocations: 12.03 kB / 413.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.5941, allocations: 46.08 kB / 413.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.5941, allocations: 19.77 kB / 413.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.5945, allocations: 245.7 kB / 413.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.5945, allocations: 11.56 kB / 413.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.5946, allocations: 15.5 kB / 413.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.595, allocations: 156.8 kB / 414 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.595, allocations: 6.234 kB / 414 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.5951, allocations: 3 kB / 414 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5951, allocations: 4 kB / 414 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.5953, allocations: 51.73 kB / 414.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.5964, allocations: 461.3 kB / 414.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.5968, allocations: 121.4 kB / 414.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.597, allocations: 63.45 kB / 414.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.597, allocations: 7.984 kB / 414.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.5974, allocations: 143.8 kB / 414.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.996e-06/0.5974, allocations: 0 / 414.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005644/0.598, allocations: 195.9 kB / 415 MB, free: 13.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5981, allocations: 165.5 kB / 415.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.5984, allocations: 178.4 kB / 415.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.5984, allocations: 33.64 kB / 415.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5986, allocations: 131.9 kB / 415.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.5986, allocations: 54.38 kB / 415.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.5987, allocations: 10.81 kB / 415.6 MB, free: 13.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5988, allocations: 333.7 kB / 415.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.599, allocations: 42.34 kB / 416 MB, free: 12.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.5992, allocations: 151.2 kB / 416.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.5995, allocations: 68.58 kB / 416.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5995, allocations: 0.6562 kB / 416.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005315/0.6, allocations: 231.4 kB / 416.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.6001, allocations: 8 kB / 416.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6001, allocations: 7.938 kB / 416.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6001, allocations: 4 kB / 416.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.6005, allocations: 50.84 kB / 416.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.6005, allocations: 11.94 kB / 416.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.6007, allocations: 19.09 kB / 416.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.6008, allocations: 15.12 kB / 416.5 MB, free: 12.18 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = false protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = false protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,$PRE.cplxP_dig_TU.y_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,$PRE.cplxP_dig_FE.y_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,$PRE.cplxP_dig_BE.y_pre1,cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cplxP_dig_BE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_FE.y,$PRE.cplxP_dig_TU.y,cplxP_dig_TU.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002306/0.601, allocations: 145.3 kB / 416.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.6011, allocations: 27.77 kB / 416.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.6012, allocations: 20.89 kB / 416.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6012, allocations: 3.938 kB / 416.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6012, allocations: 0 / 416.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6012, allocations: 0 / 416.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.6022, allocations: 0.5056 MB / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6022, allocations: 8 kB / 417.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.6025, allocations: 20.73 kB / 417.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.6025, allocations: 11.94 kB / 417.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.6026, allocations: 2.562 kB / 417.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.6026, allocations: 7.938 kB / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6026, allocations: 0 / 417.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.6034, allocations: 363.5 kB / 417.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.6035, allocations: 93.02 kB / 417.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.6035, allocations: 15.38 kB / 417.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.6037, allocations: 11.69 kB / 417.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.6038, allocations: 11.97 kB / 417.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.6039, allocations: 10.38 kB / 417.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.604, allocations: 139.2 kB / 417.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.604, allocations: 0 / 417.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.6046, allocations: 62.11 kB / 418 MB, free: 10.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001178/0.6058, allocations: 0.9348 MB / 418.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004506/0.6062, allocations: 147.1 kB / 419 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6063, allocations: 0.8125 kB / 419 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.6064, allocations: 64.61 kB / 419.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.6068, allocations: 42.33 kB / 419.1 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.6079, allocations: 325.4 kB / 419.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.6083, allocations: 0.7285 MB / 420.2 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.6084, allocations: 26.06 kB / 420.2 MB, free: 8.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.6086, allocations: 55.05 kB / 420.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6086, allocations: 0 / 420.3 MB, free: 8.633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.6383, allocations: 3.881 MB / 424.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.6386, allocations: 187.9 kB / 424.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.171, allocations: 0 / 424.3 MB, free: 4.617 MB / 346.7 MB