Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03039/0.03039, allocations: 5.393 MB / 22.37 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 116.1 kB / 26.39 MB, free: 4.527 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 190.5 kB / 30.52 MB, free: 432 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 257.4 MB, free: 8.195 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009568/0.009568, allocations: 2.314 MB / 313.1 MB, free: 3.312 MB / 238.1 MB " [Timeout remaining time 180] 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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 95.84 kB / 431.1 MB, free: 21.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07566/0.07829, allocations: 51.2 MB / 482.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.008396/0.08672, allocations: 6.847 MB / 489.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.09288, allocations: 3.943 MB / 493.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.09358, allocations: 23.94 kB / 493.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.09638, allocations: 1.161 MB / 494.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.09849, allocations: 0.8467 MB / 495.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.1002, allocations: 0.5519 MB / 495.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.1019, allocations: 1.417 MB / 497.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.1033, allocations: 1.009 MB / 498.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.104, allocations: 0.5565 MB / 498.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.1049, allocations: 0.6925 MB / 499.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.1051, allocations: 144 kB / 499.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/0.1059, allocations: 443.6 kB / 499.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.1062, allocations: 307 kB / 0.4885 GB, free: 96 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006188/0.1068, allocations: 0.6454 MB / 0.4891 GB, free: 15.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.109, allocations: 1.813 MB / 0.4909 GB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.109, allocations: 0 / 0.4909 GB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.109, allocations: 0 / 0.4909 GB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.109, allocations: 4 kB / 0.4909 GB, free: 13.62 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.004061/0.1131, allocations: 1.839 MB / 0.4927 GB, free: 11.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1131, allocations: 8.031 kB / 0.4927 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.1152, allocations: 383.8 kB / 0.493 GB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.117, allocations: 0.8327 MB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.1171, allocations: 90.08 kB / 0.4939 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1173, allocations: 100 kB / 0.494 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.1194, allocations: 1.173 MB / 0.4952 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.1194, allocations: 11.92 kB / 0.4952 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.1195, allocations: 40 kB / 0.4952 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.1195, allocations: 28 kB / 0.4953 GB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.1217, allocations: 1.07 MB / 0.4963 GB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006369/0.1281, allocations: 4.362 MB / 0.5006 GB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.1309, allocations: 1.734 MB / 0.5023 GB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.1316, allocations: 325.1 kB / 0.5026 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.1317, allocations: 97.61 kB / 0.5027 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000856/0.1326, allocations: 461.8 kB / 0.5031 GB, free: 476 kB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.284e-06/0.1326, allocations: 4 kB / 0.5031 GB, free: 472 kB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005725/0.1383, allocations: 1.593 MB / 0.5047 GB, free: 14.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.1385, allocations: 218.2 kB / 0.5049 GB, free: 14.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.1394, allocations: 0.6525 MB / 0.5055 GB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.1394, allocations: 45.7 kB / 0.5055 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.1399, allocations: 0.5311 MB / 0.5061 GB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.1401, allocations: 250 kB / 0.5063 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.1404, allocations: 190.5 kB / 0.5065 GB, free: 12.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.1406, allocations: 386.7 kB / 0.5069 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.1413, allocations: 305.8 kB / 0.5071 GB, free: 12.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.1422, allocations: 0.5309 MB / 0.5077 GB, free: 11.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.1437, allocations: 0.936 MB / 0.5086 GB, free: 10.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.1437, allocations: 7.938 kB / 0.5086 GB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002311/0.146, allocations: 1.114 MB / 0.5097 GB, free: 9.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.1461, allocations: 63.41 kB / 0.5097 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1461, allocations: 8 kB / 0.5097 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004475/0.1466, allocations: 85.06 kB / 0.5098 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.1474, allocations: 223.5 kB / 0.51 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.1491, allocations: 1.589 MB / 0.5116 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.1499, allocations: 115.3 kB / 0.5117 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.15, allocations: 43.98 kB / 0.5117 GB, free: 7.074 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.0005188/0.1505, allocations: 343.2 kB / 0.5121 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.1507, allocations: 87.47 kB / 0.5122 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.1528, allocations: 1.007 MB / 0.5131 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1528, allocations: 4 kB / 0.5131 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1528, allocations: 0 / 0.5131 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1528, allocations: 7.984 kB / 0.5131 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/0.1593, allocations: 2.298 MB / 0.5154 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.1594, allocations: 0 / 0.5154 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.16, allocations: 99.92 kB / 0.5155 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.1611, allocations: 334.2 kB / 0.5158 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.805e-05/0.1612, allocations: 19.98 kB / 0.5158 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.163, allocations: 0.9014 MB / 0.5167 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.163, allocations: 3.938 kB / 0.5167 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.1668, allocations: 1.406 MB / 0.5181 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.1673, allocations: 228.3 kB / 0.5183 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.1675, allocations: 24 kB / 0.5183 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.1683, allocations: 47.95 kB / 0.5184 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1684, allocations: 48.52 kB / 0.5184 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1867/0.3551, allocations: 31.91 kB / 0.5184 GB, free: 45.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007005/0.3559, allocations: 453.2 kB / 0.5189 GB, free: 45.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3559, allocations: 0.5625 kB / 0.5189 GB, free: 45.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001112/0.357, allocations: 321.1 kB / 0.5192 GB, free: 45.88 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.001968/0.359, allocations: 0.6662 MB / 0.5198 GB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.3608, allocations: 0.9987 MB / 0.5208 GB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3608, allocations: 0 / 0.5208 GB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.3617, allocations: 0.4951 MB / 0.5213 GB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.3625, allocations: 158.1 kB / 0.5214 GB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.3653, allocations: 1.811 MB / 0.5232 GB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.3658, allocations: 1.016 MB / 0.5242 GB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.3661, allocations: 87.8 kB / 0.5243 GB, free: 43.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3661, allocations: 1.375 kB / 0.5243 GB, free: 43.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02174/0.3878, allocations: 17.34 MB / 0.5412 GB, free: 37.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.207149191992357] Failed to read output from testmodel.py, exit status != 0: 0.3932682741433382 0.40129400099999996 0.29070601500000004 Calling exit ...