Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.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_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02879/0.02879, allocations: 5.4 MB / 21.66 MB, free: 1.203 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.001061/0.001061, allocations: 111.5 kB / 23.66 MB, free: 0.75 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.001166/0.001166, allocations: 196.2 kB / 25.78 MB, free: 4.527 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.219/1.219, allocations: 222.9 MB / 250.7 MB, free: 8.465 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009014/0.009014, allocations: 2.318 MB / 304.3 MB, free: 6.508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 92.27 kB / 368.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.184, allocations: 51.21 MB / 419.8 MB, free: 26.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006323/0.1903, allocations: 6.885 MB / 426.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005219/0.1956, allocations: 4.025 MB / 430.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.1967, allocations: 23.94 kB / 430.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.1993, allocations: 1.169 MB / 431.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.2013, allocations: 0.8817 MB / 432.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.203, allocations: 0.6115 MB / 433.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.2046, allocations: 1.409 MB / 434.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.206, allocations: 1.009 MB / 435.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007162/0.2067, allocations: 0.572 MB / 436.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008749/0.2076, allocations: 0.6769 MB / 437.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.2079, allocations: 140 kB / 437.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008924/0.2088, allocations: 431.7 kB / 437.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.2091, allocations: 302.9 kB / 437.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006693/0.2097, allocations: 0.6336 MB / 438.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.2116, allocations: 1.764 MB / 440.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2116, allocations: 0 / 440.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2116, allocations: 0 / 440.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.434e-05/0.2117, allocations: 0 / 440.3 MB, free: 5.68 MB / 302.1 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.004059/0.2158, allocations: 1.802 MB / 442.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2158, allocations: 12.03 kB / 442.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.2179, allocations: 379.1 kB / 442.5 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.2197, allocations: 0.801 MB / 443.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.2197, allocations: 82 kB / 443.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.2199, allocations: 107.9 kB / 443.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.2218, allocations: 1.13 MB / 444.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.2219, allocations: 3.938 kB / 444.6 MB, free: 1.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/0.222, allocations: 44 kB / 444.7 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.222, allocations: 24 kB / 444.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.2237, allocations: 0.9525 MB / 445.7 MB, free: 192 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/0.2302, allocations: 4.303 MB / 450 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.2326, allocations: 1.67 MB / 451.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.2333, allocations: 316.6 kB / 451.9 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.2334, allocations: 93.55 kB / 452 MB, free: 9.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007875/0.2342, allocations: 458.6 kB / 452.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 4.649e-06/0.2342, allocations: 0 / 452.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005662/0.2399, allocations: 1.548 MB / 454 MB, free: 7.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.2401, allocations: 281.5 kB / 454.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.2411, allocations: 0.6604 MB / 455 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.2411, allocations: 41.7 kB / 455 MB, free: 6.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.2415, allocations: 0.5179 MB / 455.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.2417, allocations: 213.1 kB / 455.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.242, allocations: 182.4 kB / 455.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2422, allocations: 394.7 kB / 456.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.2428, allocations: 277.8 kB / 456.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.2436, allocations: 0.5404 MB / 457.1 MB, free: 4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.245, allocations: 0.914 MB / 458 MB, free: 2.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.2451, allocations: 3.938 kB / 458 MB, free: 2.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002239/0.2473, allocations: 1.075 MB / 459.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.2474, allocations: 67.39 kB / 459.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2474, allocations: 8 kB / 459.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.2479, allocations: 84.78 kB / 459.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.2488, allocations: 219.8 kB / 459.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.2503, allocations: 1.581 MB / 461.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/0.2511, allocations: 111.2 kB / 461.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/0.2512, allocations: 51.95 kB / 461.2 MB, free: 15.58 MB / 334.1 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.0006363/0.2518, allocations: 327.6 kB / 461.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.2521, allocations: 83 kB / 461.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.2541, allocations: 0.9207 MB / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.2541, allocations: 8 kB / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2541, allocations: 0 / 462.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.2542, allocations: 7.922 kB / 462.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.2601, allocations: 2.211 MB / 464.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.2602, allocations: 4 kB / 464.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.2606, allocations: 87.89 kB / 464.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007991/0.2614, allocations: 326.3 kB / 465.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/0.2615, allocations: 27.97 kB / 465.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.2627, allocations: 0.8896 MB / 466.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2627, allocations: 0 / 466.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.268, allocations: 1.639 MB / 467.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.2685, allocations: 219.9 kB / 467.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.2687, allocations: 20 kB / 468 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006444/0.2694, allocations: 47.97 kB / 468 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.2695, allocations: 44.31 kB / 468 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.2696, allocations: 35.97 kB / 468.1 MB, free: 8.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006671/0.2702, allocations: 459 kB / 468.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2703, allocations: 0 / 468.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001092/0.2714, allocations: 319 kB / 468.8 MB, free: 7.719 MB / 334.1 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.001497/0.2729, allocations: 0.6589 MB / 469.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.2749, allocations: 0.9678 MB / 470.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2749, allocations: 384 / 470.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.2757, allocations: 485.1 kB / 470.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2768, allocations: 177.7 kB / 471.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.28, allocations: 1.702 MB / 472.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/0.2806, allocations: 1.006 MB / 473.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004353/0.281, allocations: 122.4 kB / 473.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2812, allocations: 75.39 kB / 474 MB, free: 2.645 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2812, allocations: 0 / 474 MB, free: 2.645 MB / 334.1 MB Notification: Performance of Templates: time 0.02027/0.3015, allocations: 12.19 MB / 486.2 MB, free: 6.543 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)