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.001184/0.001184, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001503/0.001503, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9712/0.9712, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.02858/0.02858, allocations: 4.224 MB / 265.3 MB, free: 8.773 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.503e-06/1.503e-06, allocations: 0 / 340.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.823e-05, allocations: 5.125 kB / 340.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.005354/0.005383, allocations: 4.998 MB / 345.3 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.00841, allocations: 1.842 MB / 347.2 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.008795, allocations: 15.94 kB / 347.2 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.009406, allocations: 270 kB / 347.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006208/0.01003, allocations: 329.5 kB / 347.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.01054, allocations: 331.2 kB / 348.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.01141, allocations: 1.145 MB / 349.2 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.01178, allocations: 279.4 kB / 349.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.01252, allocations: 0.6782 MB / 350.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.01297, allocations: 422.8 kB / 350.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01307, allocations: 108 kB / 350.7 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.01328, allocations: 183.9 kB / 350.9 MB, free: 348 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.0134, allocations: 223.2 kB / 351.1 MB, free: 124 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.01366, allocations: 347.1 kB / 351.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00083/0.01449, allocations: 0.7589 MB / 352.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.01449, allocations: 4 kB / 352.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0145, allocations: 0 / 352.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.01451, allocations: 0 / 352.2 MB, free: 15.02 MB / 330.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.001607/0.01611, allocations: 1.294 MB / 353.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.01615, allocations: 8.031 kB / 353.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.01633, allocations: 160.3 kB / 353.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.01696, allocations: 492.1 kB / 354.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.01701, allocations: 65.94 kB / 354.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.0171, allocations: 76 kB / 354.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.01784, allocations: 0.7115 MB / 355 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.01786, allocations: 0 / 355 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.01791, allocations: 28 kB / 355 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.01792, allocations: 16 kB / 355 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.01832, allocations: 349 kB / 355.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.02103, allocations: 2.562 MB / 357.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.02171, allocations: 436.9 kB / 358.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.0219, allocations: 180.3 kB / 358.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.02197, allocations: 16.38 kB / 358.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.02231, allocations: 421.5 kB / 359 MB, free: 7.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.324e-06/0.02231, allocations: 0 / 359 MB, free: 7.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.00122/0.02353, allocations: 0.8245 MB / 359.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.02361, allocations: 200.4 kB / 360 MB, free: 6.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.02394, allocations: 474.3 kB / 360.5 MB, free: 6.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.02398, allocations: 37.7 kB / 360.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.0242, allocations: 431 kB / 360.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.02433, allocations: 186.4 kB / 361.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.02449, allocations: 160.1 kB / 361.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.02466, allocations: 0.5468 MB / 361.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.02482, allocations: 149.3 kB / 361.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.02508, allocations: 360.2 kB / 362.3 MB, free: 4.332 MB / 330.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.001068/0.02615, allocations: 0.8386 MB / 363.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.02615, allocations: 4 kB / 363.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008561/0.02701, allocations: 0.6907 MB / 363.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.02706, allocations: 71.33 kB / 363.9 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.02707, allocations: 4 kB / 363.9 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.02731, allocations: 79.61 kB / 364 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.02773, allocations: 171.8 kB / 364.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.02887, allocations: 1.948 MB / 366.1 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.02921, allocations: 75.67 kB / 366.2 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.02925, allocations: 31.95 kB / 366.2 MB, free: 140 kB / 330.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,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 (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.0003338/0.02958, allocations: 281.6 kB / 366.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.02971, allocations: 83.62 kB / 366.6 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.03087, allocations: 0.7834 MB / 367.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.03087, allocations: 8 kB / 367.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.03088, allocations: 7.938 kB / 367.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.03089, allocations: 3.984 kB / 367.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.03584, allocations: 1.326 MB / 368.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.03585, allocations: 0 / 368.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.03619, allocations: 103.8 kB / 368.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003585/0.03655, allocations: 254.8 kB / 369 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.0366, allocations: 27.97 kB / 369.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007894/0.03739, allocations: 1.039 MB / 370.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.03739, allocations: 3.984 kB / 370.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/0.04181, allocations: 1.102 MB / 371.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.04207, allocations: 127.3 kB / 371.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.04216, allocations: 20 kB / 371.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.04249, allocations: 39.94 kB / 371.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.04259, allocations: 56.34 kB / 371.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.04264, allocations: 23.97 kB / 371.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.0429, allocations: 306.7 kB / 371.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.0429, allocations: 0 / 371.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003771/0.04667, allocations: 243.5 kB / 372 MB, free: 10.05 MB / 346.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.00025/0.04692, allocations: 151 kB / 372.2 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.04796, allocations: 0.8042 MB / 373 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.04796, allocations: 0 / 373 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.04839, allocations: 406 kB / 373.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.049, allocations: 141.3 kB / 373.5 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.05429, allocations: 1.309 MB / 374.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.05441, allocations: 150.8 kB / 375 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.0547, allocations: 76.8 kB / 375 MB, free: 6.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.05508, allocations: 230.1 kB / 375.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of SimCode: time 1.623e-06/0.05508, allocations: 0 / 375.3 MB, free: 6.609 MB / 346.7 MB Notification: Performance of Templates: time 0.02891/0.084, allocations: 10.53 MB / 385.8 MB, free: 12.2 MB / 362.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.1253054779954255]