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.001094/0.001094, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.00258, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001048/0.001048, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.00236, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9914/0.9914, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0799/1.071, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.01812/0.01812, allocations: 4.323 MB / 248.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003312/0.02143, allocations: 1.699 MB / 250 MB, free: 8.973 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.303e-06/1.303e-06, allocations: 0 / 251.3 MB, free: 7.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.056e-05, allocations: 5.828 kB / 251.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.004707/0.004727, allocations: 5.204 MB / 256.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.007516, allocations: 2.014 MB / 258.5 MB, free: 396 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.007911, allocations: 15.94 kB / 258.5 MB, free: 380 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.008551, allocations: 333.8 kB / 258.9 MB, free: 44 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.009334, allocations: 337.4 kB / 259.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.00991, allocations: 347.2 kB / 259.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009793/0.01089, allocations: 1.204 MB / 260.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.0113, allocations: 307.4 kB / 261 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.01213, allocations: 0.7942 MB / 261.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.01257, allocations: 466.7 kB / 262.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.01275, allocations: 108 kB / 262.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.01298, allocations: 195.9 kB / 262.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.01309, allocations: 171.4 kB / 262.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.01332, allocations: 279.5 kB / 263 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.01407, allocations: 0.7239 MB / 263.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.01409, allocations: 0 / 263.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01409, allocations: 0 / 263.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.01411, allocations: 0 / 263.7 MB, free: 11.12 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001833/0.01594, allocations: 1.395 MB / 265.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.01599, allocations: 15.98 kB / 265.2 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.01614, allocations: 131.9 kB / 265.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.01675, allocations: 420.4 kB / 265.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.0168, allocations: 58 kB / 265.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.01687, allocations: 76 kB / 265.8 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.01755, allocations: 0.73 MB / 266.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.01757, allocations: 7.938 kB / 266.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.01761, allocations: 32 kB / 266.6 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.01762, allocations: 20 kB / 266.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.01802, allocations: 329.1 kB / 266.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.02091, allocations: 2.022 MB / 269 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.02474, allocations: 424.8 kB / 269.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.02496, allocations: 181.6 kB / 269.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.982e-05/0.02503, allocations: 16.5 kB / 269.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.02542, allocations: 429.4 kB / 270 MB, free: 4.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 2.826e-06/0.02542, allocations: 0 / 270 MB, free: 4.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001148/0.02657, allocations: 0.6978 MB / 270.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.02665, allocations: 204.4 kB / 270.9 MB, free: 3.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.03015, allocations: 435 kB / 271.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.03019, allocations: 45.69 kB / 271.4 MB, free: 3.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.03038, allocations: 341.2 kB / 271.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.03052, allocations: 202.3 kB / 271.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.0307, allocations: 146.5 kB / 272 MB, free: 2.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.03082, allocations: 378.6 kB / 272.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.031, allocations: 149.3 kB / 272.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.03125, allocations: 315.8 kB / 272.9 MB, free: 1.469 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.03174, allocations: 0.5124 MB / 273.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.03174, allocations: 4 kB / 273.4 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008301/0.03257, allocations: 0.5752 MB / 273.9 MB, free: 256 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.03263, allocations: 67.39 kB / 274 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.03264, allocations: 8 kB / 274 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00328/0.03592, allocations: 84.7 kB / 274.1 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1513/0.1872, allocations: 213.1 kB / 274.3 MB, free: 17.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008297/0.188, allocations: 1.372 MB / 275.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.1884, allocations: 71.77 kB / 275.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.1885, allocations: 33.36 kB / 275.8 MB, free: 15.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (91): * Single equations (assignments): 88 * 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.0002576/0.1887, allocations: 223.5 kB / 276 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/0.1888, allocations: 64.91 kB / 276.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.1896, allocations: 0.6992 MB / 276.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1896, allocations: 7.375 kB / 276.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1896, allocations: 2.594 kB / 276.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1896, allocations: 3.234 kB / 276.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.1908, allocations: 1.06 MB / 277.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1908, allocations: 1.094 kB / 277.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.1912, allocations: 147.8 kB / 278 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.1913, allocations: 93.56 kB / 278.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.1916, allocations: 272.3 kB / 278.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.1916, allocations: 28.44 kB / 278.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003061/0.1919, allocations: 0.7386 MB / 279.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1919, allocations: 1.25 kB / 279.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008472/0.1928, allocations: 0.9234 MB / 280 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.1928, allocations: 19.14 kB / 280 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.1931, allocations: 41.19 kB / 280.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.1931, allocations: 49.59 kB / 280.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.1932, allocations: 28.36 kB / 280.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1933, allocations: 198.8 kB / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1933, allocations: 0 / 280.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.1938, allocations: 253.6 kB / 280.6 MB, free: 14.12 MB / 266.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 (66): * Single equations (assignments): 64 * 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.000158/0.194, allocations: 138.4 kB / 280.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.1946, allocations: 0.7607 MB / 281.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.1946, allocations: 12.14 kB / 281.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.1949, allocations: 416.2 kB / 281.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1953, allocations: 211.7 kB / 282.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.1996, allocations: 1.454 MB / 283.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.1997, allocations: 167 kB / 283.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002492/0.2, allocations: 92.81 kB / 283.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.2003, allocations: 211 kB / 284 MB, free: 12.62 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2003, allocations: 0 / 284 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.01232/0.2126, allocations: 11.32 MB / 295.4 MB, free: 7.141 MB / 266.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: 3.694341371767223]