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.001764/0.001764, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001445/0.001445, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.008 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.03013/0.03013, allocations: 5.482 MB / 317.9 MB, free: 13.75 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.003106/0.003106, allocations: 67.89 kB / 446.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1495, allocations: 54.62 MB / 0.4895 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.009605/0.1591, allocations: 6.435 MB / 0.4958 GB, free: 6.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005553/0.1647, allocations: 2.651 MB / 0.4984 GB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007089/0.1654, allocations: 19.94 kB / 0.4984 GB, free: 3.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.1684, allocations: 1.135 MB / 0.4995 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.1705, allocations: 0.6276 MB / 0.5002 GB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.1714, allocations: 371.1 kB / 0.5005 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1729, allocations: 1.153 MB / 0.5016 GB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.1743, allocations: 0.8832 MB / 0.5025 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.1751, allocations: 490.3 kB / 0.503 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008076/0.1759, allocations: 0.5758 MB / 0.5035 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.176, allocations: 128 kB / 0.5037 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.1767, allocations: 299.8 kB / 0.5039 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.177, allocations: 263 kB / 0.5042 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005635/0.1776, allocations: 0.5366 MB / 0.5047 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.1797, allocations: 1.502 MB / 0.5062 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1797, allocations: 8 kB / 0.5062 GB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1797, allocations: 0 / 0.5062 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1797, allocations: 0 / 0.5062 GB, free: 11.57 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.004076/0.1838, allocations: 1.484 MB / 0.5076 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.1838, allocations: 16.02 kB / 0.5077 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.186, allocations: 340 kB / 0.508 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.1877, allocations: 0.6253 MB / 0.5086 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.1878, allocations: 70.12 kB / 0.5087 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.1879, allocations: 99.95 kB / 0.5088 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.1898, allocations: 0.9893 MB / 0.5097 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.1899, allocations: 4 kB / 0.5097 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/0.1899, allocations: 40 kB / 0.5098 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.19, allocations: 24 kB / 0.5098 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.1918, allocations: 0.8393 MB / 0.5106 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.198, allocations: 3.547 MB / 0.5141 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.1998, allocations: 0.6185 MB / 0.5147 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.2003, allocations: 214.1 kB / 0.5149 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.2004, allocations: 23.97 kB / 0.5149 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.201, allocations: 321.8 kB / 0.5152 GB, free: 2.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.201, allocations: 0 / 0.5152 GB, free: 2.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002797/0.2038, allocations: 0.8499 MB / 0.516 GB, free: 1.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.204, allocations: 144.4 kB / 0.5162 GB, free: 1.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006757/0.2046, allocations: 0.4941 MB / 0.5167 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.2047, allocations: 37.7 kB / 0.5167 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.2051, allocations: 479.6 kB / 0.5171 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.2054, allocations: 162.1 kB / 0.5173 GB, free: 32.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.2057, allocations: 148.9 kB / 0.5174 GB, free: 32.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2058, allocations: 366.4 kB / 0.5178 GB, free: 32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.2064, allocations: 234 kB / 0.518 GB, free: 32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.2071, allocations: 434.4 kB / 0.5184 GB, free: 31.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2082, allocations: 0.6942 MB / 0.5191 GB, free: 31.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.2082, allocations: 0 / 0.5191 GB, free: 31.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001887/0.2101, allocations: 0.8582 MB / 0.5199 GB, free: 31.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.2101, allocations: 39.27 kB / 0.52 GB, free: 31.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2101, allocations: 7.547 kB / 0.52 GB, free: 31.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005301/0.2106, allocations: 81.03 kB / 0.5201 GB, free: 31.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.2114, allocations: 174.3 kB / 0.5202 GB, free: 31.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.2129, allocations: 1.467 MB / 0.5217 GB, free: 30.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.2136, allocations: 99.83 kB / 0.5218 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.2137, allocations: 33.64 kB / 0.5218 GB, free: 30 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.0005052/0.2142, allocations: 274.9 kB / 0.5221 GB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2143, allocations: 59.5 kB / 0.5221 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.216, allocations: 0.6636 MB / 0.5228 GB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.216, allocations: 9.859 kB / 0.5228 GB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.216, allocations: 0.7031 kB / 0.5228 GB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.216, allocations: 8.109 kB / 0.5228 GB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.2191, allocations: 1.515 MB / 0.5243 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2191, allocations: 1.094 kB / 0.5243 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.2195, allocations: 75.42 kB / 0.5243 GB, free: 29.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.2201, allocations: 257.4 kB / 0.5246 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.2202, allocations: 16.42 kB / 0.5246 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009614/0.2211, allocations: 0.8357 MB / 0.5254 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2211, allocations: 2.453 kB / 0.5254 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.2233, allocations: 1.01 MB / 0.5264 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.2236, allocations: 104.5 kB / 0.5265 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.2237, allocations: 15.22 kB / 0.5265 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.2241, allocations: 34.08 kB / 0.5265 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.2242, allocations: 27.62 kB / 0.5266 GB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.2242, allocations: 23.73 kB / 0.5266 GB, free: 28.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004484/0.2247, allocations: 348.3 kB / 0.5269 GB, free: 28.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2247, allocations: 4 kB / 0.5269 GB, free: 28.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000949/0.2256, allocations: 241.7 kB / 0.5272 GB, free: 28.24 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.0002776/0.2259, allocations: 155.8 kB / 0.5273 GB, free: 28.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.2276, allocations: 0.7231 MB / 0.528 GB, free: 27.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2276, allocations: 0 / 0.528 GB, free: 27.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006063/0.2282, allocations: 282.7 kB / 0.5283 GB, free: 27.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.2288, allocations: 113.2 kB / 0.5284 GB, free: 27.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.2316, allocations: 1.353 MB / 0.5297 GB, free: 26.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.2321, allocations: 0.951 MB / 0.5306 GB, free: 26.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003748/0.2325, allocations: 81.69 kB / 0.5307 GB, free: 26.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.2327, allocations: 51.39 kB / 0.5308 GB, free: 26.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2327, allocations: 3.938 kB / 0.5308 GB, free: 26.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01938/0.2521, allocations: 8.735 MB / 0.5393 GB, free: 23.88 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.511747602140531] Failed to read output from testmodel.py, exit status != 0: 0.5682958899997175 0.578076696 0.39599791100000004 Calling exit ...