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.655/2.655, allocations: 211.2 MB / 218.7 MB, free: 8.645 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.009e-05, allocations: 4 kB / 268.8 MB, free: 6.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 47.78 MB / 316.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.003449/0.1316, allocations: 1.173 MB / 317.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.002422/0.1341, allocations: 0.5946 MB / 318.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1342, allocations: 0 / 318.3 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.000125/0.1344, allocations: 7.984 kB / 318.3 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 9.863e-05/0.1345, allocations: 15.91 kB / 318.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.001328/0.1359, allocations: 183.6 kB / 318.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.0002529/0.1361, allocations: 75.77 kB / 318.6 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.0001002/0.1363, allocations: 11.98 kB / 318.6 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1364, allocations: 43.91 kB / 318.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.1366, allocations: 59.81 kB / 318.7 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.0004543/0.1371, allocations: 87.89 kB / 318.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1372, allocations: 16 kB / 318.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.0002197/0.1375, allocations: 47.89 kB / 318.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.0005814/0.1381, allocations: 191.8 kB / 319.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.1381, allocations: 0 / 319.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1381, allocations: 3.938 kB / 319.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.1382, allocations: 4 kB / 319.1 MB, free: 3.973 MB / 266.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.00114/0.1393, allocations: 0.642 MB / 319.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.1394, allocations: 12.03 kB / 319.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.1396, allocations: 23.77 kB / 319.7 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.1399, allocations: 190 kB / 319.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.14, allocations: 11.98 kB / 319.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.1401, allocations: 12 kB / 319.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004426/0.1406, allocations: 75.98 kB / 320 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.1413, allocations: 157.4 kB / 320.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1413, allocations: 0 / 320.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/0.1414, allocations: 7.953 kB / 320.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.1415, allocations: 8 kB / 320.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009283/0.1425, allocations: 345.2 kB / 320.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.1434, allocations: 398 kB / 320.9 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.144, allocations: 120.8 kB / 321 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.144, allocations: 4 kB / 321 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.1453, allocations: 486.4 kB / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 4.849e-06/0.1453, allocations: 0 / 321.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.001752/0.1471, allocations: 325.2 kB / 321.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004674/0.1475, allocations: 477 kB / 322.3 MB, free: 316 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1479, allocations: 145.1 kB / 322.4 MB, free: 160 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.1481, allocations: 53.69 kB / 322.5 MB, free: 100 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1482, allocations: 92.92 kB / 322.6 MB, free: 0 / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/0.1485, allocations: 79.17 kB / 322.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.1486, allocations: 0 / 322.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.1489, allocations: 338.8 kB / 323 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.1494, allocations: 108.5 kB / 323.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.1502, allocations: 209.5 kB / 323.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.1508, allocations: 131.9 kB / 323.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1509, allocations: 4 kB / 323.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001551/0.1524, allocations: 409 kB / 323.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.1527, allocations: 271.3 kB / 324.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.1528, allocations: 240 / 324.1 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.151e-05/0.1528, allocations: 15.94 kB / 324.1 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.1529, allocations: 11.88 kB / 324.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.153, allocations: 11.98 kB / 324.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.1534, allocations: 28.02 kB / 324.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.1535, allocations: 20 kB / 324.2 MB, free: 14.29 MB / 282.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.0005692/0.1541, allocations: 352.3 kB / 324.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.1542, allocations: 31.81 kB / 324.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.1543, allocations: 6.188 kB / 324.6 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.1543, allocations: 3.984 kB / 324.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1543, allocations: 4.094 kB / 324.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1545, allocations: 104.8 kB / 324.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.1547, allocations: 27.98 kB / 324.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.155, allocations: 19.98 kB / 324.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1552, allocations: 23.97 kB / 324.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001866/0.1571, allocations: 0.8212 MB / 325.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001804/0.1589, allocations: 0.5649 MB / 326.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009123/0.1599, allocations: 256 kB / 326.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.1602, allocations: 118.2 kB / 326.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of Backend: time 1.753e-06/0.1602, allocations: 0 / 326.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.1634, allocations: 0.8952 MB / 327.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of SimCode: time 0.002264/0.1658, allocations: 1.039 MB / 328.4 MB, free: 9.641 MB / 282.7 MB Notification: Performance of Templates: time 0.02096/0.1868, allocations: 3.523 MB / 332 MB, free: 6.113 MB / 282.7 MB