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.002123/0.002123, allocations: 85.48 kB / 19.44 MB, free: 348 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.002558/0.002558, allocations: 177.2 kB / 22.76 MB, free: 1.664 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.03282/0.03282, allocations: 4.224 MB / 263.8 MB, free: 9.004 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 2.044e-06/2.044e-06, allocations: 0 / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.916e-05, allocations: 8.641 kB / 338.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.007418/0.007447, allocations: 4.992 MB / 343.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003844/0.01129, allocations: 1.834 MB / 345.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.01174, allocations: 11.94 kB / 345.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.01261, allocations: 274 kB / 345.4 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008987/0.0135, allocations: 317.7 kB / 345.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.01426, allocations: 339.1 kB / 346 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01534, allocations: 1.137 MB / 347.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005434/0.01588, allocations: 291.4 kB / 347.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008245/0.01671, allocations: 0.6509 MB / 348.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000754/0.01746, allocations: 454.8 kB / 348.5 MB, free: 344 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.01764, allocations: 112 kB / 348.6 MB, free: 232 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.018, allocations: 183.8 kB / 348.8 MB, free: 48 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.01834, allocations: 239.3 kB / 349.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006572/0.019, allocations: 351.1 kB / 349.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.02123, allocations: 1.25 MB / 350.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.02124, allocations: 0 / 350.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02124, allocations: 0 / 350.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.02125, allocations: 0 / 350.6 MB, free: 14.21 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.004392/0.02564, allocations: 1.379 MB / 352 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.0257, allocations: 12.03 kB / 352 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.02616, allocations: 156.3 kB / 352.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.02823, allocations: 0.5884 MB / 352.8 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.02833, allocations: 61.94 kB / 352.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.02852, allocations: 79.94 kB / 352.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.0309, allocations: 0.9297 MB / 353.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.03093, allocations: 3.953 kB / 353.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.03101, allocations: 32 kB / 353.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.03103, allocations: 16 kB / 353.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.03243, allocations: 0.6435 MB / 354.5 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.03736, allocations: 2.925 MB / 357.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.03883, allocations: 0.5633 MB / 358 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.03941, allocations: 276.4 kB / 358.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/0.0395, allocations: 8.375 kB / 358.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000847/0.04035, allocations: 0.5054 MB / 358.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 2.144e-06/0.04035, allocations: 0 / 358.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.002979/0.04333, allocations: 1.106 MB / 359.9 MB, free: 4.535 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.04349, allocations: 204.3 kB / 360.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.04424, allocations: 0.5767 MB / 360.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.0443, allocations: 41.7 kB / 360.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.04472, allocations: 447 kB / 361.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.04493, allocations: 198.5 kB / 361.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/0.04523, allocations: 172.2 kB / 361.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003646/0.0456, allocations: 0.5704 MB / 362.1 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.04616, allocations: 261.3 kB / 362.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.04695, allocations: 484.3 kB / 362.8 MB, free: 1.43 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.01341/0.06036, allocations: 2.567 MB / 365.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.06037, allocations: 4 kB / 365.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002055/0.06242, allocations: 0.9094 MB / 366.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/0.06251, allocations: 63.39 kB / 366.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.06252, allocations: 4 kB / 366.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.06303, allocations: 87.61 kB / 366.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.06384, allocations: 163.8 kB / 366.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.066, allocations: 2.01 MB / 368.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.06666, allocations: 67.56 kB / 368.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.06674, allocations: 44.03 kB / 368.7 MB, free: 11.21 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.0005126/0.06725, allocations: 347.4 kB / 369.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.06741, allocations: 75.67 kB / 369.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.06953, allocations: 1.01 MB / 370.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.06954, allocations: 8 kB / 370.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.06955, allocations: 0 / 370.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.06956, allocations: 7.922 kB / 370.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.07296, allocations: 1.755 MB / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.07296, allocations: 0 / 371.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.07345, allocations: 99.83 kB / 372 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000598/0.07405, allocations: 290.8 kB / 372.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.07411, allocations: 19.98 kB / 372.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.07545, allocations: 1.164 MB / 373.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.07546, allocations: 7.938 kB / 373.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.07821, allocations: 1.45 MB / 375 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.07851, allocations: 115.4 kB / 375.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.07863, allocations: 31.89 kB / 375.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.0791, allocations: 31.98 kB / 375.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.07923, allocations: 48.41 kB / 375.2 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.0793, allocations: 27.97 kB / 375.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005046/0.07981, allocations: 386.8 kB / 375.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07981, allocations: 0 / 375.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000781/0.08059, allocations: 239.4 kB / 375.8 MB, free: 3.863 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.0002677/0.08086, allocations: 159 kB / 376 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.08271, allocations: 1.016 MB / 377 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.08271, allocations: 4.125 kB / 377 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008913/0.0836, allocations: 0.5098 MB / 377.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.08434, allocations: 136 kB / 377.6 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.08702, allocations: 1.407 MB / 379 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.08741, allocations: 339.9 kB / 379.4 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.08775, allocations: 88.88 kB / 379.5 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.08798, allocations: 72.45 kB / 379.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.08798, allocations: 0 / 379.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.01888/0.1069, allocations: 9.033 MB / 388.6 MB, free: 7.02 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: 6.3136247750371695]