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.0009783/0.0009783, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005794/0.005794, allocations: 170.1 kB / 16.27 MB, free: 6.328 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1636/0.1636, allocations: 5.375 MB / 296.8 MB, free: 3.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.000313, allocations: 8 kB / 362.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 51.61 MB / 414.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004409/0.1302, allocations: 3.037 MB / 417.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.1334, allocations: 1.227 MB / 418.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000658/0.1341, allocations: 4 kB / 418.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1351, allocations: 206.9 kB / 418.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008424/0.136, allocations: 127.1 kB / 418.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1363, allocations: 115.8 kB / 418.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008024/0.1371, allocations: 0.5176 MB / 419.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.1374, allocations: 112 kB / 419.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.1378, allocations: 179.1 kB / 419.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.1383, allocations: 215 kB / 419.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.1384, allocations: 24 kB / 420 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1385, allocations: 32 kB / 420 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1387, allocations: 75.59 kB / 420.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.1389, allocations: 216.6 kB / 420.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.1396, allocations: 494.1 kB / 420.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1396, allocations: 4 kB / 420.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.1396, allocations: 0 / 420.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.1397, allocations: 4 kB / 420.8 MB, free: 3.555 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.002419/0.1421, allocations: 0.752 MB / 421.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1422, allocations: 12.03 kB / 421.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1424, allocations: 40.47 kB / 421.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.1436, allocations: 0.4922 MB / 422.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.1436, allocations: 24.69 kB / 422.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.1437, allocations: 24 kB / 422.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.1444, allocations: 305.1 kB / 422.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1444, allocations: 0 / 422.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.1444, allocations: 15.94 kB / 422.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1444, allocations: 4 kB / 422.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.1451, allocations: 269.6 kB / 422.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.1476, allocations: 1.294 MB / 424 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2793/0.4269, allocations: 281.4 kB / 424.3 MB, free: 46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.4275, allocations: 127.2 kB / 424.4 MB, free: 46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.4276, allocations: 1.188 kB / 424.4 MB, free: 46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.4276, allocations: 31.06 kB / 424.4 MB, free: 45.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.895e-06/0.4276, allocations: 0.9062 kB / 424.4 MB, free: 45.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.004708/0.4323, allocations: 0.8449 MB / 425.3 MB, free: 45.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.4324, allocations: 55.34 kB / 425.3 MB, free: 45.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.4329, allocations: 393.2 kB / 425.7 MB, free: 45.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.4329, allocations: 28.73 kB / 425.7 MB, free: 45.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4331, allocations: 219.5 kB / 425.9 MB, free: 45.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.4331, allocations: 35.97 kB / 426 MB, free: 45.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.4332, allocations: 25.86 kB / 426 MB, free: 45.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.4332, allocations: 345.8 kB / 426.3 MB, free: 45.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.4335, allocations: 110.2 kB / 426.4 MB, free: 45.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4338, allocations: 149 kB / 426.6 MB, free: 45.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.4342, allocations: 240.7 kB / 426.8 MB, free: 45.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4343, allocations: 0 / 426.8 MB, free: 45.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002047/0.4363, allocations: 0.6186 MB / 427.4 MB, free: 45.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4363, allocations: 6.594 kB / 427.4 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4363, allocations: 0 / 427.4 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008123/0.4372, allocations: 254.3 kB / 427.7 MB, free: 45.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.4374, allocations: 43.33 kB / 427.7 MB, free: 45.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.4418, allocations: 3.563 MB / 431.3 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.4422, allocations: 54 kB / 431.4 MB, free: 42.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4423, allocations: 13.28 kB / 431.4 MB, free: 42.27 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.0001811/0.4425, allocations: 147.8 kB / 431.5 MB, free: 42.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.4425, allocations: 32.53 kB / 431.5 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.4426, allocations: 36.97 kB / 431.6 MB, free: 42.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4426, allocations: 3.125 kB / 431.6 MB, free: 42.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4426, allocations: 4 kB / 431.6 MB, free: 42.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4426, allocations: 0 / 431.6 MB, free: 42.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.4447, allocations: 0.9033 MB / 432.5 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4448, allocations: 0 / 432.5 MB, free: 41.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.4448, allocations: 25.34 kB / 432.5 MB, free: 41.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.4452, allocations: 183.1 kB / 432.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4452, allocations: 9.734 kB / 432.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/0.4483, allocations: 1.952 MB / 434.7 MB, free: 40.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4483, allocations: 0 / 434.7 MB, free: 40.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.4502, allocations: 0.5554 MB / 435.2 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4503, allocations: 120.6 kB / 435.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.4503, allocations: 5.562 kB / 435.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4506, allocations: 32.78 kB / 435.4 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.4507, allocations: 11.08 kB / 435.4 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.4507, allocations: 6.969 kB / 435.4 MB, free: 40.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003191/0.451, allocations: 268 kB / 435.6 MB, free: 40.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.451, allocations: 3.312 kB / 435.6 MB, free: 40.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.4515, allocations: 95.47 kB / 435.7 MB, free: 40.07 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.0001571/0.4516, allocations: 101 kB / 435.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4527, allocations: 0.4943 MB / 436.3 MB, free: 39.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4527, allocations: 8.062 kB / 436.3 MB, free: 39.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.453, allocations: 206.8 kB / 436.5 MB, free: 39.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.4536, allocations: 73.59 kB / 436.6 MB, free: 39.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4548, allocations: 0.7376 MB / 437.4 MB, free: 39.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.455, allocations: 0.7827 MB / 438.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.4552, allocations: 39.69 kB / 438.2 MB, free: 38.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.4553, allocations: 24.16 kB / 438.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4553, allocations: 0 / 438.2 MB, free: 38.48 MB / 350.1 MB Notification: Performance of Templates: time 0.01139/0.4667, allocations: 5.766 MB / 444 MB, free: 38.14 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: