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.001839/0.001839, allocations: 83.73 kB / 19.76 MB, free: 2.02 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.002305/0.002305, allocations: 161.8 kB / 23 MB, free: 4.945 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.02805/0.02805, allocations: 4.224 MB / 264 MB, free: 12.54 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.003603/0.003603, allocations: 71.83 kB / 392.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1379, allocations: 54.57 MB / 447.2 MB, free: 4.727 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.009721/0.1476, allocations: 5.729 MB / 453 MB, free: 14.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.1529, allocations: 2.449 MB / 455.4 MB, free: 12.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008947/0.1538, allocations: 19.94 kB / 455.4 MB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1568, allocations: 1.075 MB / 456.5 MB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.1587, allocations: 0.6071 MB / 457.1 MB, free: 10.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.1596, allocations: 363.2 kB / 457.5 MB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1613, allocations: 1.153 MB / 458.6 MB, free: 9.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.163, allocations: 0.8482 MB / 459.5 MB, free: 8.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008403/0.1638, allocations: 494.2 kB / 460 MB, free: 7.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.1648, allocations: 0.5093 MB / 460.5 MB, free: 7.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.1651, allocations: 128 kB / 460.6 MB, free: 7.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007362/0.1658, allocations: 283.9 kB / 460.9 MB, free: 7.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.1661, allocations: 259.1 kB / 461.1 MB, free: 6.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.1668, allocations: 454 kB / 461.6 MB, free: 6.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.169, allocations: 1.514 MB / 463.1 MB, free: 4.785 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.169, allocations: 0 / 463.1 MB, free: 4.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.169, allocations: 0 / 463.1 MB, free: 4.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.558e-05/0.1691, allocations: 0 / 463.1 MB, free: 4.785 MB / 430.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.004495/0.1736, allocations: 1.492 MB / 464.6 MB, free: 3.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1736, allocations: 8.031 kB / 464.6 MB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002308/0.1759, allocations: 356 kB / 464.9 MB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.1777, allocations: 0.6136 MB / 465.5 MB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.1778, allocations: 78.12 kB / 465.6 MB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.1779, allocations: 95.92 kB / 465.7 MB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.18, allocations: 1.026 MB / 466.7 MB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.1801, allocations: 7.938 kB / 466.8 MB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.1801, allocations: 40 kB / 466.8 MB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1802, allocations: 20 kB / 466.8 MB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.1821, allocations: 0.8645 MB / 467.7 MB, free: 92 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.1882, allocations: 3.152 MB / 470.8 MB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.1901, allocations: 0.6246 MB / 471.5 MB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.1907, allocations: 251.7 kB / 471.7 MB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-05/0.1908, allocations: 19.98 kB / 471.7 MB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006508/0.1914, allocations: 359.8 kB / 472.1 MB, free: 11.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.1914, allocations: 0 / 472.1 MB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.002901/0.1943, allocations: 0.9409 MB / 473 MB, free: 10.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1944, allocations: 148.4 kB / 473.2 MB, free: 10.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.1952, allocations: 0.5017 MB / 473.7 MB, free: 9.848 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.1952, allocations: 33.7 kB / 473.7 MB, free: 9.809 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.1957, allocations: 475.6 kB / 474.2 MB, free: 9.336 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.1958, allocations: 170.6 kB / 474.3 MB, free: 9.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.1961, allocations: 146.5 kB / 474.5 MB, free: 9.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1963, allocations: 362.8 kB / 474.8 MB, free: 8.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.1969, allocations: 263.6 kB / 475.1 MB, free: 8.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.1976, allocations: 462.4 kB / 475.5 MB, free: 7.855 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1989, allocations: 0.7104 MB / 476.2 MB, free: 7.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.1989, allocations: 7.938 kB / 476.2 MB, free: 7.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001966/0.2008, allocations: 0.8839 MB / 477.1 MB, free: 6.137 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.2009, allocations: 37.64 kB / 477.2 MB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2009, allocations: 12 kB / 477.2 MB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.2014, allocations: 84.77 kB / 477.3 MB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.2021, allocations: 175.8 kB / 477.4 MB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.2039, allocations: 1.436 MB / 478.9 MB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007267/0.2046, allocations: 91.64 kB / 479 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.2047, allocations: 31.98 kB / 479 MB, free: 4.156 MB / 446.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.0005054/0.2052, allocations: 275.2 kB / 479.3 MB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.2054, allocations: 63.66 kB / 479.3 MB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.2071, allocations: 0.7324 MB / 480.1 MB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2071, allocations: 8 kB / 480.1 MB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2071, allocations: 0 / 480.1 MB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2071, allocations: 0 / 480.1 MB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.2102, allocations: 1.393 MB / 481.5 MB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2102, allocations: 0 / 481.5 MB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.2105, allocations: 71.91 kB / 481.5 MB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007003/0.2112, allocations: 296 kB / 481.8 MB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.2113, allocations: 12 kB / 481.8 MB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.2125, allocations: 0.8931 MB / 482.7 MB, free: 264 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2125, allocations: 0 / 482.7 MB, free: 264 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1936/0.4061, allocations: 1.099 MB / 483.8 MB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.4064, allocations: 108.9 kB / 483.9 MB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4065, allocations: 16.88 kB / 483.9 MB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.407, allocations: 33.7 kB / 484 MB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.4071, allocations: 31.61 kB / 484 MB, free: 79.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.4071, allocations: 20.27 kB / 484 MB, free: 79.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.4075, allocations: 341.3 kB / 484.4 MB, free: 79.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4075, allocations: 0 / 484.4 MB, free: 79.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007966/0.4083, allocations: 245 kB / 484.6 MB, free: 79.3 MB / 446.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.0002667/0.4085, allocations: 161 kB / 484.8 MB, free: 79.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.41, allocations: 0.781 MB / 485.5 MB, free: 78.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.41, allocations: 3.219 kB / 485.5 MB, free: 78.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.4106, allocations: 319.5 kB / 485.8 MB, free: 78.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.4112, allocations: 89.05 kB / 485.9 MB, free: 78.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4136, allocations: 1.383 MB / 487.3 MB, free: 78.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.4138, allocations: 354.2 kB / 487.7 MB, free: 78.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002982/0.4141, allocations: 80.62 kB / 487.7 MB, free: 78.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4143, allocations: 52.39 kB / 487.8 MB, free: 78.14 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4143, allocations: 0 / 487.8 MB, free: 78.14 MB / 446.1 MB Notification: Performance of Templates: time 0.01366/0.4279, allocations: 7.618 MB / 495.4 MB, free: 77.3 MB / 446.1 MB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 480] Could not SIGINT process: 4158691. Could not SIGINT process: 4158692. Could not SIGINT process: 4158695. Could not SIGINT process: 4158048. [Calling os._exit(0), Time elapsed: 484.99853111302946] Failed to read output from testmodel.py, exit status != 0: 0.4391694349469617 0.44906140800000005 0.277043403 Calling exit ...