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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 98.38 kB / 289.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02412/0.02412, allocations: 5.398 MB / 345.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008006/0.008006, allocations: 2.316 MB / 399 MB, free: 68.81 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 465.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1847, allocations: 51.21 MB / 0.5049 GB, free: 40.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.005373/0.1901, allocations: 6.814 MB / 0.5116 GB, free: 33.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.1937, allocations: 3.897 MB / 0.5154 GB, free: 30.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1941, allocations: 19.94 kB / 0.5154 GB, free: 30.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.1959, allocations: 1.088 MB / 0.5165 GB, free: 28.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1971, allocations: 0.7737 MB / 0.5172 GB, free: 28.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1982, allocations: 0.4893 MB / 0.5177 GB, free: 27.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000732/0.199, allocations: 1.32 MB / 0.519 GB, free: 26.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008934/0.1999, allocations: 0.8551 MB / 0.5198 GB, free: 25.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.2002, allocations: 0.4979 MB / 0.5203 GB, free: 24.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.2007, allocations: 0.6457 MB / 0.5209 GB, free: 24.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.2009, allocations: 88 kB / 0.521 GB, free: 24.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.2014, allocations: 371.7 kB / 0.5214 GB, free: 23.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.2015, allocations: 258.9 kB / 0.5216 GB, free: 23.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.2019, allocations: 0.5944 MB / 0.5222 GB, free: 23.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.203, allocations: 1.717 MB / 0.5239 GB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.203, allocations: 0 / 0.5239 GB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.203, allocations: 0 / 0.5239 GB, free: 21.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.203, allocations: 0 / 0.5239 GB, free: 21.3 MB / 314.7 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.003239/0.2063, allocations: 1.814 MB / 0.5257 GB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2063, allocations: 8.875 kB / 0.5257 GB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.2081, allocations: 375.1 kB / 0.526 GB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.2096, allocations: 0.8243 MB / 0.5268 GB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.2096, allocations: 82.08 kB / 0.5269 GB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2097, allocations: 104 kB / 0.527 GB, free: 18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.2113, allocations: 1.173 MB / 0.5281 GB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.2114, allocations: 0 / 0.5281 GB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/0.2114, allocations: 47.98 kB / 0.5282 GB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.2115, allocations: 28 kB / 0.5282 GB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.2131, allocations: 1.066 MB / 0.5293 GB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.2177, allocations: 4.38 MB / 0.5335 GB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.2197, allocations: 1.747 MB / 0.5352 GB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.2203, allocations: 329 kB / 0.5356 GB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.2204, allocations: 93.66 kB / 0.5356 GB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006627/0.221, allocations: 473.6 kB / 0.5361 GB, free: 8.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.425e-06/0.221, allocations: 0 / 0.5361 GB, free: 8.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.005055/0.2261, allocations: 1.592 MB / 0.5377 GB, free: 6.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.2262, allocations: 226.2 kB / 0.5379 GB, free: 6.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.2268, allocations: 0.6485 MB / 0.5385 GB, free: 5.605 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.2268, allocations: 41.7 kB / 0.5385 GB, free: 5.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.227, allocations: 0.5141 MB / 0.539 GB, free: 5.035 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.2272, allocations: 236.7 kB / 0.5393 GB, free: 4.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.2274, allocations: 190.5 kB / 0.5394 GB, free: 4.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.2275, allocations: 386.7 kB / 0.5398 GB, free: 4.223 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005332/0.228, allocations: 297.8 kB / 0.5401 GB, free: 3.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.2286, allocations: 0.5387 MB / 0.5406 GB, free: 3.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.2297, allocations: 0.9321 MB / 0.5415 GB, free: 2.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2297, allocations: 4 kB / 0.5415 GB, free: 2.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001795/0.2315, allocations: 1.117 MB / 0.5426 GB, free: 1.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.2316, allocations: 63.41 kB / 0.5427 GB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2316, allocations: 8 kB / 0.5427 GB, free: 1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.232, allocations: 89.06 kB / 0.5428 GB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.2328, allocations: 223.5 kB / 0.543 GB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.234, allocations: 1.471 MB / 0.5444 GB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.2347, allocations: 115.1 kB / 0.5445 GB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.2348, allocations: 47.97 kB / 0.5446 GB, free: 14.93 MB / 330.7 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.000426/0.2352, allocations: 339.2 kB / 0.5449 GB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2354, allocations: 86.94 kB / 0.545 GB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.2373, allocations: 1.007 MB / 0.546 GB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2373, allocations: 8 kB / 0.546 GB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2373, allocations: 0 / 0.546 GB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2373, allocations: 3.984 kB / 0.546 GB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.243, allocations: 2.313 MB / 0.5483 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.243, allocations: 0 / 0.5483 GB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.2434, allocations: 99.92 kB / 0.5483 GB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.2442, allocations: 326.3 kB / 0.5487 GB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.2442, allocations: 23.97 kB / 0.5487 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2454, allocations: 0.8936 MB / 0.5496 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2455, allocations: 3.938 kB / 0.5496 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.2566, allocations: 5.201 MB / 0.5546 GB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.2569, allocations: 223.9 kB / 0.5549 GB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.2571, allocations: 24 kB / 0.5549 GB, free: 4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.2576, allocations: 55.94 kB / 0.5549 GB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.2577, allocations: 48.44 kB / 0.555 GB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.2578, allocations: 23.98 kB / 0.555 GB, free: 3.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004975/0.2583, allocations: 455 kB / 0.5554 GB, free: 3.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2583, allocations: 0 / 0.5554 GB, free: 3.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001088/0.2594, allocations: 399 kB / 0.5558 GB, free: 3.047 MB / 330.7 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.001275/0.2607, allocations: 0.6739 MB / 0.5565 GB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.2624, allocations: 0.9884 MB / 0.5574 GB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2625, allocations: 4.062 kB / 0.5574 GB, free: 1.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.2633, allocations: 493.8 kB / 0.5579 GB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.264, allocations: 151 kB / 0.5581 GB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.2675, allocations: 2.644 MB / 0.5606 GB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.2681, allocations: 1.038 MB / 0.5616 GB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005422/0.2686, allocations: 142.4 kB / 0.5618 GB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.2689, allocations: 91.38 kB / 0.5619 GB, free: 12.92 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2689, allocations: 0 / 0.5619 GB, free: 12.92 MB / 346.7 MB Notification: Performance of Templates: time 0.02116/0.2901, allocations: 13.51 MB / 0.5751 GB, free: 15.5 MB / 362.7 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)