Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 183.4 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.172/1.172, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.0009524/0.0009524, allocations: 114.9 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.02403/0.02403, allocations: 5.404 MB / 345.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008115/0.008115, allocations: 2.31 MB / 399 MB, free: 68.83 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 83.88 kB / 462.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1957, allocations: 51.21 MB / 0.5016 GB, free: 40.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.005919/0.2016, allocations: 6.848 MB / 0.5083 GB, free: 34.4 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.206, allocations: 3.99 MB / 0.5122 GB, free: 30.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.2066, allocations: 23.94 kB / 0.5122 GB, free: 30.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.2085, allocations: 1.078 MB / 0.5132 GB, free: 29.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.2099, allocations: 0.7955 MB / 0.514 GB, free: 28.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.2114, allocations: 0.5597 MB / 0.5146 GB, free: 27.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008947/0.2123, allocations: 1.331 MB / 0.5159 GB, free: 26.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009162/0.2132, allocations: 0.8398 MB / 0.5167 GB, free: 25.74 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.2136, allocations: 0.5095 MB / 0.5172 GB, free: 25.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.2141, allocations: 0.6456 MB / 0.5178 GB, free: 24.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.2142, allocations: 87.94 kB / 0.5179 GB, free: 24.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005586/0.2148, allocations: 367.7 kB / 0.5182 GB, free: 24.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.215, allocations: 243 kB / 0.5185 GB, free: 23.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.2153, allocations: 0.575 MB / 0.519 GB, free: 23.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.2163, allocations: 1.694 MB / 0.5207 GB, free: 21.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2163, allocations: 3.938 kB / 0.5207 GB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2163, allocations: 3.984 kB / 0.5207 GB, free: 21.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2163, allocations: 3.938 kB / 0.5207 GB, free: 21.61 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.00317/0.2195, allocations: 1.798 MB / 0.5225 GB, free: 19.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2195, allocations: 12.88 kB / 0.5225 GB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.2213, allocations: 379.1 kB / 0.5228 GB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.2227, allocations: 0.797 MB / 0.5236 GB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.2228, allocations: 78 kB / 0.5237 GB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.2229, allocations: 107.9 kB / 0.5238 GB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2244, allocations: 1.13 MB / 0.5249 GB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.2244, allocations: 0 / 0.5249 GB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.2245, allocations: 44 kB / 0.5249 GB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2245, allocations: 24 kB / 0.525 GB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.226, allocations: 0.9524 MB / 0.5259 GB, free: 16.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/0.2303, allocations: 4.342 MB / 0.5301 GB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.2323, allocations: 1.67 MB / 0.5318 GB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.2328, allocations: 317.6 kB / 0.5321 GB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.19e-05/0.2329, allocations: 97.53 kB / 0.5322 GB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.2335, allocations: 458.6 kB / 0.5326 GB, free: 8.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.823e-06/0.2335, allocations: 0 / 0.5326 GB, free: 8.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.004788/0.2383, allocations: 1.544 MB / 0.5341 GB, free: 7.199 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.2384, allocations: 277.6 kB / 0.5344 GB, free: 6.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.239, allocations: 0.6643 MB / 0.535 GB, free: 6.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.239, allocations: 37.7 kB / 0.535 GB, free: 6.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.2392, allocations: 0.514 MB / 0.5356 GB, free: 5.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.2393, allocations: 217 kB / 0.5358 GB, free: 5.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.2395, allocations: 186.4 kB / 0.5359 GB, free: 5.223 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.2396, allocations: 390.7 kB / 0.5363 GB, free: 4.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.2401, allocations: 277.9 kB / 0.5366 GB, free: 4.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.2407, allocations: 0.5403 MB / 0.5371 GB, free: 3.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.2418, allocations: 0.9137 MB / 0.538 GB, free: 2.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2419, allocations: 7.938 kB / 0.538 GB, free: 2.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001706/0.2436, allocations: 1.071 MB / 0.539 GB, free: 1.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.2436, allocations: 59.41 kB / 0.5391 GB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2436, allocations: 11.98 kB / 0.5391 GB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.244, allocations: 89.08 kB / 0.5392 GB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.2448, allocations: 215.6 kB / 0.5394 GB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.2459, allocations: 1.475 MB / 0.5408 GB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/0.2465, allocations: 119.1 kB / 0.541 GB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.2466, allocations: 43.98 kB / 0.541 GB, free: 15.6 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.0003442/0.2469, allocations: 339.5 kB / 0.5413 GB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2471, allocations: 79.06 kB / 0.5414 GB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.2488, allocations: 0.9168 MB / 0.5423 GB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.2488, allocations: 8 kB / 0.5423 GB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.2488, allocations: 3.938 kB / 0.5423 GB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2489, allocations: 3.984 kB / 0.5423 GB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005349/0.2542, allocations: 2.206 MB / 0.5445 GB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2542, allocations: 32 / 0.5445 GB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.2546, allocations: 91.89 kB / 0.5446 GB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/0.2553, allocations: 330.2 kB / 0.5449 GB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.2554, allocations: 27.97 kB / 0.5449 GB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.2565, allocations: 0.8819 MB / 0.5458 GB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2565, allocations: 7.969 kB / 0.5458 GB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.2695, allocations: 5.437 MB / 0.5511 GB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.2698, allocations: 219.9 kB / 0.5513 GB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.2699, allocations: 27.98 kB / 0.5513 GB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.2705, allocations: 43.97 kB / 0.5514 GB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.2706, allocations: 40.38 kB / 0.5514 GB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.2706, allocations: 23.98 kB / 0.5514 GB, free: 4.543 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004941/0.2711, allocations: 467 kB / 0.5519 GB, free: 4.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2711, allocations: 4 kB / 0.5519 GB, free: 4.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009786/0.2721, allocations: 399 kB / 0.5522 GB, free: 3.695 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.001199/0.2733, allocations: 0.6618 MB / 0.5529 GB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.2749, allocations: 0.9551 MB / 0.5538 GB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.275, allocations: 0 / 0.5538 GB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007655/0.2757, allocations: 486.7 kB / 0.5543 GB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.2765, allocations: 157.4 kB / 0.5544 GB, free: 1.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.2797, allocations: 2.6 MB / 0.557 GB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.2802, allocations: 1.026 MB / 0.558 GB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000478/0.2807, allocations: 122.4 kB / 0.5581 GB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.281, allocations: 83.38 kB / 0.5582 GB, free: 13.71 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.281, allocations: 0 / 0.5582 GB, free: 13.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01907/0.3, allocations: 13.63 MB / 0.5715 GB, free: 164 kB / 346.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)