Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02863/0.02863, allocations: 5.394 MB / 21.7 MB, free: 1.379 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.001009/0.001009, allocations: 113.5 kB / 23.7 MB, free: 0.9727 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.001075/0.001075, allocations: 188.4 kB / 25.82 MB, free: 4.672 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.201/1.201, 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.009166/0.009166, allocations: 2.326 MB / 304.4 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 96.08 kB / 420.3 MB, free: 22.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.07913, allocations: 51.21 MB / 471.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.007712/0.08687, allocations: 6.904 MB / 478.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005781/0.09269, allocations: 4.025 MB / 482.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.09354, allocations: 20 kB / 482.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.09634, allocations: 1.173 MB / 483.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.0985, allocations: 0.8739 MB / 484.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1002, allocations: 0.6079 MB / 485.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.1016, allocations: 1.417 MB / 486.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.1028, allocations: 1.009 MB / 487.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006145/0.1035, allocations: 0.5643 MB / 488.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.1042, allocations: 0.6885 MB / 488.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1044, allocations: 140 kB / 488.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007934/0.1052, allocations: 431.7 kB / 489.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.1055, allocations: 302.9 kB / 489.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005277/0.106, allocations: 0.6297 MB / 490.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.1077, allocations: 1.764 MB / 492 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1077, allocations: 0 / 492 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1077, allocations: 0 / 492 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.1078, allocations: 0 / 492 MB, free: 14.64 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.003553/0.1113, allocations: 1.794 MB / 493.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1114, allocations: 8.031 kB / 493.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.1134, allocations: 379.1 kB / 494.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.1149, allocations: 0.8126 MB / 495 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.115, allocations: 78 kB / 495.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.1151, allocations: 100 kB / 495.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.1169, allocations: 1.142 MB / 496.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.117, allocations: 3.906 kB / 496.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-05/0.1171, allocations: 47.98 kB / 496.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.1171, allocations: 24 kB / 496.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.1189, allocations: 0.9447 MB / 497.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.1242, allocations: 4.306 MB / 0.4899 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.1266, allocations: 1.666 MB / 0.4915 GB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.1272, allocations: 317.4 kB / 0.4918 GB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.1273, allocations: 89.53 kB / 0.4919 GB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007682/0.1281, allocations: 466.5 kB / 0.4924 GB, free: 1.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.425e-06/0.1281, allocations: 3.938 kB / 0.4924 GB, free: 1.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005283/0.1334, allocations: 1.545 MB / 0.4939 GB, free: 264 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.1335, allocations: 281.5 kB / 0.4942 GB, free: 15.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/0.1343, allocations: 0.6642 MB / 0.4948 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.1344, allocations: 41.7 kB / 0.4948 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.1347, allocations: 0.5179 MB / 0.4954 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.1349, allocations: 209.1 kB / 0.4955 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.1352, allocations: 186.4 kB / 0.4957 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1353, allocations: 390.8 kB / 0.4961 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.1359, allocations: 285.8 kB / 0.4964 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/0.1367, allocations: 0.5324 MB / 0.4969 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.138, allocations: 0.9179 MB / 0.4978 GB, free: 11.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.138, allocations: 11.94 kB / 0.4978 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002/0.14, allocations: 1.067 MB / 0.4988 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.1401, allocations: 61.59 kB / 0.4989 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1401, allocations: 8.281 kB / 0.4989 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.1405, allocations: 88.78 kB / 0.499 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.1414, allocations: 215.7 kB / 0.4992 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.1427, allocations: 1.589 MB / 0.5008 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.1434, allocations: 118.9 kB / 0.5009 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.1435, allocations: 43.98 kB / 0.5009 GB, free: 8.547 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.0004093/0.1439, allocations: 339.7 kB / 0.5012 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.144, allocations: 83 kB / 0.5013 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.1458, allocations: 0.909 MB / 0.5022 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1458, allocations: 8 kB / 0.5022 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1458, allocations: 0 / 0.5022 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1458, allocations: 3.984 kB / 0.5022 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.151, allocations: 2.203 MB / 0.5044 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.1511, allocations: 11.97 kB / 0.5044 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.1514, allocations: 79.95 kB / 0.5044 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007809/0.1522, allocations: 338.2 kB / 0.5048 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.1523, allocations: 19.98 kB / 0.5048 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.1535, allocations: 0.8974 MB / 0.5057 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1535, allocations: 0 / 0.5057 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/0.1583, allocations: 1.639 MB / 0.5073 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.1586, allocations: 215.9 kB / 0.5075 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1587, allocations: 20 kB / 0.5075 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/0.1593, allocations: 51.95 kB / 0.5075 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.1593, allocations: 36.39 kB / 0.5076 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.1594, allocations: 35.91 kB / 0.5076 GB, free: 1.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.16, allocations: 467 kB / 0.5081 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.16, allocations: 4 kB / 0.5081 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008922/0.1609, allocations: 311 kB / 0.5084 GB, free: 0.6836 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.001316/0.1622, allocations: 0.656 MB / 0.509 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1825/0.3447, allocations: 0.9628 MB / 0.5099 GB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3447, allocations: 3.719 kB / 0.5099 GB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.3456, allocations: 486 kB / 0.5104 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.3467, allocations: 163.9 kB / 0.5106 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.3496, allocations: 1.742 MB / 0.5123 GB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3501, allocations: 1.012 MB / 0.5132 GB, free: 45.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.3503, allocations: 82.06 kB / 0.5133 GB, free: 45.02 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3503, allocations: 0 / 0.5133 GB, free: 45.02 MB / 382.1 MB Notification: Performance of Templates: time 0.02058/0.3709, allocations: 17.52 MB / 0.5304 GB, free: 38.65 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)