Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03027/0.03028, allocations: 5.393 MB / 21.03 MB, free: 1.555 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.001079/0.001079, allocations: 105.7 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.001327/0.001327, allocations: 197.9 kB / 25.15 MB, free: 152 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.413/1.413, allocations: 222.9 MB / 250 MB, free: 8.398 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008987/0.008987, allocations: 2.32 MB / 303.7 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 87.86 kB / 419.6 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09812, allocations: 51.22 MB / 470.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.00904/0.1072, allocations: 6.835 MB / 477.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006886/0.1142, allocations: 3.943 MB / 481.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.1151, allocations: 23.94 kB / 481.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.1181, allocations: 1.169 MB / 482.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.1201, allocations: 0.8545 MB / 483.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.1218, allocations: 0.5401 MB / 484.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1232, allocations: 1.417 MB / 485.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.1246, allocations: 1.013 MB / 486.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006271/0.1253, allocations: 0.5565 MB / 487.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.1261, allocations: 0.6925 MB / 487.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.1263, allocations: 148 kB / 488 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008177/0.1271, allocations: 439.7 kB / 488.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.1274, allocations: 307 kB / 488.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005706/0.1279, allocations: 0.6413 MB / 489.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.1301, allocations: 1.802 MB / 491.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1301, allocations: 0 / 491.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1301, allocations: 0 / 491.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1301, allocations: 0 / 491.2 MB, free: 14.78 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.004012/0.1341, allocations: 1.855 MB / 493.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1342, allocations: 8.031 kB / 493.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.1363, allocations: 387.8 kB / 493.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.1381, allocations: 0.8327 MB / 494.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.1381, allocations: 86.08 kB / 494.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1383, allocations: 100 kB / 494.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.1404, allocations: 1.176 MB / 495.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.1404, allocations: 4 kB / 495.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.1405, allocations: 40 kB / 495.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.1405, allocations: 28 kB / 495.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.1426, allocations: 1.07 MB / 496.8 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005749/0.1484, allocations: 4.35 MB / 0.4894 GB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.151, allocations: 1.748 MB / 0.4911 GB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.1516, allocations: 325.3 kB / 0.4914 GB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.62e-05/0.1517, allocations: 101.6 kB / 0.4915 GB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000806/0.1525, allocations: 461.8 kB / 0.4919 GB, free: 1.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.244e-06/0.1526, allocations: 0 / 0.4919 GB, free: 1.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005578/0.1581, allocations: 1.597 MB / 0.4935 GB, free: 15.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.1583, allocations: 226.2 kB / 0.4937 GB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.159, allocations: 0.6448 MB / 0.4944 GB, free: 15.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.1591, allocations: 37.7 kB / 0.4944 GB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.1595, allocations: 0.5428 MB / 0.4949 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.1597, allocations: 246 kB / 0.4952 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.16, allocations: 186.5 kB / 0.4953 GB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1602, allocations: 390.7 kB / 0.4957 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.1608, allocations: 301.8 kB / 0.496 GB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/0.1616, allocations: 0.5348 MB / 0.4965 GB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.163, allocations: 0.9321 MB / 0.4974 GB, free: 11.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.163, allocations: 4 kB / 0.4974 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002295/0.1653, allocations: 1.114 MB / 0.4985 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.1654, allocations: 70.02 kB / 0.4986 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1654, allocations: 12 kB / 0.4986 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004851/0.1659, allocations: 84.78 kB / 0.4987 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.1667, allocations: 219.6 kB / 0.4989 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.1682, allocations: 1.585 MB / 0.5004 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.169, allocations: 103.3 kB / 0.5005 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.1691, allocations: 47.97 kB / 0.5006 GB, free: 8.23 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.0004867/0.1696, allocations: 355.1 kB / 0.5009 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.1697, allocations: 83.48 kB / 0.501 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.1718, allocations: 1.01 MB / 0.502 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1718, allocations: 4 kB / 0.502 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1718, allocations: 3.938 kB / 0.502 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.1718, allocations: 7.984 kB / 0.502 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.1776, allocations: 2.302 MB / 0.5042 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1776, allocations: 4.031 kB / 0.5042 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.178, allocations: 99.83 kB / 0.5043 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/0.1789, allocations: 326.3 kB / 0.5047 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.1789, allocations: 27.97 kB / 0.5047 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.1803, allocations: 0.8935 MB / 0.5056 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1803, allocations: 0 / 0.5056 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.183, allocations: 1.414 MB / 0.5069 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.1834, allocations: 232.3 kB / 0.5072 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.1835, allocations: 24 kB / 0.5072 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.184, allocations: 47.97 kB / 0.5072 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.1842, allocations: 40.5 kB / 0.5073 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.1842, allocations: 27.97 kB / 0.5073 GB, free: 1.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005793/0.1848, allocations: 455 kB / 0.5077 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1848, allocations: 0 / 0.5077 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001009/0.1858, allocations: 323.2 kB / 0.508 GB, free: 380 kB / 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.2/0.3859, allocations: 0.6602 MB / 0.5087 GB, free: 46.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.3885, allocations: 0.9898 MB / 0.5096 GB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3886, allocations: 0 / 0.5096 GB, free: 46.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.3897, allocations: 0.4942 MB / 0.5101 GB, free: 46.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3909, allocations: 155.2 kB / 0.5103 GB, free: 46.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/0.3945, allocations: 1.776 MB / 0.512 GB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.3951, allocations: 1.015 MB / 0.513 GB, free: 44.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005004/0.3956, allocations: 131.3 kB / 0.5131 GB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.3959, allocations: 80.47 kB / 0.5132 GB, free: 44.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3959, allocations: 0 / 0.5132 GB, free: 44.84 MB / 382.1 MB Notification: Performance of Templates: time 0.02271/0.4186, allocations: 12.21 MB / 0.5251 GB, free: 41.48 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)