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.001154/0.001154, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001094/0.001094, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.316/1.316, 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.0262/0.0262, allocations: 5.401 MB / 296.6 MB, free: 9.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 413.5 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 50.62 MB / 464.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.004874/0.1107, allocations: 3.287 MB / 467.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1129, allocations: 1.231 MB / 468.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000373/0.1133, allocations: 4 kB / 468.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.114, allocations: 210.8 kB / 468.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.1146, allocations: 142.9 kB / 469 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1149, allocations: 103.8 kB / 469.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.1156, allocations: 0.5332 MB / 469.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.1159, allocations: 112.1 kB / 469.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.1162, allocations: 203.2 kB / 469.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.1166, allocations: 231.1 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1167, allocations: 48 kB / 470.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1169, allocations: 60 kB / 470.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.117, allocations: 107.6 kB / 470.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.1172, allocations: 207 kB / 470.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.1178, allocations: 0.4984 MB / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1178, allocations: 0 / 471 MB, free: 12.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1178, allocations: 7.938 kB / 471 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.1178, allocations: 0 / 471 MB, free: 12.86 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.001992/0.1198, allocations: 0.7828 MB / 471.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1199, allocations: 8.031 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.12, allocations: 44.45 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.121, allocations: 464 kB / 472.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.121, allocations: 20.56 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.1211, allocations: 28 kB / 472.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.1216, allocations: 275.3 kB / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1217, allocations: 0 / 472.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.1217, allocations: 12 kB / 472.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1217, allocations: 7.984 kB / 472.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.1223, allocations: 232.9 kB / 472.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.1244, allocations: 1.25 MB / 474.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1248, allocations: 154.4 kB / 474.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.1251, allocations: 100.8 kB / 474.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1251, allocations: 0 / 474.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1251, allocations: 30.56 kB / 474.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1252, allocations: 4 kB / 474.4 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000719/0.1259, allocations: 249.3 kB / 474.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.1259, allocations: 51.41 kB / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.1263, allocations: 373.6 kB / 475.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1263, allocations: 29.7 kB / 475.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1265, allocations: 207.7 kB / 475.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1265, allocations: 27.64 kB / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.1266, allocations: 57.53 kB / 475.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1268, allocations: 346.7 kB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.127, allocations: 95.94 kB / 475.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.1273, allocations: 131 kB / 476 MB, free: 7.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.1278, allocations: 199.3 kB / 476.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1278, allocations: 0 / 476.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009602/0.1287, allocations: 352.5 kB / 476.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1288, allocations: 4 kB / 476.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1288, allocations: 0 / 476.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.1293, allocations: 72.78 kB / 476.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.1296, allocations: 59.95 kB / 476.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.1311, allocations: 1.578 MB / 478.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.1314, allocations: 31.77 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.1315, allocations: 15.92 kB / 478.3 MB, free: 5.199 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.0001578/0.1316, allocations: 149.9 kB / 478.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.1317, allocations: 27.62 kB / 478.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.1318, allocations: 31 kB / 478.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1318, allocations: 3.938 kB / 478.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.1318, allocations: 0 / 478.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1318, allocations: 0 / 478.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009239/0.1327, allocations: 0.5966 MB / 479.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1327, allocations: 0 / 479.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.1329, allocations: 35.91 kB / 479.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1329, allocations: 3.938 kB / 479.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.133, allocations: 4 kB / 479.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.133, allocations: 0 / 479.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.133, allocations: 0 / 479.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.1335, allocations: 295.9 kB / 479.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1336, allocations: 120.7 kB / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.1336, allocations: 8 kB / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1339, allocations: 15.98 kB / 479.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.1339, allocations: 15.92 kB / 479.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1339, allocations: 4 kB / 479.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.1342, allocations: 255.2 kB / 479.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1342, allocations: 3.938 kB / 479.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.1346, allocations: 71.84 kB / 479.9 MB, free: 3.473 MB / 350.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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.1347, allocations: 103.8 kB / 480 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007842/0.1355, allocations: 335.4 kB / 480.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1355, allocations: 0 / 480.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.1357, allocations: 72.14 kB / 480.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.1362, allocations: 76.91 kB / 480.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1373, allocations: 0.568 MB / 481 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1376, allocations: 0.7717 MB / 481.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1377, allocations: 27.44 kB / 481.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1377, allocations: 0 / 481.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Templates: time 0.008243/0.146, allocations: 4.953 MB / 486.8 MB, free: 12.52 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)