Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03044/0.03044, allocations: 5.393 MB / 22.36 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 113 kB / 26.38 MB, free: 4.535 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 191.6 kB / 30.51 MB, free: 448 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 257.4 MB, free: 14.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009165/0.009165, allocations: 2.322 MB / 313.1 MB, free: 3.312 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=97920,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=97920,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 100.8 kB / 434.6 MB, free: 43.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07408/0.07677, allocations: 51.21 MB / 485.8 MB, free: 23.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.006596/0.0834, allocations: 6.856 MB / 492.6 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005268/0.0887, allocations: 3.945 MB / 496.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.08975, allocations: 22.31 kB / 496.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002479/0.09227, allocations: 1.151 MB / 497.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.09426, allocations: 0.8549 MB / 498.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.09588, allocations: 0.5505 MB / 499.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.09733, allocations: 1.413 MB / 0.4888 GB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.09855, allocations: 1.02 MB / 0.4898 GB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.09922, allocations: 0.5564 MB / 0.4904 GB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.09989, allocations: 0.6835 MB / 0.491 GB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.1001, allocations: 146.6 kB / 0.4912 GB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.1008, allocations: 435.7 kB / 0.4916 GB, free: 9.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.101, allocations: 314.9 kB / 0.4919 GB, free: 9.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.1013, allocations: 0.6413 MB / 0.4925 GB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1028, allocations: 1.813 MB / 0.4943 GB, free: 7.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1028, allocations: 0 / 0.4943 GB, free: 7.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1028, allocations: 0 / 0.4943 GB, free: 7.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1028, allocations: 0 / 0.4943 GB, free: 7.117 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003235/0.106, allocations: 1.851 MB / 0.4961 GB, free: 5.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1061, allocations: 12.03 kB / 0.4961 GB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.108, allocations: 383.8 kB / 0.4965 GB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.1094, allocations: 0.8289 MB / 0.4973 GB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.1094, allocations: 78.08 kB / 0.4974 GB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.1095, allocations: 108 kB / 0.4975 GB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.1111, allocations: 1.173 MB / 0.4986 GB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.1111, allocations: 0 / 0.4986 GB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/0.1112, allocations: 48 kB / 0.4987 GB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1112, allocations: 24 kB / 0.4987 GB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.1129, allocations: 1.073 MB / 0.4997 GB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005651/0.1185, allocations: 4.35 MB / 0.504 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.1213, allocations: 1.752 MB / 0.5057 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.122, allocations: 328.2 kB / 0.506 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.617e-05/0.1221, allocations: 93.67 kB / 0.5061 GB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008395/0.1229, allocations: 465.8 kB / 0.5065 GB, free: 9.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.054e-06/0.123, allocations: 0 / 0.5065 GB, free: 9.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005509/0.1285, allocations: 1.589 MB / 0.5081 GB, free: 8.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.1286, allocations: 226.1 kB / 0.5083 GB, free: 8.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.1295, allocations: 0.6564 MB / 0.5089 GB, free: 7.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.1295, allocations: 41.7 kB / 0.509 GB, free: 7.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.13, allocations: 0.5351 MB / 0.5095 GB, free: 6.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.1302, allocations: 250 kB / 0.5097 GB, free: 6.543 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.1305, allocations: 182.5 kB / 0.5099 GB, free: 6.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1307, allocations: 394.7 kB / 0.5103 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.1313, allocations: 297.8 kB / 0.5106 GB, free: 5.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/0.1322, allocations: 0.5347 MB / 0.5111 GB, free: 5.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.1337, allocations: 0.9399 MB / 0.512 GB, free: 3.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1337, allocations: 4 kB / 0.512 GB, free: 3.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002226/0.136, allocations: 1.11 MB / 0.5131 GB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.136, allocations: 63.41 kB / 0.5132 GB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1361, allocations: 8.281 kB / 0.5132 GB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.1365, allocations: 84.78 kB / 0.5133 GB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/0.1373, allocations: 223.6 kB / 0.5135 GB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.1389, allocations: 1.585 MB / 0.515 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.1397, allocations: 111.3 kB / 0.5151 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/0.1398, allocations: 47.98 kB / 0.5152 GB, free: 0.5625 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004655/0.1402, allocations: 354.6 kB / 0.5155 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.1404, allocations: 87.47 kB / 0.5156 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.1425, allocations: 1.007 MB / 0.5166 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1425, allocations: 8 kB / 0.5166 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1425, allocations: 0 / 0.5166 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1425, allocations: 3.984 kB / 0.5166 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.1483, allocations: 2.302 MB / 0.5188 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.1483, allocations: 0 / 0.5188 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.1487, allocations: 103.9 kB / 0.5189 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/0.1495, allocations: 334.2 kB / 0.5193 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.1496, allocations: 23.98 kB / 0.5193 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.151, allocations: 0.9053 MB / 0.5202 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.151, allocations: 0 / 0.5202 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.1537, allocations: 1.41 MB / 0.5215 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.154, allocations: 224.4 kB / 0.5217 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.1541, allocations: 24 kB / 0.5218 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.1546, allocations: 43.97 kB / 0.5218 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.1547, allocations: 44.5 kB / 0.5219 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.1548, allocations: 31.97 kB / 0.5219 GB, free: 9.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005682/0.1554, allocations: 455 kB / 0.5223 GB, free: 9.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1554, allocations: 0 / 0.5223 GB, free: 9.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008708/0.1563, allocations: 327.1 kB / 0.5226 GB, free: 8.695 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.1583, allocations: 0.6666 MB / 0.5233 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.1602, allocations: 0.9884 MB / 0.5242 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1602, allocations: 4.062 kB / 0.5243 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.1611, allocations: 497.8 kB / 0.5247 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.1619, allocations: 164.1 kB / 0.5249 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.165, allocations: 1.811 MB / 0.5267 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.1656, allocations: 1.018 MB / 0.5276 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.1659, allocations: 83.39 kB / 0.5277 GB, free: 3.602 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1659, allocations: 0 / 0.5277 GB, free: 3.602 MB / 382.1 MB Notification: Performance of Templates: time 0.02232/0.1882, allocations: 17.35 MB / 0.5447 GB, free: 2.289 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.22283896501176] Failed to read output from testmodel.py, exit status != 0: 0.33355508791282773 0.207431431 0.10216451200000001 Calling exit ...