Running command: translateModel(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") Notification: Performance of loadModel(IndustrialControlSystems): time 2.14/2.14, allocations: 216.8 MB / 229 MB, free: 15.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.72e-05, allocations: 11.98 kB / 281.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08927, allocations: 50 MB / 331.9 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.4811, allocations: 78.06 MB / 410 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/0.4815, allocations: 80.52 kB / 410 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00965/0.4912, allocations: 1.529 MB / 411.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.451e-06/0.4913, allocations: 0 / 411.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.4913, allocations: 0 / 411.6 MB, free: 1.016 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009148/0.4922, allocations: 469.3 kB / 412 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.4923, allocations: 8.031 kB / 412 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.4924, allocations: 15.86 kB / 412 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.4931, allocations: 241.7 kB / 412.3 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.4932, allocations: 58.66 kB / 412.3 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.4933, allocations: 15.48 kB / 412.3 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.4936, allocations: 64.56 kB / 412.4 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.4937, allocations: 0 / 412.4 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.4937, allocations: 6.344 kB / 412.4 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.4937, allocations: 11.95 kB / 412.4 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.4939, allocations: 22.73 kB / 412.5 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.4948, allocations: 308.1 kB / 412.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.4951, allocations: 55.5 kB / 412.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.237e-05/0.4952, allocations: 28.22 kB / 412.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.4952, allocations: 4 kB / 412.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.4956, allocations: 92.28 kB / 412.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 4.221e-06/0.4956, allocations: 0 / 412.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004608/0.4961, allocations: 102.7 kB / 413 MB, free: 15.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.4962, allocations: 55.41 kB / 413.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.4964, allocations: 135.6 kB / 413.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.4965, allocations: 32.06 kB / 413.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4966, allocations: 103.9 kB / 413.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.4967, allocations: 31.16 kB / 413.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.4968, allocations: 6.953 kB / 413.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.497, allocations: 317.9 kB / 413.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.4971, allocations: 18.75 kB / 413.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4973, allocations: 66.89 kB / 413.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4974, allocations: 22.38 kB / 413.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.85e-06/0.4975, allocations: 96 / 413.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004664/0.498, allocations: 121.1 kB / 413.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.498, allocations: 8 kB / 413.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.88e-06/0.498, allocations: 0 / 413.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.4981, allocations: 4 kB / 413.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.4983, allocations: 15.92 kB / 413.9 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4983, allocations: 4 kB / 414 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4985, allocations: 7 kB / 414 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.4986, allocations: 4 kB / 414 MB, free: 14.53 MB / 346.7 MB Warning: Assuming fixed start value for the following 2 variables: R_DIGITAL.y:DISCRETE(fixed = false ) "output" type: Real Rhyst_DIGITAL.y:DISCRETE(fixed = false ) "output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.R_DIGITAL.y,R_DIGITAL.y,$PRE.Rhyst_DIGITAL.state,Rhyst_DIGITAL.state,$PRE.Rhyst_DIGITAL.y,Rhyst_DIGITAL.y,$whenCondition2,$whenCondition1,$whenCondition3,$PRE.Rhyst.state,Rhyst.state) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002091/0.4988, allocations: 127.2 kB / 414.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.4989, allocations: 15.77 kB / 414.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.499, allocations: 12.31 kB / 414.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.499, allocations: 0 / 414.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.499, allocations: 0 / 414.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.499, allocations: 0 / 414.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.4994, allocations: 198.2 kB / 414.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.38e-06/0.4994, allocations: 8.062 kB / 414.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4995, allocations: 8 kB / 414.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4996, allocations: 0 / 414.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.4996, allocations: 15.25 kB / 414.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.634e-06/0.4996, allocations: 0 / 414.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.247e-06/0.4997, allocations: 0 / 414.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.5001, allocations: 121.8 kB / 414.5 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.5002, allocations: 88.92 kB / 414.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.776e-05/0.5003, allocations: 11.12 kB / 414.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.5004, allocations: 7.953 kB / 414.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.5005, allocations: 15.22 kB / 414.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.5006, allocations: 4 kB / 414.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.5007, allocations: 111.1 kB / 414.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.362e-06/0.5008, allocations: 3.938 kB / 414.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005909/0.5014, allocations: 15.94 kB / 414.7 MB, free: 13.75 MB / 346.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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,Rhyst_DIGITAL.y,Rhyst_DIGITAL.state,R_DIGITAL.y,Rhyst.state) * Number of discrete states: 3 (Rhyst_DIGITAL.state,R_DIGITAL.u,Rhyst.state) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000207/0.5016, allocations: 118.9 kB / 414.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.502, allocations: 62 kB / 414.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.06e-06/0.502, allocations: 96 / 414.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.5022, allocations: 34.81 kB / 414.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5024, allocations: 7.172 kB / 414.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.5032, allocations: 137.7 kB / 415.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.5037, allocations: 0.7122 MB / 415.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.5039, allocations: 20.55 kB / 415.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.504, allocations: 18.36 kB / 415.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.801e-06/0.5041, allocations: 0 / 415.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Templates: time 0.00666/0.5108, allocations: 0.7999 MB / 416.6 MB, free: 11.84 MB / 346.7 MB