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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00154/0.00154, allocations: 216 kB / 22.24 MB, free: 5.254 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.664/1.664, allocations: 230.6 MB / 256 MB, free: 7.801 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.03007/0.03007, allocations: 5.481 MB / 317.9 MB, free: 13.55 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.002433/0.002433, allocations: 67.89 kB / 446.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1344, allocations: 54.62 MB / 0.4895 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01484/0.1493, allocations: 8.939 MB / 0.4982 GB, free: 3.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008553/0.1578, allocations: 3.383 MB / 0.5015 GB, free: 52 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.1603, allocations: 83.67 kB / 0.5016 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008778/0.1691, allocations: 3.011 MB / 0.5045 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.1736, allocations: 0.8798 MB / 0.5054 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.1767, allocations: 1.052 MB / 0.5064 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.1831, allocations: 4.258 MB / 0.5106 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.1958, allocations: 6.551 MB / 0.517 GB, free: 96 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3113/0.5071, allocations: 2.42 MB / 0.5193 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006184/0.5132, allocations: 2.531 MB / 0.5218 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.5165, allocations: 0.7185 MB / 0.5225 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004876/0.5213, allocations: 1.029 MB / 0.5235 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003511/0.5248, allocations: 1.338 MB / 0.5248 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006396/0.5312, allocations: 2.002 MB / 0.5268 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.5478, allocations: 9.211 MB / 0.5358 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5478, allocations: 1.688 kB / 0.5358 GB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5478, allocations: 0 / 0.5358 GB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004236/0.5482, allocations: 0 / 0.5358 GB, free: 11.81 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.02478/0.573, allocations: 5.347 MB / 0.541 GB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.573, allocations: 9.312 kB / 0.541 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.5852, allocations: 1.647 MB / 0.5426 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.5953, allocations: 2.952 MB / 0.5455 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/0.5958, allocations: 322 kB / 0.5458 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003035/0.5989, allocations: 412.3 kB / 0.5462 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02618/0.625, allocations: 6.705 MB / 0.5527 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000254/0.6253, allocations: 3.844 kB / 0.5527 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002509/0.6278, allocations: 175.5 kB / 0.5529 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002912/0.6281, allocations: 209.7 kB / 0.5531 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.6457, allocations: 5.646 MB / 0.5586 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05059/0.6963, allocations: 18.93 MB / 0.5771 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005779/0.7021, allocations: 2.163 MB / 0.5792 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.7036, allocations: 0.7783 MB / 0.58 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.7038, allocations: 40.97 kB / 0.58 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.7054, allocations: 0.8151 MB / 0.5808 GB, free: 6.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=106): time 4.228e-06/0.7054, allocations: 0 / 0.5808 GB, free: 6.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.005401/0.7108, allocations: 2.24 MB / 0.583 GB, free: 4.555 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.7109, allocations: 149.5 kB / 0.5831 GB, free: 4.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00469/0.7156, allocations: 1.884 MB / 0.585 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.7157, allocations: 45.7 kB / 0.585 GB, free: 2.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003037/0.7188, allocations: 2.033 MB / 0.587 GB, free: 400 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/0.7194, allocations: 403 kB / 0.5874 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/0.721, allocations: 0.5475 MB / 0.5879 GB, free: 15.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7211, allocations: 305.1 kB / 0.5882 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.7234, allocations: 1.111 MB / 0.5893 GB, free: 14.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.7269, allocations: 2.206 MB / 0.5914 GB, free: 11.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/0.7324, allocations: 3.373 MB / 0.5947 GB, free: 7.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.724e-05/0.7324, allocations: 12 kB / 0.5948 GB, free: 7.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007492/0.7399, allocations: 3.518 MB / 0.5982 GB, free: 4.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.241e-05/0.74, allocations: 53.69 kB / 0.5982 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.301e-05/0.7401, allocations: 36 kB / 0.5983 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.7407, allocations: 125.3 kB / 0.5984 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/0.7431, allocations: 0.6118 MB / 0.599 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.7454, allocations: 1.512 MB / 0.6005 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/0.7487, allocations: 365.7 kB / 0.6008 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/0.7491, allocations: 140.1 kB / 0.601 GB, free: 1.367 MB / 430.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.005022/0.7541, allocations: 1.713 MB / 0.6026 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007666/0.7549, allocations: 170.9 kB / 0.6028 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.7592, allocations: 1.812 MB / 0.6046 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003066/0.7623, allocations: 1.464 MB / 0.606 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.7623, allocations: 11.92 kB / 0.606 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.7623, allocations: 7.984 kB / 0.606 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.776, allocations: 4.066 MB / 0.61 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.776, allocations: 0 / 0.61 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/0.777, allocations: 206.5 kB / 0.6102 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007116/0.7777, allocations: 300.2 kB / 0.6105 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.7778, allocations: 27.98 kB / 0.6105 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.7792, allocations: 0.8984 MB / 0.6114 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.7792, allocations: 7.656 kB / 0.6114 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005451/0.7847, allocations: 2.661 MB / 0.614 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.7859, allocations: 286.6 kB / 0.6142 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/0.7865, allocations: 31.95 kB / 0.6143 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.7878, allocations: 83.97 kB / 0.6144 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.788, allocations: 76.8 kB / 0.6144 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/0.7881, allocations: 35.98 kB / 0.6145 GB, free: 3.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003137/0.7912, allocations: 1.233 MB / 0.6157 GB, free: 2.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7912, allocations: 0 / 0.6157 GB, free: 2.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00461/0.7959, allocations: 0.9535 MB / 0.6166 GB, free: 1.18 MB / 446.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.0006678/0.7965, allocations: 200.9 kB / 0.6168 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005477/0.802, allocations: 2.435 MB / 0.6192 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.802, allocations: 4.5 kB / 0.6192 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.8036, allocations: 0.7364 MB / 0.6199 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8063, allocations: 368.1 kB / 0.6202 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/0.8232, allocations: 6.531 MB / 0.6266 GB, free: 6.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007075/0.8302, allocations: 2.479 MB / 0.629 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00287/0.8331, allocations: 0.8609 MB / 0.6299 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.8337, allocations: 143.4 kB / 0.63 GB, free: 3.445 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.8337, allocations: 0 / 0.63 GB, free: 3.445 MB / 462.1 MB Notification: Performance of Templates: time 0.05649/0.8902, allocations: 27.44 MB / 0.6568 GB, free: 8.406 MB / 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.580982280895114] Failed to read output from testmodel.py, exit status != 0: 0.9010599497705698 0.915624805 0.36420854500000005 Calling exit ...