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.0009296/0.0009296, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009135/0.0009135, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2192/0.2192, allocations: 5.378 MB / 296.4 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003736, allocations: 11.98 kB / 361.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 51.6 MB / 413.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.00384/0.1321, allocations: 2.759 MB / 416.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.1343, allocations: 1.178 MB / 417.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.1347, allocations: 7.938 kB / 417.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.1353, allocations: 167.2 kB / 417.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.1358, allocations: 167.5 kB / 417.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1361, allocations: 71.91 kB / 417.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.1367, allocations: 347.2 kB / 418.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.1369, allocations: 93.92 kB / 418.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.1372, allocations: 175.3 kB / 418.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.1376, allocations: 211.1 kB / 418.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.1377, allocations: 27.94 kB / 418.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1378, allocations: 28 kB / 418.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.1379, allocations: 75.7 kB / 418.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.138, allocations: 93.52 kB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.1384, allocations: 386.9 kB / 419.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1384, allocations: 0 / 419.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1384, allocations: 0 / 419.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1384, allocations: 3.938 kB / 419.2 MB, free: 4.855 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.001893/0.1403, allocations: 0.7636 MB / 419.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1404, allocations: 8.031 kB / 419.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1405, allocations: 43.44 kB / 420 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1417, allocations: 482.9 kB / 420.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1417, allocations: 24.55 kB / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.1418, allocations: 20 kB / 420.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1424, allocations: 301.1 kB / 420.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1424, allocations: 3.938 kB / 420.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.1425, allocations: 19.95 kB / 420.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1425, allocations: 8 kB / 420.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.1431, allocations: 269.5 kB / 421.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1455, allocations: 1.336 MB / 422.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.1461, allocations: 291.5 kB / 422.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1461, allocations: 0 / 422.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1462, allocations: 38.52 kB / 422.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1462, allocations: 4 kB / 422.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003198/0.1494, allocations: 0.7877 MB / 423.5 MB, free: 228 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1495, allocations: 51.62 kB / 423.6 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2725/0.4219, allocations: 378.8 kB / 423.9 MB, free: 45.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.4221, allocations: 29.42 kB / 424 MB, free: 45.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.4223, allocations: 220.5 kB / 424.2 MB, free: 45.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.4223, allocations: 37.02 kB / 424.2 MB, free: 45.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.4223, allocations: 3.688 kB / 424.2 MB, free: 45.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4224, allocations: 343 kB / 424.6 MB, free: 44.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.4228, allocations: 114.6 kB / 424.7 MB, free: 44.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.4231, allocations: 148.6 kB / 424.8 MB, free: 44.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.4234, allocations: 123.6 kB / 424.9 MB, free: 44.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4234, allocations: 0.6875 kB / 424.9 MB, free: 44.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002245/0.4257, allocations: 0.6148 MB / 425.6 MB, free: 44.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4257, allocations: 6.375 kB / 425.6 MB, free: 44.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.4257, allocations: 0 / 425.6 MB, free: 44.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008072/0.4265, allocations: 253.1 kB / 425.8 MB, free: 44.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.4267, allocations: 50.27 kB / 425.9 MB, free: 44.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.4313, allocations: 3.559 MB / 429.4 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.4317, allocations: 43.84 kB / 429.5 MB, free: 42.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.4318, allocations: 11 kB / 429.5 MB, free: 42.13 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.432, allocations: 151.4 kB / 429.6 MB, free: 42.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.4321, allocations: 32.52 kB / 429.7 MB, free: 42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.4321, allocations: 35.77 kB / 429.7 MB, free: 41.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4322, allocations: 3.562 kB / 429.7 MB, free: 41.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4322, allocations: 0 / 429.7 MB, free: 41.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4322, allocations: 2.406 kB / 429.7 MB, free: 41.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.4344, allocations: 0.8801 MB / 430.6 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4344, allocations: 0 / 430.6 MB, free: 41.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4345, allocations: 25.47 kB / 430.6 MB, free: 41.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/0.4348, allocations: 173.6 kB / 430.8 MB, free: 41.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.4349, allocations: 4.578 kB / 430.8 MB, free: 41.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.4379, allocations: 1.994 MB / 432.8 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.438, allocations: 1.438 kB / 432.8 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.4397, allocations: 0.5573 MB / 433.3 MB, free: 40.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.4399, allocations: 126.8 kB / 433.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.44, allocations: 10.42 kB / 433.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.4402, allocations: 22.45 kB / 433.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.4403, allocations: 13.75 kB / 433.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4404, allocations: 9 kB / 433.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003278/0.4407, allocations: 263.3 kB / 433.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4407, allocations: 3.344 kB / 433.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005139/0.4412, allocations: 86.84 kB / 433.8 MB, free: 39.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.4414, allocations: 102.3 kB / 433.9 MB, free: 39.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.4424, allocations: 499.5 kB / 434.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4424, allocations: 0 / 434.4 MB, free: 39.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.4427, allocations: 221.6 kB / 434.7 MB, free: 39.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.4432, allocations: 71.41 kB / 434.7 MB, free: 39.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4443, allocations: 0.6913 MB / 435.4 MB, free: 39.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.4446, allocations: 0.7916 MB / 436.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4447, allocations: 37.02 kB / 436.2 MB, free: 38.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.4448, allocations: 27.75 kB / 436.3 MB, free: 38.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4448, allocations: 0 / 436.3 MB, free: 38.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01039/0.4552, allocations: 5.578 MB / 441.8 MB, free: 38.09 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: