Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.04814/0.04814, allocations: 4.222 MB / 264.5 MB, free: 8.746 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 339.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.528e-05, allocations: 8.562 kB / 339.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.004023/0.004049, allocations: 5.004 MB / 344.6 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.006391, allocations: 1.83 MB / 346.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.006719, allocations: 11.94 kB / 346.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.007212, allocations: 281.9 kB / 346.7 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.007683, allocations: 325.5 kB / 347 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.008087, allocations: 327.3 kB / 347.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.008734, allocations: 1.137 MB / 348.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003147/0.009049, allocations: 291.4 kB / 348.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006405/0.00969, allocations: 0.6626 MB / 349.4 MB, free: 16 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.0102, allocations: 434.8 kB / 349.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.0103, allocations: 104 kB / 349.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.01049, allocations: 183.9 kB / 350.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.01062, allocations: 223.1 kB / 350.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.01088, allocations: 347.1 kB / 350.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.01151, allocations: 0.7667 MB / 351.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01152, allocations: 0 / 351.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01152, allocations: 0 / 351.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.01152, allocations: 0 / 351.4 MB, free: 13.98 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.001523/0.01305, allocations: 1.298 MB / 352.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.01308, allocations: 8.031 kB / 352.7 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.01325, allocations: 156.3 kB / 352.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.01382, allocations: 0.4922 MB / 353.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.01387, allocations: 61.92 kB / 353.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.01395, allocations: 72 kB / 353.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.01464, allocations: 0.7154 MB / 354.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.01466, allocations: 0 / 354.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.0147, allocations: 32 kB / 354.2 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.01472, allocations: 20 kB / 354.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.01509, allocations: 345 kB / 354.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.01747, allocations: 2.543 MB / 357.1 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.01805, allocations: 436.8 kB / 357.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.01823, allocations: 180.4 kB / 357.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/0.01829, allocations: 20.34 kB / 357.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.0186, allocations: 413.5 kB / 358.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 1.824e-06/0.0186, allocations: 0 / 358.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.001139/0.01974, allocations: 0.8245 MB / 359 MB, free: 5.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.01981, allocations: 200.4 kB / 359.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.0201, allocations: 482.3 kB / 359.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.02013, allocations: 37.7 kB / 359.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.02033, allocations: 431 kB / 360.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.02043, allocations: 182.5 kB / 360.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.02059, allocations: 160.1 kB / 360.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.02073, allocations: 0.5429 MB / 361 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.02088, allocations: 157.3 kB / 361.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.02111, allocations: 356.2 kB / 361.5 MB, free: 3.301 MB / 282.7 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.0009831/0.02209, allocations: 0.8308 MB / 362.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.0221, allocations: 4 kB / 362.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007636/0.02286, allocations: 0.7019 MB / 363 MB, free: 1.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.0229, allocations: 67.33 kB / 363.1 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.02291, allocations: 7.984 kB / 363.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.02312, allocations: 84.14 kB / 363.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.02351, allocations: 175.7 kB / 363.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.02458, allocations: 1.949 MB / 365.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.02484, allocations: 71.55 kB / 365.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.02488, allocations: 31.97 kB / 365.4 MB, free: 15.11 MB / 298.7 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: 18 * Number of states: 0 () * Number of discrete variables: 22 (irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,converter.integrator.local_reset,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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.0002273/0.02511, allocations: 278.3 kB / 365.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.02519, allocations: 87.62 kB / 365.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008006/0.026, allocations: 0.7912 MB / 366.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.026, allocations: 8 kB / 366.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.026, allocations: 0 / 366.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02601, allocations: 3.984 kB / 366.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.0273, allocations: 1.322 MB / 367.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02731, allocations: 0 / 367.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.02755, allocations: 107.8 kB / 368 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.02781, allocations: 254.8 kB / 368.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.02784, allocations: 23.97 kB / 368.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006743/0.02852, allocations: 1.043 MB / 369.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02852, allocations: 4 kB / 369.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.02951, allocations: 1.095 MB / 370.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.02967, allocations: 135.3 kB / 370.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.02973, allocations: 16 kB / 370.6 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.02994, allocations: 36.02 kB / 370.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.03001, allocations: 52.34 kB / 370.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.03005, allocations: 27.97 kB / 370.7 MB, free: 9.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.03023, allocations: 302.7 kB / 371 MB, free: 9.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03023, allocations: 0 / 371 MB, free: 9.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.03066, allocations: 239.5 kB / 371.2 MB, free: 9.039 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.integrator.y,battery.energy,battery.capacitor.v) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 13 (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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.03086, allocations: 167.1 kB / 371.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007103/0.03157, allocations: 0.8003 MB / 372.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03157, allocations: 1.062 kB / 372.2 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.03188, allocations: 414 kB / 372.6 MB, free: 7.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.0323, allocations: 133.8 kB / 372.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.03386, allocations: 1.298 MB / 374 MB, free: 6.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.03395, allocations: 150.8 kB / 374.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.03414, allocations: 88.78 kB / 374.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.03445, allocations: 226.1 kB / 374.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03445, allocations: 3.938 kB / 374.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of Templates: time 0.01301/0.04747, allocations: 10.31 MB / 384.8 MB, free: 11.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.231495900079608]