Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02787/0.02787, allocations: 5.38 MB / 20.34 MB, free: 1.441 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.0008904/0.0008904, allocations: 109.7 kB / 22.32 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 172.3 kB / 24.39 MB, free: 1.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 249.5 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008244/0.008244, allocations: 2.316 MB / 304.1 MB, free: 4.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004403, allocations: 12 kB / 371.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 52.2 MB / 423.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016): time 0.197/0.3, allocations: 5.554 MB / 429.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005758/0.3058, allocations: 2.877 MB / 432.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000948/0.3068, allocations: 15.12 kB / 432.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.308, allocations: 343.5 kB / 432.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.3101, allocations: 0.7381 MB / 433.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.3114, allocations: 405.8 kB / 433.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.3127, allocations: 0.8587 MB / 434.5 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.3149, allocations: 1.218 MB / 435.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007583/0.3156, allocations: 443.3 kB / 436.1 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006776/0.3163, allocations: 0.5744 MB / 436.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3165, allocations: 59.12 kB / 436.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007145/0.3172, allocations: 296.3 kB / 437 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3173, allocations: 192.6 kB / 437.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.3176, allocations: 223.5 kB / 437.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3186, allocations: 1.281 MB / 438.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3186, allocations: 0 / 438.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3186, allocations: 7.781 kB / 438.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3187, allocations: 4 kB / 438.7 MB, free: 36.77 MB / 350.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.00342/0.3221, allocations: 1.549 MB / 440.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3221, allocations: 6.594 kB / 440.3 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.3241, allocations: 374.7 kB / 440.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.3256, allocations: 0.7428 MB / 441.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.3256, allocations: 79.84 kB / 441.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3258, allocations: 120.8 kB / 441.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.3276, allocations: 1.16 MB / 442.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.3276, allocations: 0 / 442.7 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.3277, allocations: 45.38 kB / 442.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.3278, allocations: 25.91 kB / 442.8 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.3296, allocations: 1.041 MB / 443.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.3351, allocations: 4.41 MB / 448.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/0.3376, allocations: 1.778 MB / 450 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.3377, allocations: 184 kB / 450.2 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009145/0.3387, allocations: 0.5549 MB / 450.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.284e-06/0.3387, allocations: 0 / 450.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005385/0.3441, allocations: 1.9 MB / 452.7 MB, free: 29.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.3442, allocations: 277.5 kB / 453 MB, free: 29.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.3448, allocations: 0.5576 MB / 453.5 MB, free: 29.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.3449, allocations: 40.8 kB / 453.5 MB, free: 29.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.3451, allocations: 495.7 kB / 454 MB, free: 28.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.3453, allocations: 253.1 kB / 454.3 MB, free: 28.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.3454, allocations: 25.19 kB / 454.3 MB, free: 28.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.3455, allocations: 383.2 kB / 454.7 MB, free: 28.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.3461, allocations: 332.7 kB / 455 MB, free: 28.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.3468, allocations: 0.5574 MB / 455.6 MB, free: 27.8 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) (/*Real*/(PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/0.3612, allocations: 2.813 MB / 458.4 MB, free: 27.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.3612, allocations: 3.031 kB / 458.4 MB, free: 27.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002325/0.3636, allocations: 1.213 MB / 459.6 MB, free: 26.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.3636, allocations: 94.19 kB / 459.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3636, allocations: 6.375 kB / 459.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.3641, allocations: 87.66 kB / 459.8 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.3651, allocations: 254.8 kB / 460 MB, free: 26.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3663, allocations: 1.485 MB / 461.5 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009205/0.3672, allocations: 123.5 kB / 461.6 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.3673, allocations: 51.11 kB / 461.7 MB, free: 24.95 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005393/0.3678, allocations: 366 kB / 462 MB, free: 24.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.368, allocations: 80.36 kB / 462.1 MB, free: 24.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.3703, allocations: 1.268 MB / 463.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3703, allocations: 10.97 kB / 463.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3703, allocations: 0 / 463.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3704, allocations: 7.562 kB / 463.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.3738, allocations: 2.282 MB / 465.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3738, allocations: 0 / 465.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.3743, allocations: 137.3 kB / 465.8 MB, free: 22.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006664/0.375, allocations: 338.2 kB / 466.1 MB, free: 22.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.375, allocations: 34.94 kB / 466.2 MB, free: 22.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.3761, allocations: 0.9025 MB / 467.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3761, allocations: 4.062 kB / 467.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.3787, allocations: 1.672 MB / 468.8 MB, free: 21.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.3791, allocations: 236.4 kB / 469 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3792, allocations: 24.16 kB / 469 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.3798, allocations: 66.58 kB / 469.1 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.38, allocations: 59.92 kB / 469.1 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.38, allocations: 42.83 kB / 469.2 MB, free: 21.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004861/0.3805, allocations: 391.3 kB / 469.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3805, allocations: 0 / 469.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001002/0.3815, allocations: 341.4 kB / 469.9 MB, free: 20.76 MB / 350.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 (writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger,irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006287/0.3822, allocations: 355.6 kB / 470.2 MB, free: 20.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.384, allocations: 1.153 MB / 471.4 MB, free: 20.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.384, allocations: 4.062 kB / 471.4 MB, free: 20.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009106/0.3849, allocations: 0.6596 MB / 472.1 MB, free: 19.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.3855, allocations: 115 kB / 472.2 MB, free: 19.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.3886, allocations: 2.225 MB / 474.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.3891, allocations: 1.033 MB / 475.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.3896, allocations: 128.8 kB / 475.6 MB, free: 17.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.3898, allocations: 84.23 kB / 475.6 MB, free: 17.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3899, allocations: 3.938 kB / 475.6 MB, free: 17.47 MB / 350.1 MB Notification: Performance of Templates: time 0.02182/0.4117, allocations: 11.66 MB / 487.3 MB, free: 15.03 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe 2>&1) Environment - environmentSimulation: