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.001938/0.001938, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002961/0.002961, allocations: 216.1 kB / 22.25 MB, free: 5.262 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.781 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.0304/0.0304, allocations: 5.491 MB / 317.9 MB, free: 13.53 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.002507/0.002507, allocations: 63.89 kB / 446.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1375, allocations: 54.62 MB / 0.4895 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.008971/0.1464, allocations: 5.711 MB / 0.495 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005412/0.1519, allocations: 2.445 MB / 0.4974 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/0.1526, allocations: 19.94 kB / 0.4974 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.1554, allocations: 1.048 MB / 0.4985 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.1571, allocations: 0.5941 MB / 0.499 GB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.158, allocations: 351.3 kB / 0.4994 GB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1593, allocations: 1.16 MB / 0.5005 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1607, allocations: 0.8598 MB / 0.5014 GB, free: 156 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.1613, allocations: 490.4 kB / 0.5018 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.162, allocations: 0.5016 MB / 0.5023 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.1622, allocations: 132 kB / 0.5024 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006522/0.1628, allocations: 291.7 kB / 0.5027 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.1631, allocations: 259.2 kB / 0.503 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004848/0.1636, allocations: 449.9 kB / 0.5034 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1654, allocations: 1.506 MB / 0.5049 GB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1654, allocations: 0 / 0.5049 GB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1654, allocations: 0 / 0.5049 GB, free: 12.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1654, allocations: 0 / 0.5049 GB, free: 12.55 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.003773/0.1692, allocations: 1.488 MB / 0.5063 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.1693, allocations: 16.03 kB / 0.5063 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.1713, allocations: 348 kB / 0.5067 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.1729, allocations: 0.6174 MB / 0.5073 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.1729, allocations: 78.11 kB / 0.5073 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.1731, allocations: 95.95 kB / 0.5074 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.1749, allocations: 1.03 MB / 0.5084 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.1749, allocations: 0 / 0.5084 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.175, allocations: 43.94 kB / 0.5085 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.1751, allocations: 24 kB / 0.5085 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.1767, allocations: 0.8605 MB / 0.5093 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005409/0.1821, allocations: 3.154 MB / 0.5124 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.1839, allocations: 0.6388 MB / 0.513 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.1844, allocations: 247.7 kB / 0.5133 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.1845, allocations: 19.98 kB / 0.5133 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006441/0.1851, allocations: 359.4 kB / 0.5136 GB, free: 3.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 1.794e-06/0.1851, allocations: 0 / 0.5136 GB, free: 3.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002678/0.1878, allocations: 0.937 MB / 0.5146 GB, free: 2.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1879, allocations: 148.4 kB / 0.5147 GB, free: 2.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.1886, allocations: 0.4978 MB / 0.5152 GB, free: 1.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.1886, allocations: 37.7 kB / 0.5152 GB, free: 1.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.189, allocations: 479.6 kB / 0.5157 GB, free: 1.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1891, allocations: 162.6 kB / 0.5158 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.1894, allocations: 150.5 kB / 0.516 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1895, allocations: 366.8 kB / 0.5163 GB, free: 416 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.1901, allocations: 259.6 kB / 0.5166 GB, free: 152 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.279/0.4691, allocations: 462.7 kB / 0.517 GB, free: 32.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.4702, allocations: 0.6966 MB / 0.5177 GB, free: 31.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.4702, allocations: 0.5938 kB / 0.5177 GB, free: 31.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001785/0.472, allocations: 0.8799 MB / 0.5186 GB, free: 31.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.472, allocations: 41.05 kB / 0.5186 GB, free: 31.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.472, allocations: 5.625 kB / 0.5186 GB, free: 31.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004759/0.4725, allocations: 83.42 kB / 0.5187 GB, free: 31.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.4732, allocations: 170 kB / 0.5188 GB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.4744, allocations: 1.455 MB / 0.5203 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/0.4751, allocations: 86.36 kB / 0.5203 GB, free: 30.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.4751, allocations: 31.7 kB / 0.5204 GB, free: 30.39 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.0004134/0.4755, allocations: 272.9 kB / 0.5206 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4756, allocations: 63.08 kB / 0.5207 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4772, allocations: 0.7337 MB / 0.5214 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.4772, allocations: 4.938 kB / 0.5214 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4772, allocations: 4.875 kB / 0.5214 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4772, allocations: 3.594 kB / 0.5214 GB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.4801, allocations: 1.391 MB / 0.5228 GB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4801, allocations: 0.6094 kB / 0.5228 GB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.4805, allocations: 75.84 kB / 0.5229 GB, free: 29.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007379/0.4812, allocations: 291.3 kB / 0.5231 GB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.4813, allocations: 16.25 kB / 0.5232 GB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.4823, allocations: 0.8909 MB / 0.524 GB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4823, allocations: 1.438 kB / 0.524 GB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.4847, allocations: 1.109 MB / 0.5251 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.485, allocations: 102.2 kB / 0.5252 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.4851, allocations: 14.62 kB / 0.5252 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.4855, allocations: 39.3 kB / 0.5253 GB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4856, allocations: 29.08 kB / 0.5253 GB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.4856, allocations: 20.33 kB / 0.5253 GB, free: 28.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.4862, allocations: 339.3 kB / 0.5256 GB, free: 28.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4862, allocations: 0 / 0.5256 GB, free: 28.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001006/0.4872, allocations: 244.2 kB / 0.5259 GB, free: 28.55 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.0003105/0.4875, allocations: 154.5 kB / 0.526 GB, free: 28.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4891, allocations: 0.7928 MB / 0.5268 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4891, allocations: 2.062 kB / 0.5268 GB, free: 28.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.4897, allocations: 313.9 kB / 0.5271 GB, free: 28.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.4903, allocations: 98.56 kB / 0.5272 GB, free: 28.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4927, allocations: 1.383 MB / 0.5285 GB, free: 27.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.4931, allocations: 349 kB / 0.5289 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.4935, allocations: 87.55 kB / 0.5289 GB, free: 27.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.4936, allocations: 51.17 kB / 0.529 GB, free: 27.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4936, allocations: 1.375 kB / 0.529 GB, free: 27.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01863/0.5122, allocations: 8.588 MB / 0.5374 GB, free: 25.04 MB / 382.1 MB " [Timeout remaining time 659] 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: 5.735782777890563] Failed to read output from testmodel.py, exit status != 0: 0.5213911533355713 0.5314873299999999 0.363873887 Calling exit ...