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.00129/0.00129, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001355/0.001355, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.02738/0.02738, allocations: 4.221 MB / 263.4 MB, free: 12.6 MB / 254.1 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 2.545e-06/2.545e-06, allocations: 0 / 392.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.127e-05/6.381e-05, allocations: 2.281 kB / 392.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.008788/0.008851, allocations: 4.667 MB / 396.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.01267, allocations: 1.787 MB / 398.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.01334, allocations: 11.94 kB / 398.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.01428, allocations: 274.1 kB / 398.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.0154, allocations: 321.6 kB / 399.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.01623, allocations: 335.2 kB / 399.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.0175, allocations: 1.141 MB / 400.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.01804, allocations: 287.4 kB / 401 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008671/0.0189, allocations: 0.6509 MB / 401.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.01953, allocations: 426.8 kB / 402.1 MB, free: 196 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.01969, allocations: 112 kB / 402.2 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.02001, allocations: 183.9 kB / 402.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.02021, allocations: 231.1 kB / 402.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.02062, allocations: 359.1 kB / 402.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.02196, allocations: 1.235 MB / 404.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.02196, allocations: 3.938 kB / 404.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02196, allocations: 0 / 404.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.02198, allocations: 0 / 404.2 MB, free: 14.08 MB / 334.1 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.003013/0.02499, allocations: 1.237 MB / 405.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.02503, allocations: 8.031 kB / 405.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.02523, allocations: 100.3 kB / 405.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.02665, allocations: 0.5739 MB / 406.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.02672, allocations: 65.81 kB / 406.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.02685, allocations: 75.95 kB / 406.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.02837, allocations: 0.8897 MB / 407.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.02839, allocations: 0 / 407.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.02847, allocations: 32 kB / 407.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.02849, allocations: 16 kB / 407.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.0299, allocations: 0.6552 MB / 407.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.034, allocations: 2.385 MB / 410.2 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.03546, allocations: 0.5402 MB / 410.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.03606, allocations: 269.5 kB / 411 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.03617, allocations: 12.36 kB / 411 MB, free: 6.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000821/0.03699, allocations: 0.4921 MB / 411.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.925e-06/0.037, allocations: 0 / 411.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.003121/0.04012, allocations: 1.119 MB / 412.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.04027, allocations: 200.4 kB / 412.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006036/0.04087, allocations: 457.7 kB / 413.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.04093, allocations: 37.7 kB / 413.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.04123, allocations: 372.4 kB / 413.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.04142, allocations: 190.4 kB / 413.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.04166, allocations: 146.6 kB / 414 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.04185, allocations: 362.8 kB / 414.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/0.04243, allocations: 277.3 kB / 414.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.0431, allocations: 417.2 kB / 415 MB, free: 2.684 MB / 334.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.01542/0.05852, allocations: 2.88 MB / 417.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.05853, allocations: 0 / 417.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002068/0.0606, allocations: 0.8831 MB / 418.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.06066, allocations: 63.39 kB / 418.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.06067, allocations: 4 kB / 418.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.06114, allocations: 80.77 kB / 418.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008467/0.06199, allocations: 175.8 kB / 419.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.06363, allocations: 1.44 MB / 420.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.06432, allocations: 71.55 kB / 420.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.06439, allocations: 39.91 kB / 420.7 MB, free: 12.8 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 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.0005091/0.0649, allocations: 286.7 kB / 420.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.06502, allocations: 63.62 kB / 421 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.06714, allocations: 0.9994 MB / 422 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.06715, allocations: 8 kB / 422 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.06715, allocations: 3.938 kB / 422 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.06716, allocations: 3.938 kB / 422 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.07026, allocations: 1.559 MB / 423.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.07027, allocations: 3.984 kB / 423.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.07078, allocations: 103.8 kB / 423.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.0714, allocations: 292.1 kB / 424 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.07146, allocations: 19.98 kB / 424 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.07267, allocations: 0.8892 MB / 424.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.07268, allocations: 7.938 kB / 424.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.07544, allocations: 1.366 MB / 426.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.07572, allocations: 115.5 kB / 426.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.07585, allocations: 23.94 kB / 426.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.07637, allocations: 43.97 kB / 426.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.07651, allocations: 48.41 kB / 426.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.07657, allocations: 23.98 kB / 426.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004114/0.07698, allocations: 314.9 kB / 426.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07698, allocations: 0 / 426.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007884/0.07777, allocations: 235.5 kB / 427 MB, free: 6.164 MB / 350.1 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.000281/0.07805, allocations: 163.6 kB / 427.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.07987, allocations: 0.9193 MB / 428.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.07987, allocations: 0 / 428.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.0807, allocations: 465.8 kB / 428.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.08143, allocations: 117 kB / 428.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.08405, allocations: 1.384 MB / 430.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.0844, allocations: 343.9 kB / 430.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.08472, allocations: 92.86 kB / 430.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.08493, allocations: 68.45 kB / 430.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.08493, allocations: 0 / 430.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Templates: time 0.0177/0.1026, allocations: 8.919 MB / 439.5 MB, free: 9.648 MB / 366.1 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.171767648309469] Failed to read output from testmodel.py, exit status != 0: 0.11278494447469711 0.319972334 0.295282315 Calling exit ...