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.001859/0.001859, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002282/0.002282, allocations: 156.7 kB / 23.01 MB, free: 4.598 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.507/1.507, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.02893/0.02893, allocations: 4.234 MB / 264 MB, free: 12.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.002128/0.002128, allocations: 67.89 kB / 392.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.102, allocations: 54.57 MB / 447.2 MB, free: 4.727 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01276/0.1147, allocations: 8.952 MB / 456.2 MB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007337/0.1221, allocations: 3.406 MB / 459.6 MB, free: 8.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.1236, allocations: 75.62 kB / 459.7 MB, free: 8.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008152/0.1318, allocations: 3.17 MB / 462.9 MB, free: 5.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004022/0.1358, allocations: 0.8721 MB / 463.7 MB, free: 4.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.1391, allocations: 1.056 MB / 464.8 MB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006443/0.1455, allocations: 4.265 MB / 469 MB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.1581, allocations: 6.543 MB / 475.6 MB, free: 8.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.1621, allocations: 2.424 MB / 478 MB, free: 5.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.167, allocations: 2.534 MB / 480.5 MB, free: 3.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002102/0.1691, allocations: 0.7227 MB / 481.3 MB, free: 2.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.1722, allocations: 1.023 MB / 482.3 MB, free: 1.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002123/0.1743, allocations: 1.333 MB / 483.6 MB, free: 148 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2012/0.3755, allocations: 2.007 MB / 485.6 MB, free: 59.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.3821, allocations: 9.205 MB / 494.8 MB, free: 58.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3821, allocations: 0 / 494.8 MB, free: 58.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3821, allocations: 1.219 kB / 494.8 MB, free: 58.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001853/0.3823, allocations: 3.188 kB / 494.8 MB, free: 58.77 MB / 446.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.01297/0.3953, allocations: 5.35 MB / 0.4885 GB, free: 57.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3953, allocations: 13.3 kB / 0.4885 GB, free: 57.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00984/0.4052, allocations: 1.643 MB / 0.4901 GB, free: 56.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006879/0.412, allocations: 2.946 MB / 0.493 GB, free: 55.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.4122, allocations: 321.8 kB / 0.4933 GB, free: 55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.4137, allocations: 419.4 kB / 0.4937 GB, free: 54.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.4271, allocations: 6.705 MB / 0.5002 GB, free: 52.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.4272, allocations: 1.797 kB / 0.5002 GB, free: 52.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005323/0.4277, allocations: 174.9 kB / 0.5004 GB, free: 52.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002459/0.428, allocations: 204.6 kB / 0.5006 GB, free: 52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.4406, allocations: 5.645 MB / 0.5061 GB, free: 49.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03731/0.4779, allocations: 18.94 MB / 0.5246 GB, free: 39.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005392/0.4833, allocations: 2.173 MB / 0.5267 GB, free: 38.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.4846, allocations: 0.7803 MB / 0.5275 GB, free: 38.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.4848, allocations: 42.66 kB / 0.5275 GB, free: 38.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001253/0.486, allocations: 0.8137 MB / 0.5283 GB, free: 37.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=106): time 4.508e-06/0.486, allocations: 0 / 0.5283 GB, free: 37.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.004709/0.4907, allocations: 2.233 MB / 0.5305 GB, free: 36.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.4908, allocations: 152.5 kB / 0.5306 GB, free: 36.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.494, allocations: 1.884 MB / 0.5325 GB, free: 35.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.823e-05/0.4941, allocations: 41.08 kB / 0.5325 GB, free: 35.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001652/0.4958, allocations: 2.042 MB / 0.5345 GB, free: 34.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.4962, allocations: 405.3 kB / 0.5349 GB, free: 33.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009425/0.4971, allocations: 0.5477 MB / 0.5354 GB, free: 33.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.4972, allocations: 303.4 kB / 0.5357 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.4989, allocations: 1.111 MB / 0.5368 GB, free: 33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.5011, allocations: 2.202 MB / 0.5389 GB, free: 31.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.5047, allocations: 3.377 MB / 0.5422 GB, free: 28.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.339e-05/0.5048, allocations: 15.31 kB / 0.5423 GB, free: 28.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005735/0.5105, allocations: 3.515 MB / 0.5457 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.5106, allocations: 49.69 kB / 0.5457 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.017e-05/0.5107, allocations: 36.22 kB / 0.5458 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/0.5112, allocations: 131 kB / 0.5459 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.5131, allocations: 0.6027 MB / 0.5465 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.5143, allocations: 1.513 MB / 0.548 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.5165, allocations: 377.8 kB / 0.5483 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/0.5168, allocations: 136 kB / 0.5485 GB, free: 23.83 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.002342/0.5191, allocations: 1.714 MB / 0.5501 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/0.5195, allocations: 166.9 kB / 0.5503 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.5224, allocations: 1.819 MB / 0.5521 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002046/0.5244, allocations: 1.463 MB / 0.5535 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.5244, allocations: 7.625 kB / 0.5535 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.5245, allocations: 7.969 kB / 0.5535 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008231/0.5327, allocations: 4.058 MB / 0.5575 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.5327, allocations: 4 kB / 0.5575 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.5335, allocations: 217 kB / 0.5577 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005441/0.534, allocations: 291.8 kB / 0.558 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.5341, allocations: 31.98 kB / 0.558 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/0.535, allocations: 0.8917 MB / 0.5589 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.535, allocations: 0 / 0.5589 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0037/0.5387, allocations: 2.672 MB / 0.5615 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/0.5395, allocations: 286.6 kB / 0.5617 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/0.54, allocations: 27.95 kB / 0.5618 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.541, allocations: 79.91 kB / 0.5618 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.5411, allocations: 76.8 kB / 0.5619 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.5412, allocations: 35.98 kB / 0.562 GB, free: 9.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.5433, allocations: 1.229 MB / 0.5632 GB, free: 8.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5433, allocations: 12 kB / 0.5632 GB, free: 8.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002777/0.546, allocations: 0.9608 MB / 0.5641 GB, free: 7.648 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.0003856/0.5464, allocations: 185.9 kB / 0.5643 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003496/0.5499, allocations: 2.435 MB / 0.5667 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5499, allocations: 0 / 0.5667 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.551, allocations: 0.7439 MB / 0.5674 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.5527, allocations: 361 kB / 0.5677 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5639, allocations: 6.529 MB / 0.5741 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003707/0.5676, allocations: 2.491 MB / 0.5765 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00235/0.5699, allocations: 0.8461 MB / 0.5774 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.5704, allocations: 148.5 kB / 0.5775 GB, free: 9.938 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5704, allocations: 4 kB / 0.5775 GB, free: 9.934 MB / 462.1 MB Notification: Performance of Templates: time 0.04839/0.6188, allocations: 23.65 MB / 0.6006 GB, free: 2.637 MB / 478.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 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 480] Could not SIGINT process: 4158777. Could not SIGINT process: 4158778. Could not SIGINT process: 4158781. Could not SIGINT process: 4158075. [Calling os._exit(0), Time elapsed: 485.69200090900995] Failed to read output from testmodel.py, exit status != 0: 0.6291646970203146 0.644522264 0.258939273 Calling exit ...