Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001271/0.001272, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02638/0.02638, allocations: 5.393 MB / 296.6 MB, free: 9.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 59.91 kB / 413.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09146, allocations: 50.62 MB / 464.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005113/0.09662, allocations: 3.51 MB / 467.6 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.09899, allocations: 1.277 MB / 468.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.09946, allocations: 8 kB / 468.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.1002, allocations: 226.5 kB / 469.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.1009, allocations: 162.8 kB / 469.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1012, allocations: 127.8 kB / 469.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.102, allocations: 0.5915 MB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.1024, allocations: 128.1 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.1027, allocations: 223.1 kB / 470.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.1032, allocations: 274.8 kB / 470.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.1033, allocations: 56 kB / 470.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1035, allocations: 64 kB / 470.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1036, allocations: 115.6 kB / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.1039, allocations: 242.8 kB / 471.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.1046, allocations: 0.5567 MB / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1046, allocations: 4 kB / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1046, allocations: 0 / 471.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.1046, allocations: 3.938 kB / 471.6 MB, free: 12.25 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002166/0.1068, allocations: 0.8258 MB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1068, allocations: 12.03 kB / 472.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.107, allocations: 44.38 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.1084, allocations: 0.518 MB / 473 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1085, allocations: 28.62 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.1085, allocations: 24 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008113/0.1093, allocations: 365.3 kB / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1094, allocations: 0 / 473.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.1094, allocations: 8 kB / 473.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1094, allocations: 8 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1104, allocations: 369.9 kB / 473.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.113, allocations: 1.421 MB / 475.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.1142, allocations: 439.5 kB / 475.7 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.1147, allocations: 164.7 kB / 475.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.1147, allocations: 4 kB / 475.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1148, allocations: 38.56 kB / 475.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.1148, allocations: 4 kB / 475.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005803/0.1206, allocations: 1.02 MB / 476.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.1207, allocations: 55.41 kB / 476.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.1213, allocations: 393.6 kB / 477.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.1213, allocations: 25.8 kB / 477.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.1215, allocations: 224.2 kB / 477.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.493e-05/0.1216, allocations: 82.83 kB / 477.7 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.1218, allocations: 69.67 kB / 477.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1219, allocations: 350.7 kB / 478.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.1224, allocations: 143.8 kB / 478.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.1228, allocations: 183.6 kB / 478.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.1237, allocations: 314.3 kB / 478.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1237, allocations: 0 / 478.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004301/0.128, allocations: 0.8278 MB / 479.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1281, allocations: 8 kB / 479.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1281, allocations: 0 / 479.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.1293, allocations: 333.4 kB / 479.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.1297, allocations: 55.91 kB / 479.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008982/0.1387, allocations: 4.329 MB / 484.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/0.1393, allocations: 55.72 kB / 484.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.1393, allocations: 19.97 kB / 484.3 MB, free: 14.93 MB / 366.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 (31): * Single equations (assignments): 29 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.1396, allocations: 153.7 kB / 484.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1397, allocations: 35.53 kB / 484.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.1399, allocations: 35.59 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1399, allocations: 7.938 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1399, allocations: 4 kB / 484.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1399, allocations: 3.984 kB / 484.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004481/0.1444, allocations: 1.171 MB / 485.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1444, allocations: 0 / 485.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1446, allocations: 31.92 kB / 485.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006938/0.1453, allocations: 248.6 kB / 486 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1453, allocations: 11.98 kB / 486 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006841/0.1522, allocations: 2.558 MB / 488.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1522, allocations: 0 / 488.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.1561, allocations: 0.7764 MB / 489.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.1563, allocations: 144.5 kB / 489.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/0.1564, allocations: 4 kB / 489.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.1568, allocations: 31.97 kB / 489.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.1569, allocations: 11.98 kB / 489.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1569, allocations: 11.98 kB / 489.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003398/0.1573, allocations: 275.2 kB / 489.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1573, allocations: 3.938 kB / 489.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.1579, allocations: 111.8 kB / 489.9 MB, free: 9.074 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 (18): * Single equations (assignments): 17 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.158, allocations: 115.6 kB / 490 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.1597, allocations: 0.5957 MB / 490.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.1597, allocations: 0 / 490.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.1603, allocations: 284.9 kB / 490.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.1609, allocations: 84.69 kB / 491 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1626, allocations: 0.7336 MB / 491.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.163, allocations: 0.7923 MB / 492.5 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.1631, allocations: 35.42 kB / 492.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1631, allocations: 0 / 492.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of Templates: time 0.01183/0.1749, allocations: 7.929 MB / 0.4887 GB, free: 14.43 MB / 382.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)