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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") translateModel(PhotoVoltaics.Examples.SimpleCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 107.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02833/0.02833, allocations: 5.393 MB / 296.6 MB, free: 9.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 83.86 kB / 413.5 MB, free: 22.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07653, allocations: 50.6 MB / 464.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00446/0.08102, allocations: 3.38 MB / 467.5 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.08301, allocations: 1.254 MB / 468.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.0833, allocations: 11.94 kB / 468.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.08386, allocations: 218.7 kB / 469 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.0843, allocations: 142.9 kB / 469.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.08451, allocations: 119.8 kB / 469.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005943/0.08511, allocations: 0.5643 MB / 469.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.08535, allocations: 124.1 kB / 469.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.08562, allocations: 215.2 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.08597, allocations: 247 kB / 470.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.08606, allocations: 52 kB / 470.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.08619, allocations: 60 kB / 470.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.08629, allocations: 111.6 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.0865, allocations: 230.8 kB / 470.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.08706, allocations: 0.5217 MB / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.08707, allocations: 0 / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08707, allocations: 0 / 471.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.08709, allocations: 0 / 471.3 MB, free: 12.57 MB / 350.1 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.002062/0.08916, allocations: 0.8102 MB / 472.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.0892, allocations: 12.03 kB / 472.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.08934, allocations: 44.47 kB / 472.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.0905, allocations: 480.1 kB / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.09053, allocations: 20.69 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.522e-05/0.09058, allocations: 28 kB / 472.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.09116, allocations: 297 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.09119, allocations: 4 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.09122, allocations: 4 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.09123, allocations: 8 kB / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.09182, allocations: 253.5 kB / 473.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.09404, allocations: 1.274 MB / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.09455, allocations: 259.6 kB / 474.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.09489, allocations: 116.7 kB / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.09492, allocations: 0 / 474.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.09495, allocations: 34.56 kB / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.09496, allocations: 0 / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0036/0.09856, allocations: 0.7368 MB / 475.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.09861, allocations: 51.41 kB / 475.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.09903, allocations: 389.5 kB / 476.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.09907, allocations: 29.7 kB / 476.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.09926, allocations: 215.8 kB / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.0993, allocations: 43.44 kB / 476.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.09941, allocations: 53.59 kB / 476.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.09953, allocations: 342.8 kB / 476.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.09981, allocations: 107.9 kB / 476.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1001, allocations: 136.2 kB / 477 MB, free: 6.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.1006, allocations: 215 kB / 477.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1006, allocations: 3.938 kB / 477.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002341/0.1029, allocations: 0.5609 MB / 477.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.103, allocations: 4 kB / 477.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.103, allocations: 0 / 477.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000881/0.1039, allocations: 241.6 kB / 478 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.1041, allocations: 43.97 kB / 478.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.1095, allocations: 3.792 MB / 481.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.1099, allocations: 35.86 kB / 481.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1099, allocations: 8 kB / 481.9 MB, free: 1.363 MB / 350.1 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.000151/0.1101, allocations: 150.2 kB / 482 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.1102, allocations: 39.59 kB / 482.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.1103, allocations: 35.06 kB / 482.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1103, allocations: 0 / 482.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1103, allocations: 4 kB / 482.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1103, allocations: 3.938 kB / 482.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.1127, allocations: 0.8354 MB / 483 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1127, allocations: 7.969 kB / 483 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.1128, allocations: 23.98 kB / 483 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003216/0.1131, allocations: 160.7 kB / 483.1 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1131, allocations: 7.984 kB / 483.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.1166, allocations: 2.008 MB / 485.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1166, allocations: 4.062 kB / 485.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.1184, allocations: 0.5042 MB / 485.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1185, allocations: 128.6 kB / 485.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.1186, allocations: 0 / 485.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.1189, allocations: 23.98 kB / 485.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.1189, allocations: 7.984 kB / 485.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1189, allocations: 11.98 kB / 485.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002776/0.1192, allocations: 263.3 kB / 486.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1192, allocations: 7.938 kB / 486.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.1197, allocations: 91.78 kB / 486.2 MB, free: 12.81 MB / 366.1 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 0.0001233/0.1199, allocations: 103.7 kB / 486.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.1208, allocations: 492.8 kB / 486.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1208, allocations: 192 / 486.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1211, allocations: 202.5 kB / 487 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.1217, allocations: 81.7 kB / 487 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.1228, allocations: 0.6078 MB / 487.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1232, allocations: 0.7793 MB / 488.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.1233, allocations: 35.42 kB / 488.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1233, allocations: 0 / 488.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Templates: time 0.009397/0.1327, allocations: 6.913 MB / 495.4 MB, free: 3.523 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile (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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)