Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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.001298/0.001298, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002565/0.002565, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.984 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.03028/0.03028, allocations: 5.488 MB / 317.9 MB, free: 13.74 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.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [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.002402/0.002402, allocations: 67.89 kB / 446.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1362, allocations: 54.61 MB / 0.4895 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.0154/0.1516, allocations: 10.24 MB / 0.4995 GB, free: 2.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009002/0.1606, allocations: 3.612 MB / 0.5031 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.1632, allocations: 75.62 kB / 0.5031 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009034/0.1722, allocations: 3.272 MB / 0.5063 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.1766, allocations: 0.8894 MB / 0.5072 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.18, allocations: 1.101 MB / 0.5083 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006961/0.1869, allocations: 4.254 MB / 0.5124 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3046/0.4915, allocations: 6.633 MB / 0.5189 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.4956, allocations: 2.423 MB / 0.5213 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005011/0.5006, allocations: 2.668 MB / 0.5239 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.5027, allocations: 0.7189 MB / 0.5246 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.506, allocations: 1.041 MB / 0.5256 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.5075, allocations: 1.331 MB / 0.5269 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004475/0.512, allocations: 2.601 MB / 0.5294 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.5259, allocations: 9.174 MB / 0.5384 GB, free: 7.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5259, allocations: 3.344 kB / 0.5384 GB, free: 7.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5259, allocations: 1.156 kB / 0.5384 GB, free: 7.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.5262, allocations: 0 / 0.5384 GB, free: 7.785 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01746/0.5436, allocations: 5.355 MB / 0.5436 GB, free: 4.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5437, allocations: 9.625 kB / 0.5436 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009697/0.5534, allocations: 1.636 MB / 0.5452 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007312/0.5607, allocations: 2.955 MB / 0.5481 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.5609, allocations: 324.9 kB / 0.5484 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.5623, allocations: 412.3 kB / 0.5488 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.5759, allocations: 6.671 MB / 0.5553 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.93e-05/0.576, allocations: 11.2 kB / 0.5554 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004504/0.5765, allocations: 168.3 kB / 0.5555 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/0.5767, allocations: 216.5 kB / 0.5557 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.588, allocations: 5.628 MB / 0.5612 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/0.6294, allocations: 21.39 MB / 0.5821 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/0.6347, allocations: 2.166 MB / 0.5842 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.6361, allocations: 0.747 MB / 0.585 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.6363, allocations: 38.83 kB / 0.585 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.6377, allocations: 0.7939 MB / 0.5858 GB, free: 15.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 3.557e-06/0.6378, allocations: 0 / 0.5858 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005319/0.6431, allocations: 2.137 MB / 0.5879 GB, free: 13.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.6432, allocations: 149.5 kB / 0.588 GB, free: 13.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/0.6474, allocations: 1.827 MB / 0.5898 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.6475, allocations: 41.7 kB / 0.5898 GB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002849/0.6504, allocations: 2.043 MB / 0.5918 GB, free: 9.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.6509, allocations: 401.9 kB / 0.5922 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.6521, allocations: 0.5514 MB / 0.5927 GB, free: 8.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6523, allocations: 301.1 kB / 0.593 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.6546, allocations: 1.085 MB / 0.5941 GB, free: 7.027 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/0.6581, allocations: 2.177 MB / 0.5962 GB, free: 4.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/0.6636, allocations: 3.373 MB / 0.5995 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-05/0.6637, allocations: 11.94 kB / 0.5995 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.009085/0.6728, allocations: 3.495 MB / 0.6029 GB, free: 13.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.6729, allocations: 55.88 kB / 0.603 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/0.6731, allocations: 36 kB / 0.603 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.6738, allocations: 124.9 kB / 0.6031 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.676, allocations: 0.6045 MB / 0.6037 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.678, allocations: 1.539 MB / 0.6052 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.6806, allocations: 369.8 kB / 0.6056 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.6809, allocations: 140 kB / 0.6057 GB, free: 10.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * 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 (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.003682/0.6846, allocations: 1.718 MB / 0.6074 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/0.6851, allocations: 170.9 kB / 0.6076 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.689, allocations: 1.743 MB / 0.6093 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002724/0.6917, allocations: 1.403 MB / 0.6106 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.6917, allocations: 4 kB / 0.6106 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.6917, allocations: 7.875 kB / 0.6106 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.7048, allocations: 4.943 MB / 0.6155 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7048, allocations: 0 / 0.6155 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009209/0.7057, allocations: 210.8 kB / 0.6157 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007165/0.7064, allocations: 259.3 kB / 0.6159 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.7065, allocations: 31.11 kB / 0.6159 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.7077, allocations: 0.8275 MB / 0.6167 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.7077, allocations: 9.812 kB / 0.6168 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/0.7129, allocations: 2.571 MB / 0.6193 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/0.714, allocations: 290.5 kB / 0.6195 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/0.7145, allocations: 31.98 kB / 0.6196 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7156, allocations: 79.91 kB / 0.6197 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.7158, allocations: 68.81 kB / 0.6197 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.7159, allocations: 43.61 kB / 0.6198 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.7188, allocations: 1.245 MB / 0.621 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7188, allocations: 0 / 0.621 GB, free: 10.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003976/0.7228, allocations: 0.9612 MB / 0.6219 GB, free: 9.699 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_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 (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005745/0.7233, allocations: 194.5 kB / 0.6221 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00562/0.7289, allocations: 2.373 MB / 0.6244 GB, free: 7.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.729, allocations: 0 / 0.6244 GB, free: 7.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.7305, allocations: 0.704 MB / 0.6251 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.733, allocations: 367.7 kB / 0.6255 GB, free: 6.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.7538, allocations: 6.511 MB / 0.6318 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005992/0.7598, allocations: 3.029 MB / 0.6348 GB, free: 12.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002644/0.7625, allocations: 0.8542 MB / 0.6356 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.763, allocations: 151.4 kB / 0.6358 GB, free: 11.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.223e-06/0.763, allocations: 0 / 0.6358 GB, free: 11.57 MB / 478.1 MB Notification: Performance of Templates: time 0.06053/0.8236, allocations: 27.44 MB / 0.6625 GB, free: 384 kB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.298053110949695] Failed to read output from testmodel.py, exit status != 0: 0.8346166729461402 0.850727271 0.32142262400000005 Calling exit ...