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.001665/0.001665, allocations: 116.2 kB / 16.42 MB, free: 6.504 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.001954/0.001954, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0273/0.0273, allocations: 5.393 MB / 296.6 MB, free: 9.484 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 413.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09665, allocations: 50.62 MB / 464.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00484/0.1015, allocations: 3.377 MB / 467.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1038, allocations: 1.258 MB / 468.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.1042, allocations: 11.94 kB / 468.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.105, allocations: 214.7 kB / 469 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.1055, allocations: 146.9 kB / 469.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1058, allocations: 115.9 kB / 469.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.1065, allocations: 0.5643 MB / 469.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.1068, allocations: 116.1 kB / 469.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004686/0.1073, allocations: 219.2 kB / 470.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.1077, allocations: 251 kB / 470.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.1079, allocations: 52 kB / 470.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.1081, allocations: 63.98 kB / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.1082, allocations: 107.6 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.1085, allocations: 222.9 kB / 470.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.109, allocations: 0.5256 MB / 471.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.109, allocations: 0 / 471.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1091, allocations: 0 / 471.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1091, allocations: 0 / 471.3 MB, free: 12.61 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.002038/0.1111, allocations: 0.8102 MB / 472.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1112, allocations: 8.031 kB / 472.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1113, allocations: 48.47 kB / 472.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1124, allocations: 484.1 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1125, allocations: 20.69 kB / 472.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.1125, allocations: 31.94 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.1131, allocations: 293.1 kB / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1131, allocations: 0 / 473 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.1132, allocations: 15.94 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1132, allocations: 4 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.1138, allocations: 253.5 kB / 473.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.116, allocations: 1.271 MB / 474.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.1166, allocations: 255.6 kB / 474.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1169, allocations: 108.8 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1169, allocations: 8 kB / 474.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.117, allocations: 38.55 kB / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.117, allocations: 0 / 474.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003498/0.1205, allocations: 0.729 MB / 475.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1205, allocations: 55.41 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.121, allocations: 389.5 kB / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.121, allocations: 29.7 kB / 476.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1212, allocations: 211.8 kB / 476.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.1212, allocations: 43.44 kB / 476.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1213, allocations: 57.59 kB / 476.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1215, allocations: 338.8 kB / 476.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.1218, allocations: 103.9 kB / 476.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.1221, allocations: 136.2 kB / 477 MB, free: 6.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.1226, allocations: 215 kB / 477.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1226, allocations: 0 / 477.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00226/0.1249, allocations: 0.5647 MB / 477.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1249, allocations: 8 kB / 477.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1249, allocations: 3.938 kB / 477.8 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008748/0.1258, allocations: 241.6 kB / 478 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.126, allocations: 35.97 kB / 478.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.1316, allocations: 3.795 MB / 481.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.132, allocations: 31.83 kB / 481.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1321, allocations: 12.12 kB / 481.9 MB, free: 1.406 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.0002104/0.1323, allocations: 138.3 kB / 482 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1324, allocations: 43.52 kB / 482.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.1325, allocations: 47 kB / 482.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1325, allocations: 0 / 482.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1325, allocations: 3.938 kB / 482.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1327, allocations: 128.7 kB / 482.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.1327, allocations: 7.938 kB / 482.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.133, allocations: 15.98 kB / 482.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.1331, allocations: 11.98 kB / 482.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00129/0.1344, allocations: 385.5 kB / 482.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007851/0.1352, allocations: 470.6 kB / 483.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002118/0.1354, allocations: 64.11 kB / 483.2 MB, free: 68 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003399/0.1358, allocations: 271.2 kB / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of Backend: time 7.01e-07/0.1358, allocations: 0 / 483.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.137, allocations: 0.4954 MB / 483.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of SimCode: time 0.001363/0.1384, allocations: 1.063 MB / 485 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01147/0.1499, allocations: 5.695 MB / 490.7 MB, free: 8.527 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)