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.007998/0.007998, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001781/0.001781, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02643/0.02643, allocations: 5.403 MB / 295.9 MB, free: 9.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 412.8 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09319, allocations: 50.62 MB / 463.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.005022/0.09826, allocations: 3.377 MB / 466.8 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.1005, allocations: 1.258 MB / 468 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.101, allocations: 8 kB / 468.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.1017, allocations: 214.7 kB / 468.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.1023, allocations: 150.8 kB / 468.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1026, allocations: 115.8 kB / 468.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1032, allocations: 0.5604 MB / 469.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.1035, allocations: 128.1 kB / 469.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1038, allocations: 207.2 kB / 469.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.1041, allocations: 254.9 kB / 469.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.979e-05/0.1042, allocations: 55.94 kB / 469.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1043, allocations: 56 kB / 469.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.354e-05/0.1044, allocations: 103.7 kB / 469.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.1046, allocations: 234.8 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.1052, allocations: 0.5256 MB / 470.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1052, allocations: 0 / 470.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1052, allocations: 0 / 470.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1053, allocations: 0 / 470.6 MB, free: 12.58 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.001867/0.1071, allocations: 0.8063 MB / 471.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1072, allocations: 8.031 kB / 471.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.1073, allocations: 40.47 kB / 471.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1083, allocations: 492.1 kB / 472 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1084, allocations: 24.69 kB / 472 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1084, allocations: 23.94 kB / 472 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.109, allocations: 301.1 kB / 472.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.109, allocations: 0 / 472.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1091, allocations: 8 kB / 472.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1091, allocations: 8 kB / 472.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.1097, allocations: 245.5 kB / 472.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.1118, allocations: 1.263 MB / 473.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.1123, allocations: 275.5 kB / 474.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.1126, allocations: 112.8 kB / 474.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1127, allocations: 4 kB / 474.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1127, allocations: 38.56 kB / 474.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1127, allocations: 0 / 474.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003217/0.1159, allocations: 0.7372 MB / 475 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.116, allocations: 51.41 kB / 475 MB, free: 7.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.1164, allocations: 389.5 kB / 475.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1164, allocations: 25.7 kB / 475.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.1166, allocations: 215.8 kB / 475.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1166, allocations: 39.45 kB / 475.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1167, allocations: 53.59 kB / 475.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1169, allocations: 346.8 kB / 476.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1171, allocations: 103.9 kB / 476.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.1174, allocations: 132.2 kB / 476.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.1179, allocations: 218.9 kB / 476.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1179, allocations: 0 / 476.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002042/0.12, allocations: 0.5569 MB / 477.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.12, allocations: 4 kB / 477.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.12, allocations: 4 kB / 477.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008491/0.1209, allocations: 241.7 kB / 477.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1211, allocations: 51.84 kB / 477.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/0.1263, allocations: 3.785 MB / 481.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.1267, allocations: 47.78 kB / 481.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1267, allocations: 4 kB / 481.2 MB, free: 1.371 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.000258/0.127, allocations: 146.3 kB / 481.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.1271, allocations: 35.53 kB / 481.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.433e-05/0.1272, allocations: 39.05 kB / 481.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1272, allocations: 4 kB / 481.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1272, allocations: 3.938 kB / 481.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1272, allocations: 0 / 481.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.1294, allocations: 0.8431 MB / 482.3 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1294, allocations: 8.031 kB / 482.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.1295, allocations: 15.98 kB / 482.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.1299, allocations: 164.7 kB / 482.5 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1299, allocations: 8 kB / 482.5 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.1331, allocations: 2 MB / 484.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1331, allocations: 4.062 kB / 484.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.1348, allocations: 0.5004 MB / 485 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.1349, allocations: 132.6 kB / 485.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.135, allocations: 0 / 485.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.1352, allocations: 19.98 kB / 485.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1353, allocations: 16.06 kB / 485.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1353, allocations: 7.984 kB / 485.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000302/0.1356, allocations: 271.2 kB / 485.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1356, allocations: 3.938 kB / 485.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.1361, allocations: 91.84 kB / 485.5 MB, free: 12.82 MB / 366.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.0001464/0.1363, allocations: 106 kB / 485.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1373, allocations: 485 kB / 486.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1373, allocations: 8.125 kB / 486.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.1376, allocations: 206.5 kB / 486.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.1382, allocations: 72.23 kB / 486.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1394, allocations: 0.5952 MB / 487 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1397, allocations: 0.7832 MB / 487.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1399, allocations: 38.95 kB / 487.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.14, allocations: 27.42 kB / 487.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.14, allocations: 0 / 487.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01263/0.1526, allocations: 6.394 MB / 494.2 MB, free: 4.078 MB / 366.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)