Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") Notification: Performance of loadModel(IndustrialControlSystems): time 2.204/2.204, allocations: 216.8 MB / 229 MB, free: 15.11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.197e-05, allocations: 4 kB / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08807, allocations: 50 MB / 331.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.462, allocations: 77.95 MB / 409.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.4623, allocations: 70.28 kB / 409.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.4745, allocations: 3.038 MB / 413 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.98e-06/0.4746, allocations: 0 / 413 MB, free: 15.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.4746, allocations: 11.94 kB / 413 MB, free: 15.86 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.0006522/0.4753, allocations: 440.6 kB / 413.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4753, allocations: 12.02 kB / 413.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.4754, allocations: 24.42 kB / 413.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.4758, allocations: 237.2 kB / 413.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4758, allocations: 12.17 kB / 413.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.4759, allocations: 15.42 kB / 413.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.4762, allocations: 161.7 kB / 413.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4762, allocations: 0 / 413.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.4763, allocations: 9.672 kB / 413.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-06/0.4763, allocations: 0 / 413.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.4765, allocations: 56.92 kB / 413.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.4775, allocations: 460.3 kB / 414.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.4778, allocations: 126.6 kB / 414.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.478, allocations: 61.05 kB / 414.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.478, allocations: 0 / 414.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.4784, allocations: 137.5 kB / 414.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.965e-06/0.4784, allocations: 0 / 414.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.000498/0.4789, allocations: 203.1 kB / 414.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.479, allocations: 162.2 kB / 415 MB, free: 13.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.4793, allocations: 182.9 kB / 415.2 MB, free: 13.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.4793, allocations: 36.33 kB / 415.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.4795, allocations: 123.8 kB / 415.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.4795, allocations: 57 kB / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.4796, allocations: 3.5 kB / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4798, allocations: 336.3 kB / 415.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4799, allocations: 42.66 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4801, allocations: 150.4 kB / 415.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.4803, allocations: 77.94 kB / 416 MB, free: 12.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.888e-06/0.4803, allocations: 0 / 416 MB, free: 12.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004796/0.4808, allocations: 226.3 kB / 416.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4809, allocations: 15.23 kB / 416.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4809, allocations: 4.375 kB / 416.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4809, allocations: 8 kB / 416.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.4812, allocations: 47.86 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.4813, allocations: 11.97 kB / 416.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.4814, allocations: 29.97 kB / 416.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.4815, allocations: 10.38 kB / 416.4 MB, free: 12.57 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.0001875/0.4817, allocations: 138 kB / 416.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4817, allocations: 19.8 kB / 416.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.4818, allocations: 23.92 kB / 416.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.698e-06/0.4818, allocations: 4 kB / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.197e-06/0.4818, allocations: 0 / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.012e-06/0.4819, allocations: 3.984 kB / 416.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.4827, allocations: 0.5123 MB / 417.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.381e-06/0.4827, allocations: 0 / 417.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.4829, allocations: 27.98 kB / 417.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4829, allocations: 0 / 417.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.483, allocations: 15 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.483, allocations: 0 / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-06/0.483, allocations: 0 / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.4838, allocations: 353.6 kB / 417.5 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.4839, allocations: 99.8 kB / 417.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.484, allocations: 7.562 kB / 417.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.4844, allocations: 23.69 kB / 417.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.4845, allocations: 11.98 kB / 417.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.4845, allocations: 7.984 kB / 417.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002552/0.4848, allocations: 144.1 kB / 417.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.005e-06/0.4848, allocations: 0 / 417.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008906/0.4857, allocations: 61.42 kB / 417.8 MB, free: 11.23 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.0004257/0.4862, allocations: 154 kB / 418 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.4869, allocations: 147.1 kB / 418.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4869, allocations: 0 / 418.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.4872, allocations: 62.19 kB / 418.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.4878, allocations: 35.86 kB / 418.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.4889, allocations: 255.7 kB / 418.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.4894, allocations: 0.7331 MB / 419.2 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.4897, allocations: 22.08 kB / 419.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.4898, allocations: 19.44 kB / 419.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of SimCode: time 2.411e-06/0.4898, allocations: 0 / 419.2 MB, free: 9.859 MB / 346.7 MB Notification: Performance of Templates: time 0.01166/0.5015, allocations: 2.127 MB / 421.3 MB, free: 7.75 MB / 346.7 MB