Running command: translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") Notification: Performance of loadModel(IndustrialControlSystems): time 2.284/2.284, allocations: 216.8 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.009e-05, allocations: 4 kB / 281.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09523/0.09528, allocations: 49.99 MB / 331.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5044, allocations: 82.01 MB / 413.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5047, allocations: 82.52 kB / 414 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05744/0.5622, allocations: 13.88 MB / 427.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.376e-06/0.5622, allocations: 0 / 427.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.616e-05/0.5623, allocations: 19.98 kB / 427.9 MB, free: 2.723 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0013/0.5636, allocations: 0.7516 MB / 428.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5637, allocations: 12.03 kB / 428.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.5638, allocations: 63.23 kB / 428.7 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.565, allocations: 0.4922 MB / 429.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.5651, allocations: 11.94 kB / 429.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.5651, allocations: 19.67 kB / 429.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.5657, allocations: 274.2 kB / 429.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5657, allocations: 0 / 429.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.5658, allocations: 7.688 kB / 429.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.5658, allocations: 7.938 kB / 429.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.5661, allocations: 122.2 kB / 429.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.5676, allocations: 0.7038 MB / 430.3 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.5681, allocations: 215.5 kB / 430.5 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.5684, allocations: 86.02 kB / 430.6 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.5685, allocations: 4 kB / 430.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006509/0.5692, allocations: 194.1 kB / 430.8 MB, free: 20 kB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 6.161e-06/0.5692, allocations: 4 kB / 430.8 MB, free: 16 kB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001021/0.5702, allocations: 335.1 kB / 431.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5704, allocations: 139.8 kB / 431.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.5716, allocations: 0.6333 MB / 431.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/0.5716, allocations: 40.27 kB / 432 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5719, allocations: 239.2 kB / 432.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.572, allocations: 62.06 kB / 432.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.572, allocations: 7.422 kB / 432.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002281/0.5722, allocations: 377.3 kB / 432.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.5724, allocations: 68.95 kB / 432.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.5728, allocations: 221.7 kB / 432.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.5731, allocations: 105.1 kB / 433 MB, free: 14.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5731, allocations: 0 / 433 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000781/0.5739, allocations: 335.9 kB / 433.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5739, allocations: 11.94 kB / 433.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.574, allocations: 4.078 kB / 433.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.574, allocations: 7.953 kB / 433.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.5742, allocations: 39.92 kB / 433.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.5743, allocations: 7.984 kB / 433.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.5746, allocations: 34.39 kB / 433.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.5746, allocations: 11.12 kB / 433.5 MB, free: 13.78 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: xor_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] or_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] not_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] and_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.xor_gate.y[1],xor_gate.y[1],$PRE.or_gate.y[1],or_gate.y[1],$PRE.not_gate.y[1],not_gate.y[1],$PRE.and_gate.y[1],and_gate.y[1],$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$PRE.booleanConstant2.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.booleanConstant1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.booleanConstant.combiTimeTable.nextTimeEvent,$whenCondition1,and_gate.u[2],booleanConstant2.combiTimeTable.nextTimeEvent,$PRE.booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled,and_gate.u[3],booleanConstant1.combiTimeTable.nextTimeEvent,$PRE.booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,and_gate.u[4],booleanConstant.combiTimeTable.nextTimeEvent,$PRE.booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEventScaled,not_gate_C.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 1 * 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.0002458/0.5749, allocations: 159.4 kB / 433.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5751, allocations: 59.33 kB / 433.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008592/0.5759, allocations: 361.6 kB / 434 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.576, allocations: 7.953 kB / 434 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-06/0.576, allocations: 0 / 434 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.47e-06/0.576, allocations: 3.984 kB / 434 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.5767, allocations: 446.5 kB / 434.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-06/0.5767, allocations: 4 kB / 434.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.5769, allocations: 19.25 kB / 434.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-06/0.5769, allocations: 0 / 434.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.5769, allocations: 11.55 kB / 434.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.494e-06/0.5769, allocations: 4 kB / 434.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.801e-06/0.577, allocations: 7.953 kB / 434.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.5778, allocations: 379.6 kB / 434.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.578, allocations: 163 kB / 435.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5781, allocations: 11.94 kB / 435.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5784, allocations: 14.98 kB / 435.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.5785, allocations: 23.84 kB / 435.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.5785, allocations: 23.69 kB / 435.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008768/0.5794, allocations: 0.5036 MB / 435.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.5795, allocations: 0 / 435.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006837/0.5801, allocations: 118.7 kB / 435.7 MB, free: 11.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,and_gate.u[2],and_gate.u[3],and_gate.u[4],and_gate.y[1],booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEventScaled,not_gate.y[1],or_gate.y[1],xor_gate.y[1],not_gate_C.y[1]) * Number of discrete states: 6 (booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001583/0.5817, allocations: 448.9 kB / 436.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006806/0.5824, allocations: 252.3 kB / 436.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.762e-06/0.5825, allocations: 0 / 436.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.5828, allocations: 123 kB / 436.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.5835, allocations: 105 kB / 436.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.5851, allocations: 0.6865 MB / 437.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.5858, allocations: 0.8756 MB / 438.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004135/0.5862, allocations: 98.86 kB / 438.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.5866, allocations: 46.23 kB / 438.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5866, allocations: 0 / 438.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Templates: time 0.0191/0.6057, allocations: 6.472 MB / 444.8 MB, free: 3.016 MB / 362.7 MB