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.001505/0.001505, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001396/0.001396, allocations: 216.9 kB / 22.99 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.02867/0.02867, allocations: 5.491 MB / 318.7 MB, free: 13.52 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.002005/0.002005, allocations: 63.91 kB / 447.3 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.1001, allocations: 54.62 MB / 0.4902 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.008099/0.1082, allocations: 5.704 MB / 0.4958 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.1124, allocations: 2.437 MB / 0.4982 GB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.1127, allocations: 27.94 kB / 0.4982 GB, free: 4.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.1152, allocations: 1.044 MB / 0.4992 GB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.1166, allocations: 0.598 MB / 0.4998 GB, free: 2.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.1173, allocations: 359.3 kB / 0.5001 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.1186, allocations: 1.149 MB / 0.5012 GB, free: 1.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.1198, allocations: 0.8637 MB / 0.5021 GB, free: 148 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.1204, allocations: 498.4 kB / 0.5026 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.1211, allocations: 0.4977 MB / 0.5031 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.1212, allocations: 128 kB / 0.5032 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.1218, allocations: 291.7 kB / 0.5035 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.122, allocations: 251.2 kB / 0.5037 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.1225, allocations: 453.9 kB / 0.5041 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.1242, allocations: 1.51 MB / 0.5056 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1242, allocations: 0 / 0.5056 GB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1242, allocations: 0 / 0.5056 GB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1242, allocations: 0 / 0.5056 GB, free: 12.54 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003669/0.1279, allocations: 1.496 MB / 0.5071 GB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1279, allocations: 8.031 kB / 0.5071 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.13, allocations: 348 kB / 0.5074 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.1315, allocations: 0.6214 MB / 0.508 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.1316, allocations: 70.12 kB / 0.5081 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.1318, allocations: 99.95 kB / 0.5082 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.1336, allocations: 1.022 MB / 0.5092 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.1336, allocations: 4 kB / 0.5092 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.1337, allocations: 39.98 kB / 0.5092 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1337, allocations: 24 kB / 0.5092 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.1354, allocations: 0.8721 MB / 0.5101 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005534/0.141, allocations: 3.158 MB / 0.5132 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.1427, allocations: 0.6242 MB / 0.5138 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.1432, allocations: 255.7 kB / 0.514 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/0.1433, allocations: 19.98 kB / 0.514 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.1439, allocations: 351.5 kB / 0.5144 GB, free: 3.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.1439, allocations: 0 / 0.5144 GB, free: 3.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.00269/0.1466, allocations: 0.937 MB / 0.5153 GB, free: 2.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.1467, allocations: 152.4 kB / 0.5154 GB, free: 2.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/0.1474, allocations: 0.4978 MB / 0.5159 GB, free: 1.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.1475, allocations: 37.7 kB / 0.516 GB, free: 1.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.1479, allocations: 483.6 kB / 0.5164 GB, free: 1.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1481, allocations: 166.6 kB / 0.5166 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.1483, allocations: 150.5 kB / 0.5167 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1485, allocations: 358.8 kB / 0.5171 GB, free: 408 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.149, allocations: 259.6 kB / 0.5173 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2055/0.3545, allocations: 463.1 kB / 0.5178 GB, free: 32.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.3556, allocations: 0.7033 MB / 0.5184 GB, free: 32.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3556, allocations: 0 / 0.5184 GB, free: 32.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001669/0.3572, allocations: 0.879 MB / 0.5193 GB, free: 31.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.3573, allocations: 43.22 kB / 0.5193 GB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3573, allocations: 8.281 kB / 0.5193 GB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.3577, allocations: 83.33 kB / 0.5194 GB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.3584, allocations: 171.8 kB / 0.5196 GB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.3595, allocations: 1.448 MB / 0.521 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.3601, allocations: 87.5 kB / 0.5211 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.3602, allocations: 38.45 kB / 0.5211 GB, free: 30.56 MB / 382.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.0003399/0.3605, allocations: 271.2 kB / 0.5214 GB, free: 30.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.3606, allocations: 64.94 kB / 0.5214 GB, free: 30.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.362, allocations: 0.7308 MB / 0.5222 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.362, allocations: 3.781 kB / 0.5222 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.362, allocations: 1.062 kB / 0.5222 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.362, allocations: 2.766 kB / 0.5222 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.3646, allocations: 1.388 MB / 0.5235 GB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3646, allocations: 1.438 kB / 0.5235 GB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.3649, allocations: 76.91 kB / 0.5236 GB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005642/0.3655, allocations: 289 kB / 0.5239 GB, free: 29.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.3655, allocations: 22.23 kB / 0.5239 GB, free: 29.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/0.3664, allocations: 0.8932 MB / 0.5248 GB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3664, allocations: 1.438 kB / 0.5248 GB, free: 29.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3684, allocations: 1.102 MB / 0.5258 GB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.3686, allocations: 101.5 kB / 0.5259 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.3687, allocations: 14.73 kB / 0.526 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.3691, allocations: 40.12 kB / 0.526 GB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.671e-05/0.3692, allocations: 36.83 kB / 0.526 GB, free: 28.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.3692, allocations: 18.09 kB / 0.526 GB, free: 28.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.3696, allocations: 340.7 kB / 0.5264 GB, free: 28.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 0.5264 GB, free: 28.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007711/0.3704, allocations: 243.1 kB / 0.5266 GB, free: 28.72 MB / 382.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.0002243/0.3706, allocations: 161.1 kB / 0.5268 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.372, allocations: 0.7805 MB / 0.5275 GB, free: 28.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.372, allocations: 0 / 0.5275 GB, free: 28.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.3726, allocations: 328.4 kB / 0.5278 GB, free: 28.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.3731, allocations: 84.05 kB / 0.5279 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.3753, allocations: 1.419 MB / 0.5293 GB, free: 27.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3756, allocations: 352.2 kB / 0.5296 GB, free: 27.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3758, allocations: 56.8 kB / 0.5297 GB, free: 27.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3758, allocations: 0 / 0.5297 GB, free: 27.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01779/0.3936, allocations: 13.35 MB / 0.5427 GB, free: 22.45 MB / 382.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: 7.351015860680491] Failed to read output from testmodel.py, exit status != 0: 0.4006009977310896 0.409751583 0.28346235000000003 Calling exit ...