Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0241/0.0241, allocations: 5.398 MB / 21.7 MB, free: 1.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 114.3 kB / 23.7 MB, free: 0.9648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 195.2 kB / 25.82 MB, free: 4.645 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 250.7 MB, free: 8.438 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01169/0.01169, allocations: 2.32 MB / 304.4 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 95.84 kB / 420.3 MB, free: 22.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09792, allocations: 51.21 MB / 471.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.008703/0.1067, allocations: 6.897 MB / 478.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006576/0.1133, allocations: 4.013 MB / 482.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1143, allocations: 23.94 kB / 482.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.1173, allocations: 1.182 MB / 483.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.1197, allocations: 0.8775 MB / 484.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1218, allocations: 0.6165 MB / 485.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.1237, allocations: 1.405 MB / 486.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.1262, allocations: 1.017 MB / 487.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.128, allocations: 0.572 MB / 488.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.1292, allocations: 0.6807 MB / 488.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.1294, allocations: 140 kB / 488.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008635/0.1303, allocations: 435.7 kB / 489.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1305, allocations: 295 kB / 489.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000541/0.1311, allocations: 0.6413 MB / 490.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.133, allocations: 1.76 MB / 492.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1331, allocations: 0 / 492.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1331, allocations: 0 / 492.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1331, allocations: 0 / 492.1 MB, free: 14.59 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004051/0.1372, allocations: 1.794 MB / 493.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1372, allocations: 8.031 kB / 493.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.1393, allocations: 379.1 kB / 494.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.1411, allocations: 0.8165 MB / 495 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.6e-05/0.1412, allocations: 78 kB / 495.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.1413, allocations: 100 kB / 495.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.1433, allocations: 1.134 MB / 496.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.1433, allocations: 7.844 kB / 496.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.1434, allocations: 44 kB / 496.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.1435, allocations: 27.98 kB / 496.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.1454, allocations: 0.9447 MB / 497.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006085/0.1515, allocations: 4.303 MB / 0.4899 GB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.1541, allocations: 1.67 MB / 0.4916 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.1548, allocations: 318.1 kB / 0.4919 GB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-05/0.1549, allocations: 89.53 kB / 0.4919 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008606/0.1558, allocations: 470.5 kB / 0.4924 GB, free: 1.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.695e-06/0.1558, allocations: 0 / 0.4924 GB, free: 1.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.007031/0.1628, allocations: 1.541 MB / 0.4939 GB, free: 216 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.163, allocations: 277.6 kB / 0.4942 GB, free: 15.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.1639, allocations: 0.6603 MB / 0.4948 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.1639, allocations: 45.69 kB / 0.4948 GB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.1643, allocations: 0.5179 MB / 0.4954 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.1645, allocations: 213.1 kB / 0.4956 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.1648, allocations: 186.4 kB / 0.4957 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.165, allocations: 394.7 kB / 0.4961 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.1656, allocations: 281.8 kB / 0.4964 GB, free: 13.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.1664, allocations: 0.5402 MB / 0.4969 GB, free: 12.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.1678, allocations: 0.9177 MB / 0.4978 GB, free: 11.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.1679, allocations: 7.938 kB / 0.4978 GB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0022/0.1701, allocations: 1.059 MB / 0.4988 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.1701, allocations: 63.41 kB / 0.4989 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1702, allocations: 8.281 kB / 0.4989 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004946/0.1707, allocations: 92.72 kB / 0.499 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.1715, allocations: 211.7 kB / 0.4992 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.1732, allocations: 1.586 MB / 0.5008 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008127/0.174, allocations: 122.9 kB / 0.5009 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.1741, allocations: 43.98 kB / 0.5009 GB, free: 8.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (117): * Single equations (assignments): 114 * 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.000574/0.1746, allocations: 339.6 kB / 0.5012 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.1748, allocations: 83 kB / 0.5013 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.1768, allocations: 0.9129 MB / 0.5022 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1768, allocations: 4 kB / 0.5022 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1768, allocations: 4 kB / 0.5022 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1768, allocations: 3.984 kB / 0.5022 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006111/0.1829, allocations: 2.199 MB / 0.5044 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1829, allocations: 4.031 kB / 0.5044 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.1833, allocations: 91.83 kB / 0.5045 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/0.1842, allocations: 326.3 kB / 0.5048 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.1843, allocations: 23.97 kB / 0.5048 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.1856, allocations: 0.8936 MB / 0.5057 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1856, allocations: 0 / 0.5057 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005428/0.1911, allocations: 1.639 MB / 0.5073 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.1915, allocations: 215.9 kB / 0.5075 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.1916, allocations: 16 kB / 0.5075 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.1923, allocations: 55.95 kB / 0.5075 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.1924, allocations: 36.39 kB / 0.5076 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.1924, allocations: 27.97 kB / 0.5076 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006179/0.1931, allocations: 467 kB / 0.508 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1931, allocations: 4 kB / 0.508 GB, free: 0.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001757/0.1948, allocations: 319 kB / 0.5084 GB, free: 0.6445 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.002668/0.1975, allocations: 0.6588 MB / 0.509 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.207/0.4045, allocations: 0.9596 MB / 0.5099 GB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4046, allocations: 7.234 kB / 0.5099 GB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.4064, allocations: 484.1 kB / 0.5104 GB, free: 47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.4087, allocations: 166.1 kB / 0.5106 GB, free: 47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.4117, allocations: 1.741 MB / 0.5123 GB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.4122, allocations: 1.01 MB / 0.5132 GB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.4125, allocations: 81.61 kB / 0.5133 GB, free: 45.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4125, allocations: 3.906 kB / 0.5133 GB, free: 45.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02513/0.4376, allocations: 17.52 MB / 0.5304 GB, free: 39.02 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)