Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02632/0.02632, allocations: 5.395 MB / 21.03 MB, free: 1.57 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.0009638/0.0009638, allocations: 99.89 kB / 23.02 MB, free: 0.8008 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.0009872/0.0009874, allocations: 206 kB / 25.16 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 250 MB, free: 8.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008608/0.008609, allocations: 2.321 MB / 303.7 MB, free: 6.488 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 99.84 kB / 419.6 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.0778, allocations: 51.2 MB / 470.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.007321/0.08514, allocations: 6.893 MB / 477.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.09078, allocations: 4.021 MB / 481.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.09142, allocations: 20 kB / 481.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.09398, allocations: 1.173 MB / 482.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.09586, allocations: 0.8857 MB / 483.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.09748, allocations: 0.6105 MB / 484.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.09903, allocations: 1.417 MB / 485.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.1004, allocations: 1.009 MB / 486.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/0.1011, allocations: 0.5681 MB / 487.4 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007282/0.1018, allocations: 0.6807 MB / 488.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.102, allocations: 140 kB / 488.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006668/0.1026, allocations: 439.7 kB / 488.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1029, allocations: 298.9 kB / 489 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.1034, allocations: 0.6335 MB / 489.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.1049, allocations: 1.76 MB / 491.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1049, allocations: 0 / 491.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1049, allocations: 0 / 491.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.105, allocations: 0 / 491.4 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.003601/0.1086, allocations: 1.798 MB / 493.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1086, allocations: 8.031 kB / 493.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.1106, allocations: 383.1 kB / 493.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.1121, allocations: 0.8087 MB / 494.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.1122, allocations: 85.98 kB / 494.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1124, allocations: 100 kB / 494.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.1142, allocations: 1.134 MB / 495.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.1142, allocations: 3.906 kB / 495.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/0.1143, allocations: 44 kB / 495.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.1143, allocations: 28 kB / 495.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.1161, allocations: 0.9447 MB / 496.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005299/0.1215, allocations: 4.303 MB / 0.4893 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.1238, allocations: 1.666 MB / 0.4909 GB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006055/0.1244, allocations: 318.1 kB / 0.4912 GB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.613e-05/0.1245, allocations: 93.53 kB / 0.4913 GB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007454/0.1252, allocations: 466.5 kB / 0.4917 GB, free: 1.844 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.1253, allocations: 0 / 0.4917 GB, free: 1.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005306/0.1306, allocations: 1.537 MB / 0.4932 GB, free: 272 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.1307, allocations: 285.5 kB / 0.4935 GB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.1315, allocations: 0.6681 MB / 0.4941 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.1315, allocations: 37.7 kB / 0.4942 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.1319, allocations: 0.5179 MB / 0.4947 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.132, allocations: 213.1 kB / 0.4949 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.1323, allocations: 182.4 kB / 0.4951 GB, free: 14.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1324, allocations: 394.7 kB / 0.4954 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.133, allocations: 281.9 kB / 0.4957 GB, free: 13.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.1338, allocations: 0.5405 MB / 0.4962 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.1352, allocations: 0.9138 MB / 0.4971 GB, free: 11.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.1352, allocations: 11.94 kB / 0.4971 GB, free: 11.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00207/0.1373, allocations: 1.063 MB / 0.4982 GB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/0.1373, allocations: 63.34 kB / 0.4982 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.1374, allocations: 8 kB / 0.4982 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/0.1378, allocations: 93.06 kB / 0.4983 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008169/0.1386, allocations: 215.7 kB / 0.4985 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.1402, allocations: 1.585 MB / 0.5001 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.1409, allocations: 114.9 kB / 0.5002 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.1409, allocations: 43.98 kB / 0.5002 GB, free: 8.551 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.0004735/0.1414, allocations: 339.6 kB / 0.5006 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1416, allocations: 83 kB / 0.5006 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.1434, allocations: 0.9168 MB / 0.5015 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1434, allocations: 4 kB / 0.5015 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1434, allocations: 4 kB / 0.5015 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1434, allocations: 0 / 0.5015 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005523/0.149, allocations: 2.211 MB / 0.5037 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.149, allocations: 3.938 kB / 0.5037 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1494, allocations: 87.94 kB / 0.5038 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/0.1501, allocations: 330.2 kB / 0.5041 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.1502, allocations: 27.97 kB / 0.5041 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.1514, allocations: 0.8897 MB / 0.505 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1514, allocations: 0 / 0.505 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.1562, allocations: 1.627 MB / 0.5066 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.1565, allocations: 223.9 kB / 0.5068 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.1566, allocations: 19.98 kB / 0.5068 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.1571, allocations: 47.97 kB / 0.5069 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.1572, allocations: 44.38 kB / 0.5069 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.1573, allocations: 27.92 kB / 0.5069 GB, free: 1.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004974/0.1578, allocations: 463 kB / 0.5074 GB, free: 1.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1578, allocations: 0 / 0.5074 GB, free: 1.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008236/0.1586, allocations: 323 kB / 0.5077 GB, free: 0.6875 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.001214/0.1599, allocations: 0.6574 MB / 0.5083 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1548/0.3147, allocations: 0.9616 MB / 0.5093 GB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3147, allocations: 3.719 kB / 0.5093 GB, free: 46.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.3155, allocations: 483.5 kB / 0.5097 GB, free: 46.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009383/0.3165, allocations: 162.7 kB / 0.5099 GB, free: 46.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.319, allocations: 1.7 MB / 0.5115 GB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3195, allocations: 1.016 MB / 0.5125 GB, free: 45.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.3198, allocations: 119.2 kB / 0.5127 GB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.32, allocations: 75.3 kB / 0.5127 GB, free: 45.09 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.32, allocations: 5.75 kB / 0.5127 GB, free: 45.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01883/0.3389, allocations: 12.64 MB / 0.5251 GB, free: 41.49 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)