Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001738/0.001738, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.369/1.369, 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.02811/0.02811, allocations: 5.394 MB / 296.6 MB, free: 9.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 413.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08411, allocations: 50.62 MB / 464.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004355/0.0885, allocations: 3.286 MB / 467.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.09043, allocations: 1.223 MB / 468.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002809/0.09073, allocations: 4 kB / 468.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.09137, allocations: 218.7 kB / 468.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.09181, allocations: 146.9 kB / 469 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.09201, allocations: 99.88 kB / 469.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.09257, allocations: 0.5331 MB / 469.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.0928, allocations: 116.1 kB / 469.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.09306, allocations: 199.2 kB / 469.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.09336, allocations: 231.1 kB / 470.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.682e-05/0.09345, allocations: 52 kB / 470.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.09357, allocations: 63.98 kB / 470.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.09367, allocations: 107.6 kB / 470.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.09388, allocations: 207 kB / 470.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.09439, allocations: 0.4984 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.0944, allocations: 0 / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09441, allocations: 0 / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.09443, allocations: 0 / 471.1 MB, free: 12.96 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001958/0.09639, allocations: 0.7829 MB / 471.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.09644, allocations: 8.031 kB / 471.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.275e-05/0.09654, allocations: 40.47 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.09755, allocations: 468 kB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.09759, allocations: 20.56 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.09764, allocations: 24 kB / 472.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.09818, allocations: 279.4 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.09821, allocations: 0 / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.09825, allocations: 12 kB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.09826, allocations: 4 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.09884, allocations: 228.9 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.101, allocations: 1.261 MB / 474.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1014, allocations: 146.5 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.1017, allocations: 104.8 kB / 474.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1017, allocations: 0 / 474.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1017, allocations: 34.5 kB / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1017, allocations: 0 / 474.4 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007717/0.1025, allocations: 249.3 kB / 474.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.1026, allocations: 55.39 kB / 474.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.103, allocations: 369.6 kB / 475.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.103, allocations: 25.7 kB / 475.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.1032, allocations: 211.7 kB / 475.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1032, allocations: 27.64 kB / 475.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.1033, allocations: 57.59 kB / 475.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1035, allocations: 342.8 kB / 475.7 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.1037, allocations: 99.92 kB / 475.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.104, allocations: 123.3 kB / 476 MB, free: 7.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.1045, allocations: 195.3 kB / 476.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1045, allocations: 3.938 kB / 476.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001055/0.1056, allocations: 356.6 kB / 476.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1056, allocations: 4 kB / 476.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1056, allocations: 0 / 476.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.1061, allocations: 76.88 kB / 476.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.1064, allocations: 59.89 kB / 476.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.108, allocations: 1.578 MB / 478.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.1083, allocations: 35.77 kB / 478.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1084, allocations: 11.98 kB / 478.3 MB, free: 5.297 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): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001858/0.1085, allocations: 149.7 kB / 478.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.1086, allocations: 27.62 kB / 478.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.1087, allocations: 27 kB / 478.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1087, allocations: 4 kB / 478.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1087, allocations: 4.062 kB / 478.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1088, allocations: 120.7 kB / 478.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1089, allocations: 0 / 478.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.1091, allocations: 15.98 kB / 478.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.1092, allocations: 11.92 kB / 478.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006165/0.1098, allocations: 264.8 kB / 478.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005218/0.1103, allocations: 366.2 kB / 479.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002078/0.1106, allocations: 72.41 kB / 479.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.1109, allocations: 263.2 kB / 479.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.1109, allocations: 0 / 479.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.1118, allocations: 349.9 kB / 479.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of SimCode: time 0.001191/0.113, allocations: 1.017 MB / 480.9 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Templates: time 0.008486/0.1215, allocations: 4.297 MB / 485.2 MB, free: 14.27 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)