Running command: translateModel(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources") Notification: Performance of loadModel(Modelica_StateGraph2): time 2.04/2.04, allocations: 208.4 MB / 220.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.834e-05, allocations: 0 / 271.2 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 47.78 MB / 319 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3684, allocations: 72.07 MB / 391.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001348/0.3686, allocations: 51.92 kB / 391.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.3857, allocations: 3.903 MB / 395 MB, free: 1.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.629e-06/0.3857, allocations: 0 / 395 MB, free: 1.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3858, allocations: 0 / 395 MB, free: 1.73 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007149/0.3865, allocations: 0.6498 MB / 395.7 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3865, allocations: 8.031 kB / 395.7 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.3866, allocations: 19.86 kB / 395.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.387, allocations: 238.2 kB / 395.9 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.387, allocations: 12 kB / 396 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.3871, allocations: 12 kB / 396 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.3875, allocations: 157.6 kB / 396.1 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.321e-06/0.3875, allocations: 4 kB / 396.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.3876, allocations: 7.984 kB / 396.1 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.3876, allocations: 7.984 kB / 396.1 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3878, allocations: 87.88 kB / 396.2 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.3884, allocations: 376.6 kB / 396.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.3889, allocations: 406 kB / 397 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.3892, allocations: 124.8 kB / 397.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3892, allocations: 0 / 397.1 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006303/0.3899, allocations: 494.5 kB / 397.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.741e-06/0.3899, allocations: 0 / 397.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001011/0.3909, allocations: 0.519 MB / 398.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000308/0.3912, allocations: 480.8 kB / 398.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.3914, allocations: 145.2 kB / 398.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.53e-05/0.3915, allocations: 53.69 kB / 398.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.3916, allocations: 104.9 kB / 398.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.3917, allocations: 75.19 kB / 399 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3918, allocations: 12 kB / 399 MB, free: 13.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.392, allocations: 334.8 kB / 399.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.3923, allocations: 116.5 kB / 399.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.3926, allocations: 209.6 kB / 399.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.3931, allocations: 399.2 kB / 400 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.872e-06/0.3931, allocations: 4 kB / 400 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001147/0.3943, allocations: 0.6605 MB / 400.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.3945, allocations: 271.3 kB / 400.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3945, allocations: 3.953 kB / 400.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.3946, allocations: 8 kB / 400.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.3946, allocations: 11.92 kB / 401 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.3947, allocations: 11.94 kB / 401 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3949, allocations: 28.09 kB / 401 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.395, allocations: 27.98 kB / 401 MB, free: 11.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],start.reset[2],stop.reset[2],$PRE.shut.on,shut.on,$PRE.start.on,start.on,stop.reset[1],shut.reset[1],start.reset[1],$PRE.stop.on,stop.on,shut.reset[2],$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,$PRE.shut.table.nextTime,shut.table.nextTime,$PRE.shut.table.index,shut.table.index,shut.pre_reset[1],shut.pre_reset[2],$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,stop.pre_reset[1],stop.pre_reset[2],$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,start.pre_reset[1],start.pre_reset[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 9 * 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.000399/0.3954, allocations: 364.4 kB / 401.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.3955, allocations: 31.81 kB / 401.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.3955, allocations: 13.81 kB / 401.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3956, allocations: 11.95 kB / 401.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3956, allocations: 0 / 401.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.547e-06/0.3956, allocations: 3.984 kB / 401.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.3971, allocations: 0.9766 MB / 402.4 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.066e-06/0.3972, allocations: 8 kB / 402.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.3972, allocations: 7.984 kB / 402.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3972, allocations: 3.953 kB / 402.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.3973, allocations: 16 kB / 402.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.459e-06/0.3973, allocations: 0 / 402.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-06/0.3973, allocations: 0 / 402.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3985, allocations: 0.7238 MB / 403.2 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.722e-05/0.3986, allocations: 92.91 kB / 403.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3988, allocations: 39.94 kB / 403.3 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.399, allocations: 23.98 kB / 403.3 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3991, allocations: 23.92 kB / 403.4 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.3992, allocations: 19.98 kB / 403.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.3993, allocations: 116.5 kB / 403.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.3994, allocations: 0 / 403.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006492/0.4, allocations: 120 kB / 403.6 MB, free: 8.238 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: 36 ($whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,start.reset[1],start.reset[2],start.on,start.table.y,start.table.nextTime,start.table.index,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.nextTime,shut.table.index,shut.pre_reset[1],shut.pre_reset[2]) * Number of discrete states: 36 (shut.table.y,shut.table.nextTime,shut.table.index,$whenCondition9,$whenCondition12,shut.on,$whenCondition11,$whenCondition10,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition5,$whenCondition8,stop.on,$whenCondition7,$whenCondition6,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],start.table.y,start.table.nextTime,start.table.index,$whenCondition1,$whenCondition4,start.on,$whenCondition3,$whenCondition2,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 6 * 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 Backend phase and start with SimCode phase: time 0.0004373/0.4005, allocations: 217.4 kB / 403.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.4017, allocations: 0.9085 MB / 404.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.898e-06/0.4017, allocations: 0 / 404.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.4025, allocations: 0.6218 MB / 405.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4027, allocations: 16 kB / 405.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/0.4036, allocations: 354.6 kB / 405.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.404, allocations: 0.7404 MB / 406.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.4041, allocations: 29.52 kB / 406.5 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.4042, allocations: 15.44 kB / 406.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of SimCode: time 1.536e-06/0.4042, allocations: 0 / 406.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of Templates: time 0.009429/0.4136, allocations: 3.463 MB / 410 MB, free: 1.656 MB / 346.7 MB