Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 182.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.17/1.17, 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.0009768/0.0009768, allocations: 101.8 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02407/0.02407, allocations: 5.391 MB / 345.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008281/0.008281, allocations: 2.304 MB / 399 MB, free: 68.85 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 79.88 kB / 462.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1883, allocations: 51.21 MB / 0.5016 GB, free: 40.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006308/0.1946, allocations: 6.85 MB / 0.5083 GB, free: 34.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004336/0.199, allocations: 3.982 MB / 0.5122 GB, free: 30.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.1994, allocations: 23.94 kB / 0.5122 GB, free: 30.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.2012, allocations: 1.081 MB / 0.5132 GB, free: 29.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.2023, allocations: 0.7971 MB / 0.514 GB, free: 28.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.2036, allocations: 0.5613 MB / 0.5146 GB, free: 27.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007315/0.2043, allocations: 1.331 MB / 0.5159 GB, free: 26.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008589/0.2052, allocations: 0.8398 MB / 0.5167 GB, free: 25.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.2055, allocations: 0.5095 MB / 0.5172 GB, free: 25.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008672/0.2142, allocations: 0.6378 MB / 0.5178 GB, free: 24.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.2144, allocations: 87.94 kB / 0.5179 GB, free: 24.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.215, allocations: 379.6 kB / 0.5183 GB, free: 24.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.2151, allocations: 239 kB / 0.5185 GB, free: 23.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.2155, allocations: 0.575 MB / 0.519 GB, free: 23.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009621/0.2165, allocations: 1.69 MB / 0.5207 GB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2165, allocations: 3.938 kB / 0.5207 GB, free: 21.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2165, allocations: 0 / 0.5207 GB, free: 21.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2165, allocations: 3.938 kB / 0.5207 GB, free: 21.64 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003072/0.2196, allocations: 1.806 MB / 0.5225 GB, free: 19.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2196, allocations: 8.875 kB / 0.5225 GB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.2214, allocations: 383.1 kB / 0.5228 GB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.2227, allocations: 0.7893 MB / 0.5236 GB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.2228, allocations: 78 kB / 0.5237 GB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.2229, allocations: 111.9 kB / 0.5238 GB, free: 18.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.2244, allocations: 1.138 MB / 0.5249 GB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.2244, allocations: 0 / 0.5249 GB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.2245, allocations: 44 kB / 0.5249 GB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2245, allocations: 24 kB / 0.525 GB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.2261, allocations: 0.9447 MB / 0.5259 GB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.2304, allocations: 4.341 MB / 0.5301 GB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.2323, allocations: 1.676 MB / 0.5318 GB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.2329, allocations: 312 kB / 0.5321 GB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.2329, allocations: 93.53 kB / 0.5321 GB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006289/0.2336, allocations: 466.5 kB / 0.5326 GB, free: 8.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.883e-06/0.2336, allocations: 0 / 0.5326 GB, free: 8.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.004843/0.2384, allocations: 1.541 MB / 0.5341 GB, free: 7.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2385, allocations: 277.6 kB / 0.5344 GB, free: 6.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.2391, allocations: 0.6643 MB / 0.535 GB, free: 6.223 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.2391, allocations: 37.7 kB / 0.535 GB, free: 6.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.2393, allocations: 0.5179 MB / 0.5356 GB, free: 5.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2394, allocations: 217 kB / 0.5358 GB, free: 5.438 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.2396, allocations: 186.4 kB / 0.5359 GB, free: 5.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.2397, allocations: 386.8 kB / 0.5363 GB, free: 4.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.2402, allocations: 281.8 kB / 0.5366 GB, free: 4.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.2408, allocations: 0.5365 MB / 0.5371 GB, free: 3.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2419, allocations: 0.9138 MB / 0.538 GB, free: 2.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.242, allocations: 7.938 kB / 0.538 GB, free: 2.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001706/0.2437, allocations: 1.079 MB / 0.5391 GB, free: 1.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.2437, allocations: 59.41 kB / 0.5391 GB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2437, allocations: 8 kB / 0.5391 GB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/0.2441, allocations: 93.06 kB / 0.5392 GB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.2449, allocations: 215.6 kB / 0.5394 GB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.2459, allocations: 1.471 MB / 0.5408 GB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.2465, allocations: 115.1 kB / 0.541 GB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.2466, allocations: 47.97 kB / 0.541 GB, free: 15.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.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 (117): * Single equations (assignments): 114 * 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.0003317/0.247, allocations: 327.6 kB / 0.5413 GB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2471, allocations: 83.05 kB / 0.5414 GB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.2488, allocations: 0.9246 MB / 0.5423 GB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2489, allocations: 8 kB / 0.5423 GB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.2489, allocations: 3.938 kB / 0.5423 GB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2489, allocations: 3.984 kB / 0.5423 GB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/0.2542, allocations: 2.206 MB / 0.5445 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2542, allocations: 0 / 0.5445 GB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.2545, allocations: 87.89 kB / 0.5446 GB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000733/0.2553, allocations: 330.2 kB / 0.5449 GB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.2553, allocations: 36.03 kB / 0.5449 GB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.2565, allocations: 0.8857 MB / 0.5458 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2565, allocations: 4.031 kB / 0.5458 GB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.2695, allocations: 5.435 MB / 0.5511 GB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.2697, allocations: 219.9 kB / 0.5513 GB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.2699, allocations: 20 kB / 0.5513 GB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.2704, allocations: 47.95 kB / 0.5514 GB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.2705, allocations: 40.38 kB / 0.5514 GB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.2705, allocations: 24.05 kB / 0.5514 GB, free: 4.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004916/0.271, allocations: 471 kB / 0.5519 GB, free: 4.113 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.271, allocations: 0 / 0.5519 GB, free: 4.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009128/0.272, allocations: 399 kB / 0.5522 GB, free: 3.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001174/0.2731, allocations: 0.6564 MB / 0.5529 GB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.2747, allocations: 0.9628 MB / 0.5538 GB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2747, allocations: 1.438 kB / 0.5538 GB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007596/0.2755, allocations: 485.2 kB / 0.5543 GB, free: 1.805 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.2763, allocations: 158.4 kB / 0.5544 GB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.2793, allocations: 2.581 MB / 0.557 GB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.2797, allocations: 1.026 MB / 0.558 GB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.2802, allocations: 130.4 kB / 0.5581 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.2805, allocations: 79.39 kB / 0.5582 GB, free: 13.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2805, allocations: 4 kB / 0.5582 GB, free: 13.74 MB / 346.7 MB Notification: Performance of Templates: time 0.0188/0.2993, allocations: 13.64 MB / 0.5715 GB, free: 188 kB / 346.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)