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) 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) 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=195840,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=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02783/0.02783, allocations: 5.394 MB / 21.7 MB, free: 1.391 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.001063/0.001063, allocations: 105.7 kB / 23.69 MB, free: 0.9492 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.001224/0.001224, allocations: 194 kB / 25.82 MB, free: 4.68 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.279/1.279, allocations: 222.9 MB / 250.7 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.009163/0.009163, allocations: 2.31 MB / 304.3 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 99.84 kB / 423.8 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 51.21 MB / 475 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.009535/0.1134, allocations: 6.859 MB / 481.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.1208, allocations: 3.935 MB / 485.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.1219, allocations: 23.94 kB / 485.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.1253, allocations: 1.159 MB / 487 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.128, allocations: 0.8609 MB / 487.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.1301, allocations: 0.5403 MB / 488.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.1326, allocations: 1.417 MB / 489.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.1345, allocations: 1.021 MB / 490.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1356, allocations: 0.5526 MB / 491.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.1368, allocations: 0.6925 MB / 492.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004719/0.1373, allocations: 144 kB / 492.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1386, allocations: 431.7 kB / 492.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.1391, allocations: 314.9 kB / 493 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.1401, allocations: 0.6452 MB / 493.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002665/0.1428, allocations: 1.791 MB / 495.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1428, allocations: 3.938 kB / 495.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1428, allocations: 0 / 495.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.757e-05/0.1429, allocations: 4 kB / 495.4 MB, free: 11.28 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004705/0.1476, allocations: 1.802 MB / 497.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1477, allocations: 12.03 kB / 497.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.1498, allocations: 379.2 kB / 497.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.1517, allocations: 0.8359 MB / 498.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.1518, allocations: 78.08 kB / 498.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.152, allocations: 108 kB / 498.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.1541, allocations: 1.165 MB / 499.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.1542, allocations: 11.92 kB / 499.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.1543, allocations: 44 kB / 499.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.1543, allocations: 28 kB / 499.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.1564, allocations: 1.062 MB / 0.4892 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.1626, allocations: 4.345 MB / 0.4934 GB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.1654, allocations: 1.74 MB / 0.4951 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.1661, allocations: 341.6 kB / 0.4955 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.1662, allocations: 93.66 kB / 0.4955 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008136/0.1671, allocations: 465.8 kB / 0.496 GB, free: 14.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.093e-06/0.1671, allocations: 0 / 0.496 GB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.00571/0.1728, allocations: 1.588 MB / 0.4975 GB, free: 12.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.1729, allocations: 226.2 kB / 0.4978 GB, free: 12.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.1739, allocations: 0.6409 MB / 0.4984 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.174, allocations: 45.7 kB / 0.4984 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.1745, allocations: 0.5256 MB / 0.4989 GB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.1747, allocations: 228.9 kB / 0.4992 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.175, allocations: 190.4 kB / 0.4993 GB, free: 10.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1752, allocations: 394.7 kB / 0.4997 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.1759, allocations: 293.8 kB / 0.5 GB, free: 9.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.1767, allocations: 0.5387 MB / 0.5005 GB, free: 9.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1782, allocations: 0.9322 MB / 0.5014 GB, free: 8.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.1782, allocations: 4 kB / 0.5014 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002202/0.1804, allocations: 1.11 MB / 0.5025 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.1804, allocations: 71.39 kB / 0.5026 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1805, allocations: 8 kB / 0.5026 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.1809, allocations: 92.98 kB / 0.5027 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.1818, allocations: 219.6 kB / 0.5029 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.1833, allocations: 1.582 MB / 0.5044 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.184, allocations: 107 kB / 0.5045 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.1841, allocations: 51.91 kB / 0.5046 GB, free: 4.816 MB / 382.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.0004826/0.1846, allocations: 339.1 kB / 0.5049 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1848, allocations: 87.16 kB / 0.505 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.1868, allocations: 1.007 MB / 0.506 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1869, allocations: 4 kB / 0.506 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1869, allocations: 0 / 0.506 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.1869, allocations: 11.92 kB / 0.506 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006039/0.1929, allocations: 2.302 MB / 0.5082 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.193, allocations: 0 / 0.5082 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.1933, allocations: 99.89 kB / 0.5083 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009125/0.1943, allocations: 334.2 kB / 0.5087 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.1943, allocations: 23.97 kB / 0.5087 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1861/0.3805, allocations: 0.8925 MB / 0.5095 GB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3805, allocations: 1.156 kB / 0.5095 GB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.3832, allocations: 1.407 MB / 0.5109 GB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.3835, allocations: 223.8 kB / 0.5111 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.3836, allocations: 23.19 kB / 0.5112 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.3842, allocations: 50.47 kB / 0.5112 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.3843, allocations: 41.92 kB / 0.5112 GB, free: 45.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.3843, allocations: 32.38 kB / 0.5113 GB, free: 45.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005258/0.3849, allocations: 451 kB / 0.5117 GB, free: 45.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3849, allocations: 1.125 kB / 0.5117 GB, free: 45.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008544/0.3857, allocations: 321.3 kB / 0.512 GB, free: 45.68 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.00124/0.387, allocations: 0.6538 MB / 0.5127 GB, free: 45.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3887, allocations: 1.009 MB / 0.5136 GB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3887, allocations: 1.094 kB / 0.5136 GB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.3894, allocations: 499.5 kB / 0.5141 GB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.3902, allocations: 147.4 kB / 0.5143 GB, free: 44.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3929, allocations: 1.787 MB / 0.516 GB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.3934, allocations: 1.018 MB / 0.517 GB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.3936, allocations: 83.91 kB / 0.5171 GB, free: 43.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3936, allocations: 0.9062 kB / 0.5171 GB, free: 43.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01969/0.4133, allocations: 17.37 MB / 0.534 GB, free: 35.97 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile (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)