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.0007245/0.0007245, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001842, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007371/0.0007371, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001751, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09979/1.142, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.02541/0.02541, allocations: 4.32 MB / 248.5 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003389/0.0288, allocations: 1.703 MB / 250.2 MB, free: 8.844 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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.515e-06/2.515e-06, allocations: 0 / 251.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.819e-05/4.071e-05, allocations: 2.312 kB / 251.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.005427/0.005468, allocations: 5.219 MB / 256.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.008202, allocations: 2.018 MB / 258.7 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.008497, allocations: 15.94 kB / 258.8 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.009056, allocations: 333.8 kB / 259.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.009465, allocations: 337.4 kB / 259.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.009867, allocations: 347.2 kB / 259.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.01066, allocations: 1.2 MB / 261 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.01099, allocations: 311.4 kB / 261.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.01168, allocations: 0.7981 MB / 262.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007425/0.01242, allocations: 450.8 kB / 262.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.01252, allocations: 115.9 kB / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.01275, allocations: 195.9 kB / 262.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.01286, allocations: 167.5 kB / 263 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.01307, allocations: 287.4 kB / 263.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.01371, allocations: 0.7123 MB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.01372, allocations: 3.938 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01372, allocations: 0 / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.01373, allocations: 4 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001515/0.01525, allocations: 1.399 MB / 265.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.01528, allocations: 11.98 kB / 265.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.01541, allocations: 123.9 kB / 265.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.01598, allocations: 424.5 kB / 265.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.01602, allocations: 58 kB / 266 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/0.0161, allocations: 76 kB / 266 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.01675, allocations: 0.73 MB / 266.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.01677, allocations: 3.938 kB / 266.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.01681, allocations: 28 kB / 266.8 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.01682, allocations: 24 kB / 266.8 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.01716, allocations: 329.1 kB / 267.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.01921, allocations: 2.03 MB / 269.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.02008, allocations: 424.7 kB / 269.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.02031, allocations: 177.6 kB / 269.8 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.409e-05/0.02037, allocations: 12.5 kB / 269.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.02068, allocations: 433.4 kB / 270.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 1.703e-06/0.02068, allocations: 0 / 270.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.0009423/0.02162, allocations: 0.6899 MB / 270.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.02172, allocations: 293.5 kB / 271.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.02198, allocations: 443 kB / 271.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.02201, allocations: 37.7 kB / 271.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.02215, allocations: 341.2 kB / 272 MB, free: 2.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.02226, allocations: 198.3 kB / 272.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.0224, allocations: 150.5 kB / 272.3 MB, free: 2.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.0225, allocations: 378.6 kB / 272.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.02263, allocations: 145.3 kB / 272.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.02285, allocations: 322.8 kB / 273.1 MB, free: 1.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.02329, allocations: 0.5359 MB / 273.7 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.0233, allocations: 4 kB / 273.7 MB, free: 0.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.1369/0.1602, allocations: 0.5736 MB / 274.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.1603, allocations: 64.53 kB / 274.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.1604, allocations: 2.875 kB / 274.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.1607, allocations: 93.44 kB / 274.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.1615, allocations: 214.5 kB / 274.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1627, allocations: 1.369 MB / 276 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.1632, allocations: 74.31 kB / 276.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.1632, allocations: 31.02 kB / 276.1 MB, free: 12.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (91): * Single equations (assignments): 88 * 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.0003131/0.1635, allocations: 231.1 kB / 276.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1636, allocations: 62.97 kB / 276.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.1645, allocations: 0.699 MB / 277.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1645, allocations: 7.922 kB / 277.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1645, allocations: 2.188 kB / 277.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1645, allocations: 5.734 kB / 277.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1659, allocations: 1.056 MB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1659, allocations: 1.25 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.1663, allocations: 152.2 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.1665, allocations: 89.88 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.1668, allocations: 263.3 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.1668, allocations: 25.38 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003635/0.1672, allocations: 0.7419 MB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1672, allocations: 4.141 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/0.1682, allocations: 0.9235 MB / 280.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.1683, allocations: 23.97 kB / 280.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.1685, allocations: 34.5 kB / 280.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.1686, allocations: 49.77 kB / 280.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.1686, allocations: 25.52 kB / 280.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.1689, allocations: 197.9 kB / 280.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1689, allocations: 0.7188 kB / 280.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005724/0.1694, allocations: 253.5 kB / 280.9 MB, free: 10.66 MB / 266.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 (66): * Single equations (assignments): 64 * 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.0001992/0.1696, allocations: 139.3 kB / 281.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008101/0.1704, allocations: 0.7805 MB / 281.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.451e-05/0.1705, allocations: 14.81 kB / 281.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.1709, allocations: 455.5 kB / 282.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.1715, allocations: 1.034 MB / 283.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.176, allocations: 1.445 MB / 284.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.1762, allocations: 165.7 kB / 284.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002689/0.1764, allocations: 91.8 kB / 285 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.1768, allocations: 219 kB / 285.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1768, allocations: 3.656 kB / 285.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of Templates: time 0.01406/0.1908, allocations: 11.53 MB / 296.8 MB, free: 2.879 MB / 266.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: 3.8168091010302305]