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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008802, allocations: 93.28 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02526/0.02526, allocations: 5.286 MB / 341.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.919e-05, allocations: 4 kB / 403.7 MB, free: 62.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 51.61 MB / 455.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.5016, allocations: 83.22 MB / 0.5259 GB, free: 7.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5019, allocations: 66.47 kB / 0.526 GB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03658/0.5385, allocations: 12.67 MB / 0.5383 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5385, allocations: 4 kB / 0.5384 GB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.5386, allocations: 7.938 kB / 0.5384 GB, free: 12.81 MB / 362.7 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.001235/0.5398, allocations: 0.6296 MB / 0.539 GB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5399, allocations: 8.031 kB / 0.539 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.54, allocations: 43.44 kB / 0.539 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.5405, allocations: 344.8 kB / 0.5394 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.5406, allocations: 19.19 kB / 0.5394 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.5406, allocations: 29.75 kB / 0.5394 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.5412, allocations: 311.9 kB / 0.5397 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5412, allocations: 8 kB / 0.5397 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.007e-05/0.5413, allocations: 15.5 kB / 0.5397 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.5413, allocations: 8 kB / 0.5397 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.542, allocations: 321.5 kB / 0.54 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.5445, allocations: 1.477 MB / 0.5415 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.545, allocations: 309.7 kB / 0.5418 GB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.5453, allocations: 124.5 kB / 0.5419 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.5453, allocations: 0 / 0.5419 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5454, allocations: 42.81 kB / 0.5419 GB, free: 9.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.5454, allocations: 0 / 0.5419 GB, free: 9.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002911/0.5483, allocations: 0.5534 MB / 0.5425 GB, free: 9.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.5484, allocations: 63.36 kB / 0.5425 GB, free: 9.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.5489, allocations: 382.3 kB / 0.5429 GB, free: 8.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.5489, allocations: 27.39 kB / 0.5429 GB, free: 8.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.5491, allocations: 215.6 kB / 0.5431 GB, free: 8.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.5492, allocations: 65.09 kB / 0.5432 GB, free: 8.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.5492, allocations: 7.562 kB / 0.5432 GB, free: 8.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5494, allocations: 343.5 kB / 0.5435 GB, free: 8.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.5497, allocations: 112 kB / 0.5436 GB, free: 8.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.5499, allocations: 150.1 kB / 0.5438 GB, free: 8.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.5501, allocations: 123.1 kB / 0.5439 GB, free: 8.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5502, allocations: 0 / 0.5439 GB, free: 8.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.003273/0.5534, allocations: 0.7377 MB / 0.5446 GB, free: 7.395 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5535, allocations: 4 kB / 0.5446 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5535, allocations: 4 kB / 0.5446 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/0.5563, allocations: 0.5519 MB / 0.5452 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.5566, allocations: 47.91 kB / 0.5452 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006471/0.5631, allocations: 3.976 MB / 0.5491 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.5636, allocations: 51.75 kB / 0.5491 GB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.5637, allocations: 15.67 kB / 0.5492 GB, free: 3.082 MB / 362.7 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 () * 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.5638, allocations: 119.2 kB / 0.5493 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.5639, allocations: 35.53 kB / 0.5493 GB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.564, allocations: 40.39 kB / 0.5493 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.564, allocations: 8.031 kB / 0.5493 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.564, allocations: 3.953 kB / 0.5493 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.564, allocations: 7.984 kB / 0.5494 GB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.5674, allocations: 1.096 MB / 0.5504 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.5674, allocations: 0 / 0.5504 GB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.5675, allocations: 35.86 kB / 0.5505 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.5697, allocations: 473.4 kB / 0.5509 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.5697, allocations: 3.984 kB / 0.5509 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004606/0.5744, allocations: 2.31 MB / 0.5532 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5744, allocations: 0 / 0.5532 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.5773, allocations: 0.672 MB / 0.5538 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.5776, allocations: 147.9 kB / 0.554 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.5776, allocations: 0 / 0.554 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.5779, allocations: 31.8 kB / 0.554 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.578, allocations: 19.16 kB / 0.554 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.5781, allocations: 7.984 kB / 0.554 GB, free: 14.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003693/0.5784, allocations: 298 kB / 0.5543 GB, free: 14.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5784, allocations: 0 / 0.5543 GB, free: 14.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000604/0.579, allocations: 134.4 kB / 0.5544 GB, free: 14.33 MB / 378.7 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 () * 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.5793, allocations: 135.1 kB / 0.5546 GB, free: 14.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.5804, allocations: 0.5208 MB / 0.5551 GB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5804, allocations: 0 / 0.5551 GB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.5807, allocations: 229.8 kB / 0.5553 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.5812, allocations: 76.59 kB / 0.5554 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009348/0.5822, allocations: 417.9 kB / 0.5558 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.5826, allocations: 0.7914 MB / 0.5565 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000145/0.5827, allocations: 38.95 kB / 0.5566 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.5828, allocations: 23.44 kB / 0.5566 GB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5828, allocations: 4 kB / 0.5566 GB, free: 12.22 MB / 378.7 MB Notification: Performance of Templates: time 0.01439/0.5972, allocations: 9.016 MB / 0.5654 GB, free: 3.289 MB / 378.7 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)