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.32/2.32, allocations: 208.4 MB / 222.9 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.315e-05, allocations: 4 kB / 274.4 MB, free: 11.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3706, allocations: 47.78 MB / 322.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.002142/0.3728, allocations: 1.176 MB / 323.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3743, allocations: 0.6006 MB / 323.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.3744, allocations: 5.094 kB / 323.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.3745, allocations: 4.906 kB / 323.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.3746, allocations: 14.03 kB / 323.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.3754, allocations: 188.5 kB / 324.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3756, allocations: 68.58 kB / 324.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.3756, allocations: 1.5 kB / 324.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.3757, allocations: 52.69 kB / 324.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3758, allocations: 49.88 kB / 324.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.3762, allocations: 128.9 kB / 324.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.3762, allocations: 15 kB / 324.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3764, allocations: 43.73 kB / 324.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.3765, allocations: 17.47 kB / 324.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.3769, allocations: 201.3 kB / 324.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3769, allocations: 0 / 324.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3769, allocations: 0 / 324.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3769, allocations: 1.312 kB / 324.7 MB, free: 10.53 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.0007457/0.3777, allocations: 0.653 MB / 325.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3778, allocations: 9.375 kB / 325.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.3779, allocations: 23.64 kB / 325.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.3782, allocations: 234.4 kB / 325.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.3783, allocations: 8 kB / 325.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.3784, allocations: 17.81 kB / 325.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.3788, allocations: 168.9 kB / 325.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3788, allocations: 1.438 kB / 325.8 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.3789, allocations: 8.438 kB / 325.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.3789, allocations: 12.22 kB / 325.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.3792, allocations: 84.7 kB / 325.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.3798, allocations: 370.5 kB / 326.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.3804, allocations: 405.6 kB / 326.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3804, allocations: 6.281 kB / 326.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007401/0.3812, allocations: 0.4919 MB / 327.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.425e-06/0.3812, allocations: 1.094 kB / 327.2 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.001818/0.383, allocations: 1.112 MB / 328.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003067/0.3833, allocations: 472.9 kB / 328.7 MB, free: 6.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3836, allocations: 149.2 kB / 328.9 MB, free: 6.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-05/0.3837, allocations: 57.69 kB / 328.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.3838, allocations: 97.14 kB / 329 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3839, allocations: 87.09 kB / 329.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.384, allocations: 11.94 kB / 329.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3841, allocations: 330.8 kB / 329.5 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3845, allocations: 124.5 kB / 329.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/0.3849, allocations: 221.5 kB / 329.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.3855, allocations: 407.2 kB / 330.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.3855, allocations: 0 / 330.2 MB, free: 4.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00131/0.3868, allocations: 0.6722 MB / 330.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.3871, allocations: 271.3 kB / 331.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.3871, allocations: 7.891 kB / 331.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3871, allocations: 8 kB / 331.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.3872, allocations: 19.92 kB / 331.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.3872, allocations: 4 kB / 331.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.3875, allocations: 32.03 kB / 331.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.3876, allocations: 20 kB / 331.2 MB, free: 3.824 MB / 266.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.0004934/0.3881, allocations: 385.1 kB / 331.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.3882, allocations: 35.86 kB / 331.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.3882, allocations: 21.88 kB / 331.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3882, allocations: 7.953 kB / 331.7 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.3883, allocations: 4 kB / 331.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3883, allocations: 0 / 331.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.39, allocations: 0.9921 MB / 332.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3901, allocations: 3.984 kB / 332.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.3901, allocations: 7.938 kB / 332.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.3901, allocations: 3.953 kB / 332.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.3902, allocations: 20 kB / 332.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3902, allocations: 0 / 332.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3902, allocations: 0 / 332.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.3916, allocations: 0.7315 MB / 333.4 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.3917, allocations: 92.91 kB / 333.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.3919, allocations: 39.95 kB / 333.5 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.3922, allocations: 19.98 kB / 333.6 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3923, allocations: 23.97 kB / 333.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.3924, allocations: 19.98 kB / 333.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.3925, allocations: 121.1 kB / 333.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3926, allocations: 0 / 333.7 MB, free: 1.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006548/0.3932, allocations: 115.9 kB / 333.8 MB, free: 0.9805 MB / 266.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.0004892/0.3937, allocations: 212.4 kB / 334 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.3952, allocations: 0.9163 MB / 335 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3952, allocations: 384 / 335 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008489/0.3961, allocations: 0.6292 MB / 335.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3964, allocations: 16 kB / 335.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3976, allocations: 459.1 kB / 336.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3981, allocations: 0.7365 MB / 336.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.3982, allocations: 29.52 kB / 336.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3983, allocations: 15.44 kB / 336.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3983, allocations: 0 / 336.8 MB, free: 13.74 MB / 282.7 MB Notification: Performance of Templates: time 0.01101/0.4093, allocations: 3.462 MB / 340.3 MB, free: 10.28 MB / 282.7 MB