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.001044/0.001044, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002063/0.002063, allocations: 165 kB / 23.01 MB, free: 1.555 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.01738/0.01738, allocations: 4.221 MB / 264.2 MB, free: 8.93 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.322e-06/1.322e-06, allocations: 3.938 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.961e-05/4.094e-05, allocations: 6.312 kB / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.004512/0.004553, allocations: 5.061 MB / 344.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.006944, allocations: 1.846 MB / 346 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.007236, allocations: 8 kB / 346 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.007749, allocations: 281.9 kB / 346.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004673/0.008217, allocations: 329.5 kB / 346.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.00864, allocations: 327.2 kB / 346.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.00936, allocations: 1.137 MB / 348 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.009683, allocations: 291.4 kB / 348.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005114/0.01019, allocations: 0.6472 MB / 349 MB, free: 280 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.0106, allocations: 454.7 kB / 349.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.01071, allocations: 112 kB / 349.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.01092, allocations: 187.9 kB / 349.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01105, allocations: 235.2 kB / 349.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.0113, allocations: 355.1 kB / 350.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.012, allocations: 0.7823 MB / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.012, allocations: 0 / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.012, allocations: 0 / 351.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.01201, allocations: 0 / 351.1 MB, free: 14.17 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.00183/0.01384, allocations: 1.313 MB / 352.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.01389, allocations: 12.03 kB / 352.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.01413, allocations: 160.3 kB / 352.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008882/0.01502, allocations: 0.5727 MB / 353.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.01507, allocations: 61.94 kB / 353.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.01516, allocations: 79.95 kB / 353.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.01601, allocations: 0.7507 MB / 354 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.01603, allocations: 0 / 354 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.01608, allocations: 32 kB / 354 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.0161, allocations: 16 kB / 354.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.01664, allocations: 411 kB / 354.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.01915, allocations: 2.577 MB / 357 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.0199, allocations: 464.8 kB / 357.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.02015, allocations: 200.4 kB / 357.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.923e-05/0.02024, allocations: 12.38 kB / 357.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.02062, allocations: 429.6 kB / 358.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 1.623e-06/0.02062, allocations: 0 / 358.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.001256/0.02188, allocations: 0.8636 MB / 359 MB, free: 5.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.02197, allocations: 204.4 kB / 359.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.02232, allocations: 482.5 kB / 359.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.02236, allocations: 37.7 kB / 359.7 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.02257, allocations: 423.1 kB / 360.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.02268, allocations: 186.4 kB / 360.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.02285, allocations: 152.2 kB / 360.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.02303, allocations: 0.5352 MB / 361 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.02324, allocations: 181.3 kB / 361.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.02355, allocations: 384.2 kB / 361.5 MB, free: 3.113 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.001103/0.02465, allocations: 0.9129 MB / 362.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.02465, allocations: 4 kB / 362.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009318/0.02559, allocations: 0.741 MB / 363.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.02564, allocations: 63.92 kB / 363.2 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.02565, allocations: 4 kB / 363.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.02591, allocations: 91.61 kB / 363.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.02633, allocations: 163.8 kB / 363.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.02751, allocations: 1.959 MB / 365.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.02776, allocations: 63.61 kB / 365.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.0278, allocations: 43.91 kB / 365.6 MB, free: 14.79 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,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,converter.integrator.local_reset) * 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.000238/0.02804, allocations: 284.2 kB / 365.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.02813, allocations: 79.62 kB / 365.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009097/0.02904, allocations: 0.8264 MB / 366.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.02905, allocations: 8 kB / 366.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02905, allocations: 0 / 366.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.02906, allocations: 15.84 kB / 366.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.03054, allocations: 1.427 MB / 368.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03054, allocations: 0 / 368.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.03078, allocations: 99.83 kB / 368.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/0.03105, allocations: 215 kB / 368.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.03109, allocations: 19.98 kB / 368.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005363/0.03162, allocations: 1.051 MB / 369.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.03163, allocations: 3.938 kB / 369.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.03276, allocations: 1.142 MB / 370.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.03293, allocations: 119.4 kB / 370.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.03299, allocations: 31.91 kB / 370.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.03321, allocations: 35.97 kB / 370.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.03329, allocations: 44.42 kB / 370.9 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.03332, allocations: 31.97 kB / 371 MB, free: 9.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.03354, allocations: 314.8 kB / 371.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03354, allocations: 0 / 371.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.03395, allocations: 231.5 kB / 371.5 MB, free: 8.559 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.0001854/0.03414, allocations: 163.1 kB / 371.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008198/0.03496, allocations: 0.848 MB / 372.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03496, allocations: 256 / 372.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.03534, allocations: 430 kB / 372.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.03577, allocations: 129.7 kB / 373.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.03755, allocations: 1.321 MB / 374.4 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.561e-05/0.03764, allocations: 150.9 kB / 374.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.03785, allocations: 92.88 kB / 374.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.03799, allocations: 72.45 kB / 374.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of SimCode: time 1.483e-06/0.038, allocations: 0 / 374.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of Templates: time 0.01214/0.05014, allocations: 9.039 MB / 383.7 MB, free: 12.25 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.280860100872815]