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.003859/0.003864, allocations: 365.5 kB / 15.96 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.379/4.379, allocations: 446.6 MB / 463.2 MB, free: 2.879 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.002063/0.002063, allocations: 199.3 kB / 0.5025 GB, free: 15.53 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.237/0.237, allocations: 27.16 MB / 0.5789 GB, free: 210.1 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004853, allocations: 11.98 kB / 0.6415 GB, free: 147.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09492, allocations: 53.72 MB / 0.694 GB, free: 93.48 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.Interactive.UseRadioButtonSources): time 0.00255/0.09753, allocations: 1.795 MB / 0.6958 GB, free: 91.68 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1001, allocations: 1.291 MB / 0.697 GB, free: 90.38 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1002, allocations: 7.938 kB / 0.697 GB, free: 90.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1013, allocations: 343.2 kB / 0.6974 GB, free: 90.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.1019, allocations: 255.2 kB / 0.6976 GB, free: 89.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1031, allocations: 350.9 kB / 0.6979 GB, free: 89.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.1037, allocations: 0.5143 MB / 0.6984 GB, free: 88.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1038, allocations: 52.7 kB / 0.6985 GB, free: 88.89 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.1041, allocations: 175.2 kB / 0.6987 GB, free: 88.71 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.1043, allocations: 191.2 kB / 0.6988 GB, free: 88.53 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1044, allocations: 8 kB / 0.6988 GB, free: 88.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.1046, allocations: 75.89 kB / 0.6989 GB, free: 88.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.1048, allocations: 123.5 kB / 0.699 GB, free: 88.32 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.643e-05/0.1049, allocations: 93.52 kB / 0.6991 GB, free: 88.23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.1054, allocations: 435.2 kB / 0.6995 GB, free: 87.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1054, allocations: 0 / 0.6995 GB, free: 87.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1054, allocations: 0 / 0.6995 GB, free: 87.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1055, allocations: 0 / 0.6995 GB, free: 87.8 MB / 458.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.001244/0.1067, allocations: 0.8198 MB / 0.7003 GB, free: 86.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1068, allocations: 8.031 kB / 0.7003 GB, free: 86.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1069, allocations: 47.44 kB / 0.7004 GB, free: 86.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006475/0.1075, allocations: 421.4 kB / 0.7008 GB, free: 86.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.1076, allocations: 12.23 kB / 0.7008 GB, free: 86.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.1077, allocations: 19.98 kB / 0.7008 GB, free: 86.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.1082, allocations: 254.3 kB / 0.7011 GB, free: 86.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1083, allocations: 0 / 0.7011 GB, free: 86.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.1083, allocations: 8 kB / 0.7011 GB, free: 86.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.1083, allocations: 8 kB / 0.7011 GB, free: 86.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.1087, allocations: 119.9 kB / 0.7012 GB, free: 85.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1098, allocations: 0.6954 MB / 0.7019 GB, free: 85.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008048/0.1107, allocations: 0.4985 MB / 0.7024 GB, free: 84.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.111, allocations: 140.8 kB / 0.7025 GB, free: 84.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1111, allocations: 4 kB / 0.7025 GB, free: 84.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/0.1117, allocations: 440.7 kB / 0.7029 GB, free: 84.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 2.494e-06/0.1117, allocations: 0 / 0.7029 GB, free: 84.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.001344/0.1131, allocations: 0.584 MB / 0.7035 GB, free: 83.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.1132, allocations: 379.8 kB / 0.7038 GB, free: 82.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/0.1139, allocations: 0.5057 MB / 0.7043 GB, free: 82.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.114, allocations: 57.69 kB / 0.7044 GB, free: 82.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1142, allocations: 196.9 kB / 0.7046 GB, free: 82.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1143, allocations: 98.8 kB / 0.7047 GB, free: 82.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1143, allocations: 8 kB / 0.7047 GB, free: 82.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1144, allocations: 366.7 kB / 0.705 GB, free: 81.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.1148, allocations: 144.9 kB / 0.7052 GB, free: 81.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.1153, allocations: 307.6 kB / 0.7055 GB, free: 81.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.1158, allocations: 264.1 kB / 0.7057 GB, free: 80.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.1159, allocations: 0 / 0.7057 GB, free: 80.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001183/0.1171, allocations: 0.5882 MB / 0.7063 GB, free: 80.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.1171, allocations: 105.1 kB / 0.7064 GB, free: 80.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1172, allocations: 4 kB / 0.7064 GB, free: 80.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1172, allocations: 4 kB / 0.7064 GB, free: 80.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.1175, allocations: 43.86 kB / 0.7064 GB, free: 80.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1175, allocations: 12.27 kB / 0.7065 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.1178, allocations: 47.69 kB / 0.7065 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.1179, allocations: 23.98 kB / 0.7065 GB, free: 80.07 MB / 458.7 MB Warning: Assuming fixed start value for the following 3 variables: shut.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean stop.table.y:DISCRETE(flow=false fixed = true protected = true ) "Connector of Boolean output signal" type: Boolean start.table.y:DISCRETE(flow=false 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.0004465/0.1184, allocations: 372.4 kB / 0.7069 GB, free: 79.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.1185, allocations: 55.44 kB / 0.7069 GB, free: 79.63 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1186, allocations: 40.81 kB / 0.707 GB, free: 79.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1186, allocations: 4 kB / 0.707 GB, free: 79.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1186, allocations: 3.984 kB / 0.707 GB, free: 79.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1187, allocations: 132.8 kB / 0.7071 GB, free: 79.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.1189, allocations: 31.98 kB / 0.7071 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1191, allocations: 23.98 kB / 0.7072 GB, free: 79.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.1193, allocations: 31.86 kB / 0.7072 GB, free: 79.34 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001215/0.1205, allocations: 0.774 MB / 0.7079 GB, free: 78.51 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001135/0.1216, allocations: 0.7057 MB / 0.7086 GB, free: 77.77 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004514/0.1221, allocations: 247.9 kB / 0.7089 GB, free: 77.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005324/0.1226, allocations: 367.1 kB / 0.7092 GB, free: 77.17 MB / 458.7 MB Notification: Performance of Backend: time 7.91e-07/0.1227, allocations: 8 kB / 0.7092 GB, free: 77.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004314/0.127, allocations: 0.945 MB / 0.7102 GB, free: 76.34 MB / 458.7 MB Notification: Performance of SimCode: time 0.003251/0.1303, allocations: 1.395 MB / 0.7115 GB, free: 74.86 MB / 458.7 MB Notification: Performance of Templates: time 0.01974/0.1501, allocations: 6.449 MB / 0.7178 GB, free: 68.49 MB / 458.7 MB