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.001303/0.001303, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001451/0.001451, allocations: 164.3 kB / 22.46 MB, free: 5.359 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.422/1.422, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.02835/0.02835, allocations: 4.223 MB / 263.4 MB, free: 12.6 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.334e-05, allocations: 2.281 kB / 392.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.009226/0.009259, allocations: 5.72 MB / 397.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005/0.01426, allocations: 2.441 MB / 400.4 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.01483, allocations: 19.94 kB / 400.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002797/0.01762, allocations: 1.084 MB / 401.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.01942, allocations: 0.6133 MB / 402.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.02029, allocations: 363.2 kB / 402.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.02182, allocations: 1.198 MB / 403.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.0232, allocations: 0.8598 MB / 404.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.02423, allocations: 0.7055 MB / 405.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.02487, allocations: 450.7 kB / 405.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.02504, allocations: 128 kB / 405.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.02567, allocations: 287.7 kB / 406 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.02591, allocations: 259.1 kB / 406.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.02637, allocations: 383 kB / 406.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.02827, allocations: 1.546 MB / 408.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.02828, allocations: 3.984 kB / 408.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02828, allocations: 0 / 408.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.0283, allocations: 0 / 408.2 MB, free: 10.02 MB / 334.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.004025/0.03233, allocations: 1.476 MB / 409.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.03238, allocations: 12.03 kB / 409.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.0346, allocations: 348 kB / 410 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.0362, allocations: 0.6167 MB / 410.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.03627, allocations: 70.38 kB / 410.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.03643, allocations: 92.38 kB / 410.8 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.03836, allocations: 1.03 MB / 411.9 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.03839, allocations: 11.89 kB / 411.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.03848, allocations: 40 kB / 411.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.03851, allocations: 24 kB / 411.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.04032, allocations: 0.8683 MB / 412.8 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.04623, allocations: 3.16 MB / 416 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.04821, allocations: 0.6313 MB / 416.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.04876, allocations: 247.8 kB / 416.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.58e-05/0.04885, allocations: 19.98 kB / 416.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006894/0.04954, allocations: 351.9 kB / 417.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 3.035e-06/0.04954, allocations: 0 / 417.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.003039/0.05258, allocations: 0.9371 MB / 418.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.05269, allocations: 144.5 kB / 418.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007862/0.05347, allocations: 0.4978 MB / 418.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.05352, allocations: 37.64 kB / 418.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.054, allocations: 479.6 kB / 419.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.05416, allocations: 170.6 kB / 419.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.05442, allocations: 150.5 kB / 419.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.05462, allocations: 366.7 kB / 419.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.0552, allocations: 263.6 kB / 420.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.05596, allocations: 459.1 kB / 420.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.0573, allocations: 0.7066 MB / 421.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.05731, allocations: 0 / 421.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002102/0.05941, allocations: 0.8799 MB / 422.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.05947, allocations: 37.69 kB / 422.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.05949, allocations: 4 kB / 422.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.06002, allocations: 88.97 kB / 422.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.0608, allocations: 171.7 kB / 422.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.06271, allocations: 1.448 MB / 424 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.06348, allocations: 79.5 kB / 424.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.06355, allocations: 35.98 kB / 424.1 MB, free: 9.43 MB / 350.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.0005452/0.06409, allocations: 278.6 kB / 424.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.06421, allocations: 67.66 kB / 424.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.06597, allocations: 0.7285 MB / 425.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.06598, allocations: 4 kB / 425.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.06598, allocations: 4 kB / 425.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.06599, allocations: 3.984 kB / 425.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.06908, allocations: 1.389 MB / 426.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.06909, allocations: 0 / 426.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.06944, allocations: 79.83 kB / 426.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/0.07014, allocations: 300 kB / 426.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.07018, allocations: 11.98 kB / 426.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.07145, allocations: 0.8931 MB / 427.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.07146, allocations: 0 / 427.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.0739, allocations: 1.115 MB / 429 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.07415, allocations: 107.5 kB / 429.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.07426, allocations: 11.94 kB / 429.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.07473, allocations: 35.97 kB / 429.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.07482, allocations: 27.95 kB / 429.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/0.07487, allocations: 28.05 kB / 429.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004819/0.07535, allocations: 334.9 kB / 429.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.07535, allocations: 0 / 429.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008756/0.07623, allocations: 243.3 kB / 429.7 MB, free: 3.586 MB / 350.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.0003569/0.07659, allocations: 162 kB / 429.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.07841, allocations: 0.791 MB / 430.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.07841, allocations: 0 / 430.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.07912, allocations: 318.5 kB / 431 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.07979, allocations: 97.83 kB / 431.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.08239, allocations: 1.319 MB / 432.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.08277, allocations: 356 kB / 432.7 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003248/0.08309, allocations: 88.88 kB / 432.8 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.08325, allocations: 52.48 kB / 432.9 MB, free: 300 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.08325, allocations: 0 / 432.9 MB, free: 300 kB / 350.1 MB Notification: Performance of Templates: time 0.01628/0.09953, allocations: 7.588 MB / 440.5 MB, free: 8.809 MB / 366.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.793401807546616] Failed to read output from testmodel.py, exit status != 0: 0.10880521684885025 0.303883868 0.272852904 Calling exit ...