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.0008782/0.0008782, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008903/0.0008903, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9664/0.9664, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.01732/0.01732, allocations: 4.237 MB / 264.5 MB, free: 8.816 MB / 250.7 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.883e-06/1.883e-06, allocations: 0 / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.973e-05, allocations: 2.312 kB / 286.3 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.1337/0.1337, allocations: 6.106 MB / 292.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.1381, allocations: 2.588 MB / 295 MB, free: 20.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.1387, allocations: 22.28 kB / 295 MB, free: 20.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.1405, allocations: 1.172 MB / 296.2 MB, free: 20.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1419, allocations: 0.6272 MB / 296.8 MB, free: 19.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.1427, allocations: 360.8 kB / 297.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.144, allocations: 1.192 MB / 298.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.1451, allocations: 0.8983 MB / 299.3 MB, free: 18.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000976/0.1461, allocations: 0.7212 MB / 300 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.1468, allocations: 458.3 kB / 300.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.147, allocations: 121.2 kB / 300.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005815/0.1476, allocations: 290.1 kB / 300.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1478, allocations: 248.3 kB / 301.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.1481, allocations: 372.9 kB / 301.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1493, allocations: 0.9614 MB / 302.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1493, allocations: 4 kB / 302.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1493, allocations: 0 / 302.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.1493, allocations: 1.25 kB / 302.4 MB, free: 16.96 MB / 266.7 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.002259/0.1516, allocations: 1.423 MB / 303.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1516, allocations: 8.25 kB / 303.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.1529, allocations: 489.6 kB / 304.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.1536, allocations: 392.7 kB / 304.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.1536, allocations: 74.28 kB / 304.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.856e-05/0.1537, allocations: 90.75 kB / 304.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/0.1547, allocations: 0.7545 MB / 305.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.1547, allocations: 3.953 kB / 305.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.1547, allocations: 38.19 kB / 305.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.1548, allocations: 22.06 kB / 305.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.1553, allocations: 355.1 kB / 306 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.1586, allocations: 2.69 MB / 308.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.1593, allocations: 0.5003 MB / 309.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1594, allocations: 139.8 kB / 309.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/0.1595, allocations: 19.98 kB / 309.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.1597, allocations: 256 kB / 309.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.844e-06/0.1597, allocations: 0 / 309.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008092/0.1605, allocations: 0.5076 MB / 310.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1605, allocations: 140.5 kB / 310.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.1608, allocations: 447 kB / 310.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1608, allocations: 33.7 kB / 310.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.1609, allocations: 452.6 kB / 311.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.161, allocations: 166.6 kB / 311.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1611, allocations: 150.5 kB / 311.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.1612, allocations: 370.6 kB / 311.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1613, allocations: 115.6 kB / 312 MB, free: 9.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1614, allocations: 314.5 kB / 312.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.1617, allocations: 475.6 kB / 312.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1618, allocations: 4 kB / 312.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0005649/0.1623, allocations: 0.5288 MB / 313.3 MB, free: 7.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.1624, allocations: 37.83 kB / 313.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1624, allocations: 4 kB / 313.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.1626, allocations: 84.78 kB / 313.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1629, allocations: 168.6 kB / 313.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006747/0.1635, allocations: 1.348 MB / 314.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.1639, allocations: 87.45 kB / 315 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.1639, allocations: 27.98 kB / 315 MB, free: 5.988 MB / 266.7 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.0001581/0.1641, allocations: 191.4 kB / 315.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.1641, allocations: 59.88 kB / 315.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.1645, allocations: 428.4 kB / 315.7 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.1645, allocations: 11.94 kB / 315.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1645, allocations: 4 kB / 315.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1645, allocations: 0 / 315.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.1656, allocations: 0.876 MB / 316.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1656, allocations: 0 / 316.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1657, allocations: 79.92 kB / 316.7 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/0.166, allocations: 245.9 kB / 316.9 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.166, allocations: 19.92 kB / 316.9 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000301/0.1663, allocations: 0.7308 MB / 317.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1663, allocations: 32 / 317.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.1668, allocations: 0.6486 MB / 318.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.167, allocations: 59.59 kB / 318.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.167, allocations: 19.92 kB / 318.4 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1672, allocations: 31.98 kB / 318.4 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.1672, allocations: 31.92 kB / 318.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1673, allocations: 19.97 kB / 318.5 MB, free: 2.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1674, allocations: 192.4 kB / 318.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1674, allocations: 0 / 318.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006036/0.168, allocations: 247.3 kB / 318.9 MB, free: 1.938 MB / 266.7 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.0002426/0.1683, allocations: 136.9 kB / 319 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/0.1688, allocations: 0.5769 MB / 319.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/0.1688, allocations: 12.5 kB / 319.6 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.169, allocations: 245 kB / 319.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1693, allocations: 108 kB / 320 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.171, allocations: 1.277 MB / 321.2 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.1711, allocations: 153.7 kB / 321.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.1713, allocations: 76.75 kB / 321.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.1715, allocations: 155.3 kB / 321.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1715, allocations: 0 / 321.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01277/0.1843, allocations: 8.821 MB / 330.4 MB, free: 6.41 MB / 282.7 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=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0674677630886436]