Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) 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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002654/0.002654, allocations: 356.6 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.708/4.708, allocations: 446.5 MB / 463.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 183.8 kB / 0.5024 GB, free: 9.551 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2216/0.2216, allocations: 27.14 MB / 0.5788 GB, free: 11.17 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005732/0.0005732, allocations: 8 kB / 0.6415 GB, free: 241.4 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09678, allocations: 53.71 MB / 0.6939 GB, free: 187.8 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.2723, allocations: 80.84 MB / 0.7729 GB, free: 106.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.2725, allocations: 55.97 kB / 0.7729 GB, free: 106.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1042/0.3767, allocations: 23.82 MB / 0.7962 GB, free: 83 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3767, allocations: 0 / 0.7962 GB, free: 83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.573e-05/0.3768, allocations: 8 kB / 0.7962 GB, free: 82.99 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001763/0.3786, allocations: 0.8331 MB / 0.797 GB, free: 82.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3787, allocations: 11.97 kB / 0.797 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.3789, allocations: 47.52 kB / 0.7971 GB, free: 82.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3802, allocations: 457.2 kB / 0.7975 GB, free: 81.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.3803, allocations: 16.23 kB / 0.7975 GB, free: 81.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.3804, allocations: 20 kB / 0.7975 GB, free: 81.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.3813, allocations: 243.6 kB / 0.7978 GB, free: 81.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3813, allocations: 3.953 kB / 0.7978 GB, free: 81.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.3814, allocations: 15.92 kB / 0.7978 GB, free: 81.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.3814, allocations: 8 kB / 0.7978 GB, free: 81.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.382, allocations: 135.9 kB / 0.7979 GB, free: 81.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.3839, allocations: 0.7228 MB / 0.7986 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3851, allocations: 0.4908 MB / 0.7991 GB, free: 79.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.3857, allocations: 156.6 kB / 0.7992 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3857, allocations: 4 kB / 0.7992 GB, free: 79.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.3866, allocations: 440.8 kB / 0.7997 GB, free: 79.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.747e-06/0.3867, allocations: 0 / 0.7997 GB, free: 79.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.002137/0.3888, allocations: 0.6024 MB / 0.8003 GB, free: 78.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.389, allocations: 379.8 kB / 0.8006 GB, free: 78.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.3902, allocations: 0.5251 MB / 0.8011 GB, free: 77.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.3904, allocations: 53.69 kB / 0.8012 GB, free: 77.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.3906, allocations: 185.1 kB / 0.8014 GB, free: 77.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3908, allocations: 106.8 kB / 0.8015 GB, free: 77.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.3908, allocations: 8 kB / 0.8015 GB, free: 77.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.391, allocations: 370.7 kB / 0.8018 GB, free: 76.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.3916, allocations: 144.9 kB / 0.802 GB, free: 76.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.3923, allocations: 307.6 kB / 0.8023 GB, free: 76.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.393, allocations: 282.6 kB / 0.8025 GB, free: 75.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.393, allocations: 0 / 0.8025 GB, free: 75.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001714/0.3947, allocations: 0.5839 MB / 0.8031 GB, free: 75.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.106e-05/0.3949, allocations: 105.1 kB / 0.8032 GB, free: 75.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.3949, allocations: 4.281 kB / 0.8032 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3949, allocations: 8 kB / 0.8032 GB, free: 75.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.3953, allocations: 51.84 kB / 0.8033 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.3954, allocations: 7.938 kB / 0.8033 GB, free: 75.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.3959, allocations: 39.89 kB / 0.8033 GB, free: 75.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/0.396, allocations: 24 kB / 0.8033 GB, free: 75.11 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: shut.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean stop.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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],$whenCondition3,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.start.table.combiTimeTable.nextTimeEvent,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],$whenCondition5,$whenCondition4,$whenCondition6,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition8,$whenCondition7,$whenCondition9,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition11,$whenCondition10,$whenCondition12,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 3 * 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.0006856/0.3967, allocations: 355.1 kB / 0.8037 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.3969, allocations: 51.44 kB / 0.8037 GB, free: 74.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.3987, allocations: 0.5653 MB / 0.8043 GB, free: 74.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3987, allocations: 0 / 0.8043 GB, free: 74.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3987, allocations: 3.938 kB / 0.8043 GB, free: 74.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.3988, allocations: 4 kB / 0.8043 GB, free: 74.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.4013, allocations: 1.107 MB / 0.8054 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4014, allocations: 144 / 0.8054 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.4016, allocations: 23.94 kB / 0.8054 GB, free: 72.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.4016, allocations: 3.984 kB / 0.8054 GB, free: 72.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.4017, allocations: 15.98 kB / 0.8054 GB, free: 72.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.4017, allocations: 8 kB / 0.8054 GB, free: 72.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4017, allocations: 0 / 0.8054 GB, free: 72.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.4034, allocations: 0.6584 MB / 0.806 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.4036, allocations: 136.5 kB / 0.8062 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.4038, allocations: 35.98 kB / 0.8062 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.4043, allocations: 19.98 kB / 0.8062 GB, free: 71.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.4045, allocations: 31.95 kB / 0.8063 GB, free: 71.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.4046, allocations: 19.98 kB / 0.8063 GB, free: 71.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008976/0.4055, allocations: 383 kB / 0.8066 GB, free: 71.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4055, allocations: 0 / 0.8066 GB, free: 71.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001061/0.4066, allocations: 123.9 kB / 0.8068 GB, free: 71.42 MB / 490.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 ($whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2]) * Number of discrete states: 33 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition6,shut.on,$whenCondition5,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,stop.on,$whenCondition8,$whenCondition7,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,start.on,$whenCondition11,$whenCondition10,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * 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.001826/0.4084, allocations: 494.5 kB / 0.8072 GB, free: 71.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.4102, allocations: 0.6538 MB / 0.8079 GB, free: 70.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4102, allocations: 0 / 0.8079 GB, free: 70.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008368/0.4111, allocations: 457.8 kB / 0.8083 GB, free: 69.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4126, allocations: 118.7 kB / 0.8084 GB, free: 69.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.415, allocations: 0.8647 MB / 0.8093 GB, free: 68.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4154, allocations: 0.844 MB / 0.8101 GB, free: 68.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005399/0.416, allocations: 104.3 kB / 0.8102 GB, free: 67.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.4162, allocations: 39.44 kB / 0.8102 GB, free: 67.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.637e-06/0.4163, allocations: 0 / 0.8102 GB, free: 67.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02331/0.4396, allocations: 6.681 MB / 0.8168 GB, free: 61.3 MB / 490.7 MB