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.00112/0.00112, allocations: 93.06 kB / 19.65 MB, free: 276 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.00095/0.00095, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9605/0.9605, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.04735/0.04735, allocations: 4.218 MB / 264.2 MB, free: 8.949 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.262e-06/1.262e-06, allocations: 0 / 339.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.546e-05, allocations: 4.703 kB / 339.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.003688/0.003713, allocations: 5.07 MB / 344.1 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.00565, allocations: 1.842 MB / 346 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002342/0.005884, allocations: 12 kB / 346 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.006344, allocations: 277.9 kB / 346.3 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.006759, allocations: 329.5 kB / 346.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.007118, allocations: 327.2 kB / 346.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.007663, allocations: 1.141 MB / 348 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.00795, allocations: 291.4 kB / 348.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.008417, allocations: 0.6704 MB / 349 MB, free: 256 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.008798, allocations: 422.8 kB / 349.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.008914, allocations: 108 kB / 349.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.009124, allocations: 179.9 kB / 349.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.009248, allocations: 223.2 kB / 349.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.009525, allocations: 351.1 kB / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.01028, allocations: 0.7667 MB / 351 MB, free: 14.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01028, allocations: 0 / 351 MB, free: 14.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.01028, allocations: 0 / 351 MB, free: 14.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01029, allocations: 0 / 351 MB, free: 14.22 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.001549/0.01184, allocations: 1.282 MB / 352.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.01188, allocations: 12.03 kB / 352.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.01205, allocations: 156.3 kB / 352.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.01284, allocations: 0.4884 MB / 352.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.01289, allocations: 61.94 kB / 353 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.374e-05/0.01297, allocations: 83.88 kB / 353.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.01382, allocations: 0.7585 MB / 353.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.01384, allocations: 0 / 353.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.01389, allocations: 32 kB / 353.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.0139, allocations: 16 kB / 353.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.01442, allocations: 415 kB / 354.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.01724, allocations: 2.628 MB / 356.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.01801, allocations: 478.5 kB / 357.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.01827, allocations: 204.4 kB / 357.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.728e-05/0.01834, allocations: 8.375 kB / 357.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.01871, allocations: 445.5 kB / 358 MB, free: 6.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.01872, allocations: 0 / 358 MB, free: 6.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.001307/0.02002, allocations: 0.8754 MB / 358.9 MB, free: 5.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.0201, allocations: 204.3 kB / 359.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.02047, allocations: 494.5 kB / 359.6 MB, free: 5.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.0205, allocations: 37.7 kB / 359.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.02069, allocations: 431 kB / 360.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.0208, allocations: 182.4 kB / 360.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.02095, allocations: 152.2 kB / 360.4 MB, free: 4.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.0211, allocations: 0.5391 MB / 360.9 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.02131, allocations: 185.3 kB / 361.1 MB, free: 3.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.02161, allocations: 384.3 kB / 361.5 MB, free: 3.156 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.001039/0.02265, allocations: 0.9129 MB / 362.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02265, allocations: 0 / 362.4 MB, free: 2.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001074/0.02373, allocations: 0.757 MB / 363.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.02377, allocations: 69.83 kB / 363.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.02378, allocations: 4 kB / 363.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.02401, allocations: 83.61 kB / 363.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.02442, allocations: 175.7 kB / 363.5 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.02545, allocations: 1.971 MB / 365.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.02574, allocations: 63.61 kB / 365.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.02578, allocations: 43.91 kB / 365.6 MB, free: 14.8 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.0002344/0.02601, allocations: 276.3 kB / 365.8 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.0261, allocations: 83.62 kB / 365.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/0.02701, allocations: 0.8458 MB / 366.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.02701, allocations: 11.94 kB / 366.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.02701, allocations: 3.984 kB / 366.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.02702, allocations: 7.922 kB / 366.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.02852, allocations: 1.462 MB / 368.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02852, allocations: 0 / 368.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.02876, allocations: 103.9 kB / 368.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.02906, allocations: 254.9 kB / 368.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.02909, allocations: 27.97 kB / 368.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005418/0.02964, allocations: 1.051 MB / 369.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.02964, allocations: 11.92 kB / 369.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.03102, allocations: 1.173 MB / 370.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.03119, allocations: 123.3 kB / 371 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.03125, allocations: 23.94 kB / 371 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.03148, allocations: 35.97 kB / 371 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.03156, allocations: 48.36 kB / 371.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.03159, allocations: 27.97 kB / 371.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.03181, allocations: 330.8 kB / 371.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03181, allocations: 8 kB / 371.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004758/0.03228, allocations: 239.5 kB / 371.7 MB, free: 8.402 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.0001946/0.03248, allocations: 147.1 kB / 371.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.03333, allocations: 0.8595 MB / 372.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03333, allocations: 0 / 372.7 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.03369, allocations: 430 kB / 373.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.03412, allocations: 142.3 kB / 373.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.03581, allocations: 1.325 MB / 374.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.591e-05/0.0359, allocations: 150.8 kB / 374.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.03609, allocations: 80.78 kB / 374.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.03622, allocations: 68.45 kB / 374.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03622, allocations: 0 / 374.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of Templates: time 0.01264/0.04886, allocations: 10.1 MB / 384.9 MB, free: 11.03 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.13488120213151]