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.001394/0.001394, allocations: 92.7 kB / 19.44 MB, free: 324 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.00151/0.00151, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.03123/0.03123, allocations: 4.223 MB / 263.8 MB, free: 8.965 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.355e-06/2.355e-06, allocations: 0 / 338.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.621e-05, allocations: 6.25 kB / 338.3 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.005527/0.005553, allocations: 4.687 MB / 342.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.008619, allocations: 1.78 MB / 344.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007237/0.009342, allocations: 12 kB / 344.7 MB, free: 4.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.01019, allocations: 274 kB / 345 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008102/0.011, allocations: 325.5 kB / 345.3 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.01157, allocations: 331.2 kB / 345.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000739/0.0123, allocations: 1.145 MB / 346.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.0127, allocations: 291.3 kB / 347.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005625/0.01326, allocations: 0.6432 MB / 347.7 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.0137, allocations: 422.8 kB / 348.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.01381, allocations: 115.9 kB / 348.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.01404, allocations: 191.9 kB / 348.4 MB, free: 412 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.01416, allocations: 231.2 kB / 348.7 MB, free: 180 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.01455, allocations: 347.1 kB / 349 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.01615, allocations: 1.246 MB / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01616, allocations: 0 / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01616, allocations: 0 / 350.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.01617, allocations: 0 / 350.2 MB, free: 14.59 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.003221/0.01939, allocations: 1.241 MB / 351.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.01945, allocations: 12.03 kB / 351.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.01976, allocations: 156.3 kB / 351.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.02137, allocations: 0.5973 MB / 352.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.02145, allocations: 61.94 kB / 352.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.02159, allocations: 76 kB / 352.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.02329, allocations: 0.8936 MB / 353.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.02331, allocations: 3.953 kB / 353.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.02341, allocations: 32 kB / 353.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.02344, allocations: 19.98 kB / 353.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.02496, allocations: 0.6474 MB / 354 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/0.02989, allocations: 2.401 MB / 356.4 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.03147, allocations: 0.5456 MB / 356.9 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/0.03211, allocations: 265.5 kB / 357.2 MB, free: 7.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.806e-05/0.03221, allocations: 16.36 kB / 357.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008984/0.03311, allocations: 499.9 kB / 357.7 MB, free: 6.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=56): time 2.615e-06/0.03311, allocations: 4 kB / 357.7 MB, free: 6.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=56): time 0.003505/0.03662, allocations: 1.134 MB / 358.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.03679, allocations: 200.4 kB / 359 MB, free: 5.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.03746, allocations: 457.7 kB / 359.5 MB, free: 4.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.03752, allocations: 37.7 kB / 359.5 MB, free: 4.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.03789, allocations: 372.4 kB / 359.9 MB, free: 4.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.0381, allocations: 190.4 kB / 360.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.03837, allocations: 138.6 kB / 360.2 MB, free: 4.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.03861, allocations: 366.8 kB / 360.5 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.03925, allocations: 277.3 kB / 360.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007749/0.04002, allocations: 417.3 kB / 361.2 MB, free: 3.074 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.02198/0.062, allocations: 2.876 MB / 364.1 MB, free: 104 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.06201, allocations: 0 / 364.1 MB, free: 104 kB / 282.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00352/0.06553, allocations: 0.9143 MB / 365 MB, free: 15.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-05/0.06563, allocations: 63.39 kB / 365.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.06564, allocations: 4 kB / 365.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/0.06638, allocations: 80.78 kB / 365.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.06772, allocations: 171.8 kB / 365.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.0704, allocations: 1.448 MB / 366.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.07148, allocations: 75.53 kB / 366.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.07159, allocations: 35.92 kB / 366.9 MB, free: 13.16 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.000736/0.07233, allocations: 287 kB / 367.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.0726, allocations: 87.62 kB / 367.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.0759, allocations: 0.9994 MB / 368.2 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.07592, allocations: 8 kB / 368.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.07592, allocations: 0 / 368.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.07594, allocations: 7.922 kB / 368.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004691/0.08063, allocations: 1.559 MB / 369.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.08064, allocations: 0 / 369.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.08139, allocations: 99.88 kB / 369.9 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.08277, allocations: 288.1 kB / 370.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-05/0.08286, allocations: 27.92 kB / 370.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.08475, allocations: 0.8853 MB / 371.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.08476, allocations: 8 kB / 371.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/0.08931, allocations: 1.397 MB / 372.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/0.08998, allocations: 115.5 kB / 372.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.09016, allocations: 23.92 kB / 372.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.09096, allocations: 35.97 kB / 372.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.0912, allocations: 52.36 kB / 372.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.4e-05/0.09129, allocations: 27.98 kB / 372.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007902/0.09208, allocations: 318.9 kB / 373.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09208, allocations: 0 / 373.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001305/0.09339, allocations: 239.4 kB / 373.3 MB, free: 6.465 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.0004243/0.09381, allocations: 139.1 kB / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.09646, allocations: 0.9258 MB / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.09646, allocations: 0 / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.0978, allocations: 477.7 kB / 374.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.09896, allocations: 141.9 kB / 375 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.1033, allocations: 1.403 MB / 376.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/0.1039, allocations: 339.9 kB / 376.7 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.1044, allocations: 92.86 kB / 376.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.1046, allocations: 64.45 kB / 376.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1046, allocations: 0 / 376.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of Templates: time 0.01981/0.1245, allocations: 8.978 MB / 385.8 MB, free: 9.855 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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.253820338984951]