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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02879/0.02879, allocations: 5.471 MB / 310 MB, free: 2.965 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 75.86 kB / 435.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2603, allocations: 53.38 MB / 489 MB, free: 28.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01057/0.2708, allocations: 10.21 MB / 499.2 MB, free: 21.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.2789, allocations: 3.549 MB / 0.491 GB, free: 18.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.2813, allocations: 69.72 kB / 0.4911 GB, free: 18.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007134/0.2885, allocations: 3.266 MB / 0.4943 GB, free: 16.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.2931, allocations: 1.023 MB / 0.4953 GB, free: 16.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.2957, allocations: 0.9626 MB / 0.4962 GB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005712/0.3014, allocations: 4.238 MB / 0.5003 GB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00987/0.3113, allocations: 6.344 MB / 0.5065 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.3152, allocations: 2.377 MB / 0.5089 GB, free: 7.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004613/0.3198, allocations: 2.657 MB / 0.5114 GB, free: 5.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.3218, allocations: 0.7229 MB / 0.5122 GB, free: 5.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.326, allocations: 0.988 MB / 0.5131 GB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002299/0.3283, allocations: 1.333 MB / 0.5144 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003555/0.3319, allocations: 2.607 MB / 0.517 GB, free: 188 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.3433, allocations: 9.132 MB / 0.5259 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3433, allocations: 0 / 0.5259 GB, free: 7.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3433, allocations: 0 / 0.5259 GB, free: 7.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002257/0.3436, allocations: 0 / 0.5259 GB, free: 7.023 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.01429/0.3579, allocations: 5.429 MB / 0.5312 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3579, allocations: 12.03 kB / 0.5312 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009221/0.3671, allocations: 1.61 MB / 0.5328 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006279/0.3734, allocations: 2.948 MB / 0.5356 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.3737, allocations: 320.5 kB / 0.536 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.3752, allocations: 423.9 kB / 0.5364 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.3885, allocations: 6.668 MB / 0.5429 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-05/0.3886, allocations: 4 kB / 0.5429 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004392/0.389, allocations: 168 kB / 0.543 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/0.3892, allocations: 215.9 kB / 0.5432 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.3997, allocations: 5.617 MB / 0.5487 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/0.4399, allocations: 22.53 MB / 0.5707 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/0.4467, allocations: 4.265 MB / 0.5749 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.4485, allocations: 0.7457 MB / 0.5756 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.4487, allocations: 118 kB / 0.5757 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.4501, allocations: 0.7823 MB / 0.5765 GB, free: 1.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=106): time 2.936e-06/0.4501, allocations: 0 / 0.5765 GB, free: 1.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=106): time 0.005281/0.4554, allocations: 2.225 MB / 0.5787 GB, free: 15.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.4555, allocations: 145.5 kB / 0.5788 GB, free: 15.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/0.4592, allocations: 1.823 MB / 0.5806 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.4594, allocations: 45.7 kB / 0.5806 GB, free: 13.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/0.4616, allocations: 2.034 MB / 0.5826 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005917/0.4622, allocations: 404.8 kB / 0.583 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009184/0.4631, allocations: 0.5397 MB / 0.5835 GB, free: 10.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4633, allocations: 301.1 kB / 0.5838 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.4652, allocations: 1.086 MB / 0.5849 GB, free: 8.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.4679, allocations: 2.173 MB / 0.587 GB, free: 6.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.4725, allocations: 3.369 MB / 0.5903 GB, free: 2.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/0.4725, allocations: 12 kB / 0.5903 GB, free: 2.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.0067/0.4792, allocations: 3.491 MB / 0.5937 GB, free: 14.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.4793, allocations: 45.7 kB / 0.5938 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.42e-05/0.4794, allocations: 40 kB / 0.5938 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/0.4799, allocations: 128.9 kB / 0.5939 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.4829, allocations: 0.6044 MB / 0.5945 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.4854, allocations: 1.636 MB / 0.5961 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.4889, allocations: 385.7 kB / 0.5965 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/0.4895, allocations: 135.9 kB / 0.5966 GB, free: 11.76 MB / 462.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.00448/0.494, allocations: 1.716 MB / 0.5983 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006648/0.4947, allocations: 166.9 kB / 0.5984 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/0.4999, allocations: 1.743 MB / 0.6001 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003595/0.5035, allocations: 1.387 MB / 0.6015 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.5035, allocations: 4 kB / 0.6015 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.5035, allocations: 3.984 kB / 0.6015 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.5192, allocations: 5.105 MB / 0.6065 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.5192, allocations: 0 / 0.6065 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.5206, allocations: 211.7 kB / 0.6067 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009043/0.5215, allocations: 254.5 kB / 0.6069 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.5217, allocations: 35.92 kB / 0.607 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.5234, allocations: 0.8351 MB / 0.6078 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.5234, allocations: 3.938 kB / 0.6078 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2864/0.8098, allocations: 2.691 MB / 0.6104 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/0.8106, allocations: 373.3 kB / 0.6108 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8108, allocations: 23.06 kB / 0.6108 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/0.8117, allocations: 91.81 kB / 0.6109 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.8119, allocations: 68.98 kB / 0.6109 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.811e-05/0.812, allocations: 35.52 kB / 0.611 GB, free: 102.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.8141, allocations: 1.24 MB / 0.6122 GB, free: 101.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8141, allocations: 3.5 kB / 0.6122 GB, free: 101.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003055/0.8172, allocations: 0.9576 MB / 0.6131 GB, free: 101.7 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.000412/0.8176, allocations: 189.4 kB / 0.6133 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.822, allocations: 2.364 MB / 0.6156 GB, free: 100.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.822, allocations: 3.938 kB / 0.6156 GB, free: 100.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.8232, allocations: 0.6984 MB / 0.6163 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.825, allocations: 380.4 kB / 0.6167 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.8357, allocations: 6.527 MB / 0.623 GB, free: 97.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/0.8385, allocations: 3.028 MB / 0.626 GB, free: 95.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002204/0.8407, allocations: 0.8513 MB / 0.6268 GB, free: 95.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.8411, allocations: 143.9 kB / 0.627 GB, free: 95.77 MB / 462.1 MB Notification: Performance of SimCode: time 8.32e-07/0.8411, allocations: 0 / 0.627 GB, free: 95.77 MB / 462.1 MB Notification: Performance of Templates: time 0.04026/0.8814, allocations: 26.15 MB / 0.6525 GB, free: 82.5 MB / 462.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: 5.7985257701948285]