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.02461/0.02461, allocations: 5.393 MB / 21.7 MB, free: 1.328 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.001162/0.001162, allocations: 107.1 kB / 23.7 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.001302/0.001302, allocations: 185.2 kB / 25.82 MB, free: 4.602 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.275/1.275, allocations: 222.9 MB / 250.7 MB, free: 8.434 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009474/0.009474, allocations: 2.318 MB / 304.3 MB, free: 6.488 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 92.17 kB / 420.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.08126, allocations: 51.22 MB / 471.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007295/0.08859, allocations: 6.849 MB / 478.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.09432, allocations: 3.955 MB / 482.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.09511, allocations: 19.94 kB / 482.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002716/0.09787, allocations: 1.146 MB / 483.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.1, allocations: 0.8584 MB / 484.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1018, allocations: 0.5491 MB / 484.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.1036, allocations: 1.405 MB / 486.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.1052, allocations: 1.017 MB / 487.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008067/0.106, allocations: 0.5643 MB / 487.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.107, allocations: 0.6848 MB / 488.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.1074, allocations: 144 kB / 488.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.1084, allocations: 439.6 kB / 489.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.1087, allocations: 311 kB / 489.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007098/0.1094, allocations: 0.6336 MB / 490.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.1113, allocations: 1.807 MB / 491.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1113, allocations: 0 / 491.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1113, allocations: 0 / 491.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1113, allocations: 0 / 491.9 MB, free: 14.79 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.003665/0.115, allocations: 1.806 MB / 493.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1151, allocations: 12.03 kB / 493.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/0.1171, allocations: 375.2 kB / 494.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.1187, allocations: 0.836 MB / 494.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.1188, allocations: 78.08 kB / 495 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1189, allocations: 112 kB / 495.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.1209, allocations: 1.169 MB / 496.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.1209, allocations: 4 kB / 496.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.121, allocations: 47.98 kB / 496.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1211, allocations: 28 kB / 496.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.123, allocations: 1.066 MB / 497.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005562/0.1286, allocations: 4.341 MB / 0.49 GB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.131, allocations: 1.744 MB / 0.4917 GB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.1316, allocations: 322.3 kB / 0.492 GB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.92e-05/0.1317, allocations: 101.6 kB / 0.4921 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.1325, allocations: 465.7 kB / 0.4925 GB, free: 1.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 1.944e-06/0.1325, allocations: 0 / 0.4925 GB, free: 1.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.00532/0.1379, allocations: 1.596 MB / 0.4941 GB, free: 40 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.138, allocations: 218.2 kB / 0.4943 GB, free: 15.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000761/0.1388, allocations: 0.6486 MB / 0.4949 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.1388, allocations: 41.7 kB / 0.495 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.1392, allocations: 0.5258 MB / 0.4955 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1394, allocations: 228.8 kB / 0.4957 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.1396, allocations: 190.4 kB / 0.4959 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1398, allocations: 390.7 kB / 0.4963 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.1404, allocations: 301.8 kB / 0.4966 GB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.1411, allocations: 0.5309 MB / 0.4971 GB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.1425, allocations: 0.936 MB / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.1425, allocations: 4 kB / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002022/0.1446, allocations: 1.11 MB / 0.4991 GB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.1446, allocations: 69.89 kB / 0.4991 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1446, allocations: 8.281 kB / 0.4992 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004296/0.1451, allocations: 88.78 kB / 0.4992 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.1459, allocations: 223.5 kB / 0.4995 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.1474, allocations: 1.585 MB / 0.501 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/0.148, allocations: 107 kB / 0.5011 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.1481, allocations: 51.97 kB / 0.5012 GB, free: 8.32 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.0004868/0.1486, allocations: 347.1 kB / 0.5015 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.1488, allocations: 79.06 kB / 0.5016 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.1507, allocations: 1.003 MB / 0.5025 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1507, allocations: 8 kB / 0.5025 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1507, allocations: 3.938 kB / 0.5025 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1507, allocations: 0 / 0.5025 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/0.1563, allocations: 2.309 MB / 0.5048 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1564, allocations: 0 / 0.5048 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.1567, allocations: 99.92 kB / 0.5049 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007567/0.1575, allocations: 326.2 kB / 0.5052 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.1576, allocations: 31.91 kB / 0.5052 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.1588, allocations: 0.8936 MB / 0.5061 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1588, allocations: 0 / 0.5061 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.1613, allocations: 1.405 MB / 0.5075 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.1616, allocations: 220 kB / 0.5077 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.1617, allocations: 27.98 kB / 0.5077 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.1622, allocations: 43.97 kB / 0.5078 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.1623, allocations: 44.5 kB / 0.5078 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.1624, allocations: 35.91 kB / 0.5078 GB, free: 1.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005237/0.1629, allocations: 455 kB / 0.5083 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 0.5083 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008822/0.1638, allocations: 323 kB / 0.5086 GB, free: 496 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.001316/0.1651, allocations: 0.6616 MB / 0.5092 GB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1784/0.3436, allocations: 0.9883 MB / 0.5102 GB, free: 47.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3436, allocations: 1.094 kB / 0.5102 GB, free: 47.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008976/0.3445, allocations: 0.493 MB / 0.5107 GB, free: 47.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3456, allocations: 157.2 kB / 0.5108 GB, free: 47.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.3486, allocations: 1.779 MB / 0.5126 GB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3492, allocations: 1.018 MB / 0.5136 GB, free: 45.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.3494, allocations: 82.47 kB / 0.5136 GB, free: 45.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3494, allocations: 0.9688 kB / 0.5136 GB, free: 45.57 MB / 382.1 MB Notification: Performance of Templates: time 0.02103/0.3705, allocations: 17.36 MB / 0.5306 GB, free: 39.12 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)