Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02508/0.02508, allocations: 5.394 MB / 21.66 MB, free: 1.527 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.001097/0.001097, allocations: 107.3 kB / 23.65 MB, free: 0.8164 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.001289/0.001289, allocations: 196 kB / 25.78 MB, free: 4.801 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.4/1.4, allocations: 222.9 MB / 250.7 MB, free: 8.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009256/0.009256, allocations: 2.317 MB / 304.3 MB, free: 6.488 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 99.83 kB / 420.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1017, allocations: 51.2 MB / 471.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.008194/0.11, allocations: 6.858 MB / 478.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006522/0.1165, allocations: 3.943 MB / 482.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.1175, allocations: 20 kB / 482.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.1204, allocations: 1.155 MB / 483.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.1226, allocations: 0.862 MB / 484.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.1244, allocations: 0.5438 MB / 484.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.126, allocations: 1.409 MB / 486.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.1275, allocations: 1.017 MB / 487.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007366/0.1282, allocations: 0.5565 MB / 487.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008618/0.1291, allocations: 0.6925 MB / 488.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.1293, allocations: 144 kB / 488.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008175/0.1301, allocations: 435.7 kB / 489.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1304, allocations: 310.9 kB / 489.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.1309, allocations: 0.6414 MB / 490 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.1328, allocations: 1.795 MB / 491.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1328, allocations: 4 kB / 491.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1328, allocations: 0 / 491.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.1328, allocations: 0 / 491.8 MB, free: 14.8 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.004051/0.1369, allocations: 1.81 MB / 493.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1369, allocations: 12.03 kB / 493.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.1391, allocations: 375.2 kB / 494 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.141, allocations: 0.8321 MB / 494.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/0.1411, allocations: 86.02 kB / 494.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.1413, allocations: 108 kB / 495 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.1433, allocations: 1.173 MB / 496.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.1434, allocations: 0 / 496.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1435, allocations: 44 kB / 496.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.1435, allocations: 28 kB / 496.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.1456, allocations: 1.072 MB / 497.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/0.1519, allocations: 4.333 MB / 0.4899 GB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.1546, allocations: 1.74 MB / 0.4916 GB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.1553, allocations: 329.3 kB / 0.4919 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.1555, allocations: 97.64 kB / 0.492 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008425/0.1563, allocations: 461.7 kB / 0.4925 GB, free: 1.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/0.1563, allocations: 0 / 0.4925 GB, free: 1.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005871/0.1622, allocations: 1.6 MB / 0.494 GB, free: 64 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.1624, allocations: 222.2 kB / 0.4942 GB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.1632, allocations: 0.6486 MB / 0.4949 GB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.1633, allocations: 41.7 kB / 0.4949 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.1637, allocations: 0.5179 MB / 0.4954 GB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.1639, allocations: 232.8 kB / 0.4956 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.1642, allocations: 186.4 kB / 0.4958 GB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1644, allocations: 394.7 kB / 0.4962 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.1651, allocations: 293.8 kB / 0.4965 GB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/0.1659, allocations: 0.5425 MB / 0.497 GB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.1675, allocations: 0.936 MB / 0.4979 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1675, allocations: 0 / 0.4979 GB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002291/0.1698, allocations: 1.125 MB / 0.499 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.1698, allocations: 59.41 kB / 0.4991 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.1699, allocations: 8 kB / 0.4991 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.1704, allocations: 85.06 kB / 0.4992 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.1712, allocations: 227.6 kB / 0.4994 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.1728, allocations: 1.581 MB / 0.5009 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.1736, allocations: 115.2 kB / 0.501 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.1737, allocations: 43.98 kB / 0.5011 GB, free: 8.34 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.0005158/0.1742, allocations: 339.1 kB / 0.5014 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1744, allocations: 83.06 kB / 0.5015 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.1766, allocations: 1.007 MB / 0.5025 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1766, allocations: 15.94 kB / 0.5025 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1766, allocations: 0 / 0.5025 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1766, allocations: 3.984 kB / 0.5025 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.1828, allocations: 2.302 MB / 0.5047 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.1829, allocations: 0 / 0.5047 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.1833, allocations: 99.83 kB / 0.5048 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008449/0.1841, allocations: 330.3 kB / 0.5051 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-05/0.1842, allocations: 31.97 kB / 0.5052 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.1856, allocations: 0.8935 MB / 0.5061 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1856, allocations: 4.062 kB / 0.5061 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/0.1884, allocations: 1.402 MB / 0.5074 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.1887, allocations: 224 kB / 0.5076 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.1889, allocations: 20 kB / 0.5077 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.1894, allocations: 47.95 kB / 0.5077 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.1895, allocations: 48.58 kB / 0.5077 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.1896, allocations: 31.97 kB / 0.5078 GB, free: 1.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006027/0.1902, allocations: 463 kB / 0.5082 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1902, allocations: 0 / 0.5082 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001004/0.1912, allocations: 322.9 kB / 0.5085 GB, free: 0.4922 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.001463/0.1927, allocations: 0.6543 MB / 0.5092 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1909/0.3837, allocations: 0.9869 MB / 0.5101 GB, free: 46.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.3837, allocations: 4.531 kB / 0.5101 GB, free: 46.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009851/0.3847, allocations: 499.6 kB / 0.5106 GB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.3857, allocations: 155.6 kB / 0.5108 GB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.389, allocations: 1.772 MB / 0.5125 GB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.3896, allocations: 1.018 MB / 0.5135 GB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.3899, allocations: 89.77 kB / 0.5136 GB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3899, allocations: 0 / 0.5136 GB, free: 45.07 MB / 382.1 MB Notification: Performance of Templates: time 0.02542/0.4153, allocations: 17.25 MB / 0.5304 GB, free: 38.87 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)