Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_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_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04094/0.04094, allocations: 5.388 MB / 21.56 MB, free: 1.207 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.001523/0.001523, allocations: 110 kB / 23.55 MB, free: 0.875 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.002039/0.002039, allocations: 201.1 kB / 25.68 MB, free: 4.801 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.359/1.359, allocations: 222.9 MB / 250.6 MB, free: 8.531 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01019/0.01019, allocations: 2.318 MB / 304.2 MB, free: 6.574 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 95.84 kB / 367.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2053, allocations: 51.21 MB / 419 MB, free: 26.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808): time 0.006294/0.2117, allocations: 6.755 MB / 425.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004532/0.2162, allocations: 3.135 MB / 428.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008969/0.2172, allocations: 20 kB / 429 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.2196, allocations: 1.107 MB / 430.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.2215, allocations: 0.8351 MB / 430.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.223, allocations: 0.5393 MB / 431.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.2244, allocations: 1.375 MB / 432.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.2255, allocations: 1.032 MB / 433.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.2261, allocations: 0.5566 MB / 434.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00064/0.2267, allocations: 0.7121 MB / 435.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.2269, allocations: 144 kB / 435.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.2276, allocations: 431.7 kB / 435.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.2278, allocations: 295 kB / 436 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.2282, allocations: 0.6337 MB / 436.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.2296, allocations: 1.725 MB / 438.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2296, allocations: 0 / 438.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2296, allocations: 0 / 438.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.2296, allocations: 3.938 kB / 438.3 MB, free: 7.215 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003783/0.2334, allocations: 1.763 MB / 440.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2335, allocations: 15.97 kB / 440.1 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.2356, allocations: 367.3 kB / 440.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.2371, allocations: 0.76 MB / 441.2 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.2371, allocations: 78.06 kB / 441.3 MB, free: 4.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2373, allocations: 111.9 kB / 441.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.2391, allocations: 1.176 MB / 442.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.2391, allocations: 0 / 442.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.2392, allocations: 44 kB / 442.6 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2392, allocations: 28 kB / 442.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.2412, allocations: 1.034 MB / 443.7 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/0.2471, allocations: 4.407 MB / 448.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.2503, allocations: 1.772 MB / 449.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.2511, allocations: 369.3 kB / 450.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.2513, allocations: 174.8 kB / 450.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.2523, allocations: 0.5552 MB / 451 MB, free: 9.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 4.078e-06/0.2523, allocations: 0 / 451 MB, free: 9.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.006382/0.2587, allocations: 1.709 MB / 452.7 MB, free: 8.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.2589, allocations: 285.6 kB / 452.9 MB, free: 7.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000733/0.2596, allocations: 0.5536 MB / 453.5 MB, free: 7.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/0.2597, allocations: 41.7 kB / 453.5 MB, free: 7.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.2601, allocations: 490.6 kB / 454 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.2603, allocations: 256.4 kB / 454.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.2606, allocations: 218.7 kB / 454.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2608, allocations: 378.8 kB / 454.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.2616, allocations: 326.4 kB / 455.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009269/0.2625, allocations: 0.5604 MB / 455.7 MB, free: 4.895 MB / 318.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/0.2807, allocations: 3.642 MB / 459.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.2807, allocations: 4 kB / 459.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002699/0.2834, allocations: 1.205 MB / 460.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/0.2835, allocations: 93.09 kB / 460.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.2836, allocations: 8 kB / 460.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.2841, allocations: 89.03 kB / 460.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.2852, allocations: 255.5 kB / 461 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.2868, allocations: 1.578 MB / 462.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000968/0.2877, allocations: 111.2 kB / 462.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/0.2878, allocations: 59.94 kB / 462.8 MB, free: 13.5 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 27 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,writeCSV.sampleTrigger,$whenCondition4,mpTracker.sampleTrigger,$whenCondition1,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,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 (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 3 * 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.0005873/0.2884, allocations: 369.2 kB / 463.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.2886, allocations: 79 kB / 463.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.2913, allocations: 1.257 MB / 464.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.2913, allocations: 8 kB / 464.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2913, allocations: 0 / 464.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2913, allocations: 11.97 kB / 464.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00659/0.2979, allocations: 2.555 MB / 467 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.2979, allocations: 4 kB / 467 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.2986, allocations: 131.8 kB / 467.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008222/0.2994, allocations: 330.3 kB / 467.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.2995, allocations: 31.97 kB / 467.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.3009, allocations: 0.8974 MB / 468.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3009, allocations: 0 / 468.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.307, allocations: 1.927 MB / 470.3 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.3075, allocations: 235.8 kB / 470.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.3077, allocations: 24 kB / 470.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.3085, allocations: 51.95 kB / 470.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.3086, allocations: 56.58 kB / 470.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.3087, allocations: 39.97 kB / 470.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005291/0.3092, allocations: 394.8 kB / 471.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3092, allocations: 0 / 471.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001167/0.3104, allocations: 347 kB / 471.5 MB, free: 4.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.integrator.y,integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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.0007857/0.3112, allocations: 359.5 kB / 471.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.314, allocations: 1.188 MB / 473 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.314, allocations: 0 / 473 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3152, allocations: 0.6636 MB / 473.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.3161, allocations: 149 kB / 473.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.3197, allocations: 1.829 MB / 475.6 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.3206, allocations: 1.018 MB / 476.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.3209, allocations: 91.38 kB / 476.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3209, allocations: 0 / 476.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Templates: time 0.02565/0.3465, allocations: 17.2 MB / 493.9 MB, free: 13.98 MB / 366.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe 2>&1)