Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0332/0.0332, allocations: 5.393 MB / 21.03 MB, free: 1.617 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.007092/0.007092, allocations: 95.09 kB / 23.02 MB, free: 0.7969 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.0012/0.0012, allocations: 202.4 kB / 25.15 MB, free: 168 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.262/1.262, allocations: 222.9 MB / 250 MB, free: 8.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008604/0.008604, allocations: 2.32 MB / 303.7 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001722, allocations: 95.84 kB / 419.6 MB, free: 22.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07526/0.077, allocations: 51.2 MB / 470.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.007521/0.08455, allocations: 6.901 MB / 477.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005779/0.09036, allocations: 4.017 MB / 481.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008553/0.09124, allocations: 23.94 kB / 481.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002649/0.0939, allocations: 1.173 MB / 483 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.09584, allocations: 0.8778 MB / 483.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.09767, allocations: 0.6201 MB / 484.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.09921, allocations: 1.413 MB / 485.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.1005, allocations: 1.005 MB / 486.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005419/0.101, allocations: 0.5643 MB / 487.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.1017, allocations: 0.6846 MB / 488.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1019, allocations: 140 kB / 488.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.1026, allocations: 439.7 kB / 488.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.1028, allocations: 298.9 kB / 489 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005301/0.1034, allocations: 0.6335 MB / 489.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.1051, allocations: 1.764 MB / 491.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1051, allocations: 0 / 491.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1051, allocations: 0 / 491.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1051, allocations: 0 / 491.4 MB, free: 14.6 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.00362/0.1088, allocations: 1.798 MB / 493.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1088, allocations: 8.031 kB / 493.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.1108, allocations: 375.1 kB / 493.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.1125, allocations: 0.8204 MB / 494.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/0.1126, allocations: 78 kB / 494.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.1127, allocations: 100 kB / 494.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.1146, allocations: 1.134 MB / 495.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.1146, allocations: 3.906 kB / 495.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.1147, allocations: 44 kB / 495.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1148, allocations: 24 kB / 495.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.1165, allocations: 0.9525 MB / 496.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005871/0.1224, allocations: 4.303 MB / 0.4893 GB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.1248, allocations: 1.662 MB / 0.4909 GB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.1255, allocations: 319 kB / 0.4912 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.1256, allocations: 89.53 kB / 0.4913 GB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007671/0.1264, allocations: 462.5 kB / 0.4917 GB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.715e-06/0.1264, allocations: 0 / 0.4917 GB, free: 1.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005275/0.1317, allocations: 1.548 MB / 0.4932 GB, free: 228 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1318, allocations: 281.5 kB / 0.4935 GB, free: 15.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/0.1327, allocations: 0.6603 MB / 0.4941 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.1327, allocations: 41.7 kB / 0.4942 GB, free: 15.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.1331, allocations: 0.5257 MB / 0.4947 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.1332, allocations: 213.1 kB / 0.4949 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.1335, allocations: 190.4 kB / 0.4951 GB, free: 14.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1337, allocations: 386.8 kB / 0.4954 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/0.1343, allocations: 285.8 kB / 0.4957 GB, free: 13.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.135, allocations: 0.5363 MB / 0.4962 GB, free: 12.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.1363, allocations: 0.9101 MB / 0.4971 GB, free: 11.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.1364, allocations: 11.94 kB / 0.4971 GB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002041/0.1384, allocations: 1.071 MB / 0.4982 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.1385, allocations: 65.27 kB / 0.4982 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1385, allocations: 8 kB / 0.4983 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.1389, allocations: 84.78 kB / 0.4983 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/0.1397, allocations: 215.8 kB / 0.4985 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1412, allocations: 1.581 MB / 0.5001 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.142, allocations: 115 kB / 0.5002 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.1421, allocations: 55.91 kB / 0.5002 GB, free: 8.504 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.0004959/0.1426, allocations: 331.6 kB / 0.5006 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.1428, allocations: 83 kB / 0.5006 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.1446, allocations: 0.9129 MB / 0.5015 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1446, allocations: 8 kB / 0.5015 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1446, allocations: 0 / 0.5015 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.567e-06/0.1446, allocations: 3.984 kB / 0.5015 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/0.1499, allocations: 2.207 MB / 0.5037 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.15, allocations: 4 kB / 0.5037 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.1503, allocations: 83.89 kB / 0.5038 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007523/0.1511, allocations: 338.3 kB / 0.5041 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.1511, allocations: 23.97 kB / 0.5041 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.1523, allocations: 0.8897 MB / 0.505 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1523, allocations: 0 / 0.505 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/0.1571, allocations: 1.639 MB / 0.5066 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.1575, allocations: 219.9 kB / 0.5068 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.1576, allocations: 20 kB / 0.5068 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.1582, allocations: 51.89 kB / 0.5069 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.1583, allocations: 40.39 kB / 0.5069 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/0.1583, allocations: 31.97 kB / 0.5069 GB, free: 1.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005687/0.1589, allocations: 463 kB / 0.5074 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 0 / 0.5074 GB, free: 0.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009607/0.1599, allocations: 315 kB / 0.5077 GB, free: 0.6484 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.001335/0.1612, allocations: 0.6578 MB / 0.5083 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.179/0.3403, allocations: 0.9649 MB / 0.5093 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3403, allocations: 0 / 0.5093 GB, free: 46.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008629/0.3412, allocations: 482.3 kB / 0.5097 GB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.3422, allocations: 165.6 kB / 0.5099 GB, free: 46.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.3449, allocations: 1.698 MB / 0.5116 GB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.3453, allocations: 1.016 MB / 0.5125 GB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003977/0.3457, allocations: 122.1 kB / 0.5127 GB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.3459, allocations: 75.14 kB / 0.5127 GB, free: 44.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3459, allocations: 1.156 kB / 0.5127 GB, free: 44.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01851/0.3645, allocations: 12.63 MB / 0.5251 GB, free: 41.33 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)