Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") translateModel(PhotoVoltaics.Examples.SimpleModuleSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001171/0.001171, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0287/0.0287, allocations: 5.4 MB / 296.6 MB, free: 9.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 413.5 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.08029, allocations: 50.61 MB / 464.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.004378/0.08471, allocations: 3.431 MB / 467.5 MB, free: 408 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.08658, allocations: 1.274 MB / 468.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.08675, allocations: 7.938 kB / 468.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.08729, allocations: 214.7 kB / 469 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.08767, allocations: 162.8 kB / 469.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.08787, allocations: 115.8 kB / 469.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.08842, allocations: 0.5798 MB / 469.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.08866, allocations: 128.1 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.08888, allocations: 215.2 kB / 470.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.0892, allocations: 258.9 kB / 470.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.0893, allocations: 52 kB / 470.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.08943, allocations: 63.98 kB / 470.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.08953, allocations: 111.6 kB / 470.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.08973, allocations: 234.8 kB / 470.9 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005098/0.09025, allocations: 0.5334 MB / 471.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.09026, allocations: 4 kB / 471.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09027, allocations: 0 / 471.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.09028, allocations: 0 / 471.4 MB, free: 12.46 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002026/0.09231, allocations: 0.8218 MB / 472.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.09236, allocations: 12.03 kB / 472.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.09246, allocations: 48.38 kB / 472.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.0937, allocations: 0.4922 MB / 472.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.09373, allocations: 24.69 kB / 472.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.09382, allocations: 20 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.09444, allocations: 325.3 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.09446, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.0945, allocations: 16 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.09452, allocations: 8 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.09524, allocations: 282 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.09764, allocations: 1.319 MB / 474.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.09831, allocations: 303.5 kB / 475.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.09874, allocations: 144.8 kB / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.09877, allocations: 0 / 475.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.0988, allocations: 30.56 kB / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.09881, allocations: 0 / 475.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003905/0.1027, allocations: 0.7527 MB / 476 MB, free: 7.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1028, allocations: 55.41 kB / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.1032, allocations: 393.5 kB / 476.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.1032, allocations: 29.7 kB / 476.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1034, allocations: 219.8 kB / 476.7 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.1034, allocations: 55.25 kB / 476.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1035, allocations: 49.69 kB / 476.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1037, allocations: 346.8 kB / 477.1 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.104, allocations: 115.9 kB / 477.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.1043, allocations: 147.6 kB / 477.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.105, allocations: 252.7 kB / 477.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.105, allocations: 0 / 477.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002855/0.1078, allocations: 0.6373 MB / 478.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1079, allocations: 7.938 kB / 478.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1079, allocations: 0 / 478.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.1089, allocations: 261.5 kB / 478.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.1091, allocations: 39.98 kB / 478.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.1157, allocations: 3.929 MB / 482.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.1162, allocations: 47.77 kB / 482.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.1162, allocations: 11.98 kB / 482.6 MB, free: 0.6992 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 (26): * Single equations (assignments): 24 * 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.0001659/0.1164, allocations: 145.8 kB / 482.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.1165, allocations: 35.56 kB / 482.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.1165, allocations: 35.38 kB / 482.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1166, allocations: 8 kB / 482.8 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.1166, allocations: 3.938 kB / 482.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1166, allocations: 0 / 482.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.1195, allocations: 0.933 MB / 483.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1195, allocations: 0 / 483.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1196, allocations: 27.98 kB / 483.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.1201, allocations: 176.8 kB / 483.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1201, allocations: 4 kB / 483.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.1246, allocations: 2.14 MB / 486.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1246, allocations: 0 / 486.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.127, allocations: 0.574 MB / 486.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.1271, allocations: 132.6 kB / 486.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.1272, allocations: 4 kB / 486.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.1275, allocations: 23.97 kB / 486.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.1276, allocations: 15.92 kB / 486.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1276, allocations: 12 kB / 486.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.1279, allocations: 267.2 kB / 487.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1279, allocations: 3.938 kB / 487.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004836/0.1284, allocations: 103.8 kB / 487.2 MB, free: 11.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 (13): * Single equations (assignments): 12 * 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.0001205/0.1285, allocations: 98.03 kB / 487.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.1297, allocations: 0.5099 MB / 487.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1297, allocations: 0 / 487.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.1301, allocations: 218.6 kB / 488 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.1307, allocations: 81.72 kB / 488.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.1319, allocations: 0.6678 MB / 488.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1323, allocations: 0.7834 MB / 489.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.1323, allocations: 27.44 kB / 489.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1323, allocations: 0 / 489.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of Templates: time 0.009273/0.1416, allocations: 7.211 MB / 496.8 MB, free: 2.141 MB / 366.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)