Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.001043/0.001043, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001175/0.001175, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9873/0.9873, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.01792/0.01792, allocations: 4.229 MB / 265.3 MB, free: 8.758 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.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 340.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.203e-05, allocations: 5.125 kB / 340.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.003062/0.003084, allocations: 3.355 MB / 343.7 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004405, allocations: 1.262 MB / 344.9 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.004554, allocations: 4 kB / 344.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.004939, allocations: 202.8 kB / 345.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.005249, allocations: 166.7 kB / 345.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.005401, allocations: 127.8 kB / 345.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.005799, allocations: 0.5757 MB / 346 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.005943, allocations: 88.61 kB / 346.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.006219, allocations: 331.2 kB / 346.4 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.006394, allocations: 179.5 kB / 346.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.006436, allocations: 44 kB / 346.6 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.006515, allocations: 63.92 kB / 346.7 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.00657, allocations: 87.67 kB / 346.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.006666, allocations: 151.6 kB / 346.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.006965, allocations: 346.7 kB / 347.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.006967, allocations: 0 / 347.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006968, allocations: 0 / 347.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.006972, allocations: 0 / 347.3 MB, free: 3.996 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009098/0.007882, allocations: 0.768 MB / 348 MB, free: 3.191 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.00791, allocations: 8.031 kB / 348 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.007993, allocations: 64.66 kB / 348.1 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.008386, allocations: 327.5 kB / 348.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.008401, allocations: 16.88 kB / 348.4 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.008426, allocations: 28.31 kB / 348.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.008694, allocations: 270.2 kB / 348.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.008704, allocations: 0 / 348.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.008724, allocations: 7.984 kB / 348.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.008733, allocations: 8 kB / 348.8 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.008878, allocations: 91.36 kB / 348.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.0101, allocations: 1.214 MB / 350.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.01028, allocations: 114.9 kB / 350.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.01037, allocations: 63.62 kB / 350.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01039, allocations: 4 kB / 350.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01041, allocations: 37.39 kB / 350.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.01041, allocations: 0 / 350.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007055/0.01111, allocations: 261 kB / 350.5 MB, free: 0.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.01114, allocations: 51.41 kB / 350.6 MB, free: 492 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.0114, allocations: 410.4 kB / 351 MB, free: 68 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.01142, allocations: 29.7 kB / 351 MB, free: 32 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.01157, allocations: 270.8 kB / 351.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.0116, allocations: 43.69 kB / 351.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.01168, allocations: 59.28 kB / 351.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.01185, allocations: 0.5156 MB / 351.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.01192, allocations: 39.97 kB / 351.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.01202, allocations: 86.62 kB / 352 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01216, allocations: 118.5 kB / 352.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01216, allocations: 0 / 352.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004936/0.01265, allocations: 292.5 kB / 352.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.01267, allocations: 4 kB / 352.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01267, allocations: 4 kB / 352.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.01305, allocations: 199.1 kB / 352.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.01315, allocations: 31.98 kB / 352.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.01453, allocations: 2.78 MB / 355.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.01467, allocations: 31.81 kB / 355.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.01468, allocations: 4 kB / 355.5 MB, free: 11.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.0001014/0.01479, allocations: 180.6 kB / 355.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.01483, allocations: 35.77 kB / 355.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.01487, allocations: 31.06 kB / 355.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.01487, allocations: 3.938 kB / 355.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.01487, allocations: 4 kB / 355.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01487, allocations: 0 / 355.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.01537, allocations: 0.497 MB / 356.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01537, allocations: 4.031 kB / 356.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.01541, allocations: 15.98 kB / 356.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.01556, allocations: 115.7 kB / 356.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01557, allocations: 7.984 kB / 356.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003332/0.01591, allocations: 0.8272 MB / 357.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01591, allocations: 0 / 357.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.01611, allocations: 299.3 kB / 357.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.01618, allocations: 55.75 kB / 357.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01621, allocations: 4 kB / 357.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01632, allocations: 20.02 kB / 357.5 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.01634, allocations: 7.984 kB / 357.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01635, allocations: 0 / 357.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01649, allocations: 266.9 kB / 357.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01649, allocations: 0 / 357.8 MB, free: 8.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.01672, allocations: 87.84 kB / 357.9 MB, free: 8.797 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.921e-05/0.01682, allocations: 103.3 kB / 358 MB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.01718, allocations: 337.2 kB / 358.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01718, allocations: 4 kB / 358.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.01724, allocations: 39.66 kB / 358.4 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.01753, allocations: 77.62 kB / 358.4 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.01825, allocations: 0.5313 MB / 359 MB, free: 7.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.0183, allocations: 96.55 kB / 359.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.01838, allocations: 30.95 kB / 359.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.0185, allocations: 138.2 kB / 359.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01851, allocations: 0 / 359.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of Templates: time 0.006484/0.02499, allocations: 5.245 MB / 364.5 MB, free: 2.203 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7140778922475874]