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.001189/0.001189, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00129/0.00129, allocations: 189.5 kB / 16.25 MB, free: 6.625 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1568/0.1568, allocations: 5.401 MB / 295.5 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 63.91 kB / 360.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1131, allocations: 50.62 MB / 411 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004641/0.1178, allocations: 3.421 MB / 414.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1198, allocations: 1.239 MB / 415.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.1202, allocations: 8 kB / 415.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.1209, allocations: 202.9 kB / 415.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.1213, allocations: 135 kB / 416 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.1215, allocations: 107.9 kB / 416.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.122, allocations: 0.5488 MB / 416.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.1222, allocations: 124.1 kB / 416.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1224, allocations: 219.1 kB / 417 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1227, allocations: 247.1 kB / 417.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.1227, allocations: 52 kB / 417.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1229, allocations: 63.98 kB / 417.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.1229, allocations: 107.6 kB / 417.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1231, allocations: 226.9 kB / 417.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.1236, allocations: 0.5217 MB / 418.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1236, allocations: 0 / 418.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1236, allocations: 0 / 418.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.1236, allocations: 0 / 418.2 MB, free: 4.594 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.001906/0.1255, allocations: 0.8063 MB / 419 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1256, allocations: 12.03 kB / 419 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.1257, allocations: 48.31 kB / 419 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/0.1267, allocations: 488.1 kB / 419.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1267, allocations: 16.69 kB / 419.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1267, allocations: 24 kB / 419.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.1273, allocations: 297.1 kB / 419.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1273, allocations: 3.938 kB / 419.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.1274, allocations: 15.98 kB / 419.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1274, allocations: 4 kB / 419.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.1279, allocations: 241.6 kB / 420.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.13, allocations: 1.278 MB / 421.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1306, allocations: 263.6 kB / 421.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1309, allocations: 112.7 kB / 421.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1309, allocations: 4 kB / 421.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.1309, allocations: 30.56 kB / 421.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1309, allocations: 0 / 421.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.2141/0.345, allocations: 0.7282 MB / 422.5 MB, free: 48.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3451, allocations: 53.47 kB / 422.5 MB, free: 48.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/0.3456, allocations: 385.6 kB / 422.9 MB, free: 48.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.3457, allocations: 25.7 kB / 423 MB, free: 48.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3458, allocations: 217.9 kB / 423.2 MB, free: 47.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3459, allocations: 40.83 kB / 423.2 MB, free: 47.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.346, allocations: 52.2 kB / 423.3 MB, free: 47.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.3461, allocations: 345.8 kB / 423.6 MB, free: 47.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3464, allocations: 101.7 kB / 423.7 MB, free: 47.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.3466, allocations: 132.4 kB / 423.8 MB, free: 47.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.3471, allocations: 217 kB / 424 MB, free: 47.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3471, allocations: 0.6875 kB / 424 MB, free: 47.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002122/0.3493, allocations: 0.5605 MB / 424.6 MB, free: 47.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3493, allocations: 5.188 kB / 424.6 MB, free: 47.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3493, allocations: 3.406 kB / 424.6 MB, free: 47.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.3501, allocations: 242.6 kB / 424.8 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.3503, allocations: 44.84 kB / 424.9 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/0.3547, allocations: 3.791 MB / 428.7 MB, free: 44.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3551, allocations: 40.14 kB / 428.7 MB, free: 44.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3551, allocations: 13.83 kB / 428.7 MB, free: 44.55 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.0001622/0.3553, allocations: 148.5 kB / 428.9 MB, free: 44.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.3553, allocations: 36.06 kB / 428.9 MB, free: 44.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.3554, allocations: 36.7 kB / 428.9 MB, free: 44.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3554, allocations: 0 / 428.9 MB, free: 44.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3554, allocations: 3.328 kB / 428.9 MB, free: 44.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3554, allocations: 3.75 kB / 428.9 MB, free: 44.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3574, allocations: 0.8463 MB / 429.8 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3575, allocations: 0 / 429.8 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.3575, allocations: 16.86 kB / 429.8 MB, free: 43.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.3579, allocations: 163.2 kB / 430 MB, free: 43.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3579, allocations: 4 kB / 430 MB, free: 43.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.3606, allocations: 2.022 MB / 432 MB, free: 42.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3606, allocations: 0 / 432 MB, free: 42.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3623, allocations: 0.4985 MB / 432.5 MB, free: 42.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3624, allocations: 126.1 kB / 432.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.3625, allocations: 6.906 kB / 432.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3627, allocations: 17.77 kB / 432.6 MB, free: 41.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.3628, allocations: 21.14 kB / 432.7 MB, free: 41.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3628, allocations: 8.266 kB / 432.7 MB, free: 41.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.3631, allocations: 266.7 kB / 432.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 0 / 432.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.3636, allocations: 88.47 kB / 433 MB, free: 41.74 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 (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.0001277/0.3637, allocations: 105.8 kB / 433.1 MB, free: 41.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009045/0.3646, allocations: 493.8 kB / 433.6 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3646, allocations: 0 / 433.6 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.3649, allocations: 196.2 kB / 433.8 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.3654, allocations: 83.89 kB / 433.9 MB, free: 41.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3665, allocations: 0.7064 MB / 434.6 MB, free: 40.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.3667, allocations: 0.7801 MB / 435.4 MB, free: 40.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.3668, allocations: 40.7 kB / 435.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.3669, allocations: 23.16 kB / 435.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3669, allocations: 3.172 kB / 435.4 MB, free: 40.04 MB / 350.1 MB Notification: Performance of Templates: time 0.008926/0.3758, allocations: 6.108 MB / 441.5 MB, free: 39.68 MB / 350.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)