Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.001379/0.001379, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001563/0.001563, allocations: 219.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 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.03176/0.03176, allocations: 5.486 MB / 318.7 MB, free: 13.76 MB / 254.1 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.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 71.91 kB / 447.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1018, allocations: 54.62 MB / 0.4903 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.009169/0.111, allocations: 6.439 MB / 0.4966 GB, free: 6.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.116, allocations: 2.647 MB / 0.4992 GB, free: 3.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.1167, allocations: 19.94 kB / 0.4992 GB, free: 3.602 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.1197, allocations: 1.135 MB / 0.5003 GB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.1214, allocations: 0.6253 MB / 0.5009 GB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008491/0.1222, allocations: 367.3 kB / 0.5013 GB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.1238, allocations: 1.153 MB / 0.5024 GB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.1253, allocations: 0.8793 MB / 0.5032 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.126, allocations: 498.2 kB / 0.5037 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.1269, allocations: 0.5758 MB / 0.5043 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.1271, allocations: 128 kB / 0.5044 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.1278, allocations: 299.8 kB / 0.5047 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.128, allocations: 255.1 kB / 0.5049 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005912/0.1286, allocations: 0.5482 MB / 0.5055 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.1304, allocations: 1.498 MB / 0.5069 GB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1304, allocations: 4 kB / 0.5069 GB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1304, allocations: 0 / 0.5069 GB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1305, allocations: 0 / 0.5069 GB, free: 11.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004064/0.1345, allocations: 1.488 MB / 0.5084 GB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1346, allocations: 12.03 kB / 0.5084 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.1368, allocations: 344 kB / 0.5087 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.1384, allocations: 0.6214 MB / 0.5093 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.1385, allocations: 70.12 kB / 0.5094 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.1387, allocations: 99.95 kB / 0.5095 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.1406, allocations: 0.9931 MB / 0.5105 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.1407, allocations: 4 kB / 0.5105 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.254e-05/0.1408, allocations: 40 kB / 0.5105 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.1408, allocations: 27.98 kB / 0.5105 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.1427, allocations: 0.8393 MB / 0.5113 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006148/0.1488, allocations: 3.543 MB / 0.5148 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.1507, allocations: 0.6185 MB / 0.5154 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.1513, allocations: 219.5 kB / 0.5156 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-05/0.1514, allocations: 19.98 kB / 0.5156 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/0.152, allocations: 329.7 kB / 0.516 GB, free: 2.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.152, allocations: 0 / 0.516 GB, free: 2.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002899/0.1549, allocations: 0.8461 MB / 0.5168 GB, free: 1.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.155, allocations: 140.5 kB / 0.5169 GB, free: 1.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/0.1557, allocations: 0.5019 MB / 0.5174 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1557, allocations: 29.7 kB / 0.5174 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.1561, allocations: 483.6 kB / 0.5179 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1813/0.3374, allocations: 156.9 kB / 0.518 GB, free: 32.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.3377, allocations: 149.7 kB / 0.5182 GB, free: 32.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.3378, allocations: 366.1 kB / 0.5185 GB, free: 32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.3383, allocations: 233.7 kB / 0.5188 GB, free: 32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.3388, allocations: 434.2 kB / 0.5192 GB, free: 31.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.3398, allocations: 0.698 MB / 0.5199 GB, free: 31.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3398, allocations: 0 / 0.5199 GB, free: 31.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001659/0.3415, allocations: 0.8585 MB / 0.5207 GB, free: 31.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.3415, allocations: 41.41 kB / 0.5207 GB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3416, allocations: 9.531 kB / 0.5207 GB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/0.342, allocations: 79.66 kB / 0.5208 GB, free: 31.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.3428, allocations: 172.8 kB / 0.521 GB, free: 31.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.344, allocations: 1.471 MB / 0.5224 GB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.3446, allocations: 93.77 kB / 0.5225 GB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.3447, allocations: 32.28 kB / 0.5225 GB, free: 30.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0003514/0.345, allocations: 275.1 kB / 0.5228 GB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.3451, allocations: 62 kB / 0.5229 GB, free: 29.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.3465, allocations: 0.6662 MB / 0.5235 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3465, allocations: 6.766 kB / 0.5235 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3465, allocations: 1.719 kB / 0.5235 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3465, allocations: 6.562 kB / 0.5235 GB, free: 29.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.3493, allocations: 1.522 MB / 0.525 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3493, allocations: 2.25 kB / 0.525 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.3496, allocations: 73.23 kB / 0.5251 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005578/0.3502, allocations: 260.1 kB / 0.5253 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-05/0.3502, allocations: 15.16 kB / 0.5253 GB, free: 29.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008876/0.3511, allocations: 0.8383 MB / 0.5262 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3511, allocations: 0 / 0.5262 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3531, allocations: 1.008 MB / 0.5271 GB, free: 28.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.3533, allocations: 106.2 kB / 0.5273 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/0.3534, allocations: 11 kB / 0.5273 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.3538, allocations: 32.72 kB / 0.5273 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.3539, allocations: 32.11 kB / 0.5273 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.3539, allocations: 17.23 kB / 0.5273 GB, free: 28.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.3543, allocations: 352.6 kB / 0.5277 GB, free: 28.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3543, allocations: 0 / 0.5277 GB, free: 28.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007094/0.355, allocations: 244.4 kB / 0.5279 GB, free: 28.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0002/0.3552, allocations: 159.7 kB / 0.5281 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3565, allocations: 0.7234 MB / 0.5288 GB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3565, allocations: 0 / 0.5288 GB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.3571, allocations: 288.2 kB / 0.529 GB, free: 27.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.3577, allocations: 104.4 kB / 0.5291 GB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3599, allocations: 1.387 MB / 0.5305 GB, free: 26.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3602, allocations: 0.9486 MB / 0.5314 GB, free: 26.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3604, allocations: 56.98 kB / 0.5315 GB, free: 26.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3604, allocations: 0.5 kB / 0.5315 GB, free: 26.14 MB / 382.1 MB Notification: Performance of Templates: time 0.01498/0.3754, allocations: 13.13 MB / 0.5443 GB, free: 21.24 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.187781207030639] Failed to read output from testmodel.py, exit status != 0: 0.3832928689662367 0.39266888600000005 0.259986983 Calling exit ...