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.0009782/0.0009782, allocations: 174.7 kB / 16.11 MB, free: 5.699 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.472/1.472, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.0009958/0.0009966, allocations: 99.84 kB / 291.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02612/0.02612, allocations: 5.387 MB / 347.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005433/0.0005434, allocations: 15.98 kB / 413.5 MB, free: 57.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1391, allocations: 51.61 MB / 465.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.513, allocations: 83.29 MB / 0.5355 GB, free: 5.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.5132, allocations: 70.03 kB / 0.5356 GB, free: 5.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03585/0.549, allocations: 12.66 MB / 0.5479 GB, free: 10.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5491, allocations: 0 / 0.5479 GB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.488e-05/0.5491, allocations: 4 kB / 0.548 GB, free: 10.23 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.001619/0.5508, allocations: 0.7113 MB / 0.5486 GB, free: 9.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5508, allocations: 8.875 kB / 0.5487 GB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.551, allocations: 44.38 kB / 0.5487 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.5517, allocations: 360.5 kB / 0.549 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5518, allocations: 19.75 kB / 0.5491 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.5518, allocations: 24.06 kB / 0.5491 GB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.5527, allocations: 387.8 kB / 0.5495 GB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5527, allocations: 4.125 kB / 0.5495 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.5527, allocations: 15.5 kB / 0.5495 GB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.5527, allocations: 8 kB / 0.5495 GB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009553/0.5537, allocations: 444.5 kB / 0.5499 GB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.5564, allocations: 1.467 MB / 0.5513 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.557, allocations: 371.4 kB / 0.5517 GB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.5574, allocations: 166.3 kB / 0.5518 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.5574, allocations: 0 / 0.5518 GB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.5575, allocations: 38.06 kB / 0.5519 GB, free: 6.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.5575, allocations: 0 / 0.5519 GB, free: 6.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.005779/0.5633, allocations: 1.185 MB / 0.553 GB, free: 5.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.5633, allocations: 55.41 kB / 0.5531 GB, free: 5.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.5638, allocations: 424 kB / 0.5535 GB, free: 5.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.5639, allocations: 29.39 kB / 0.5535 GB, free: 5.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.564, allocations: 213 kB / 0.5537 GB, free: 5.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.5641, allocations: 59 kB / 0.5538 GB, free: 5.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.5641, allocations: 3.75 kB / 0.5538 GB, free: 5.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5643, allocations: 348.2 kB / 0.5541 GB, free: 4.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.5646, allocations: 151.9 kB / 0.5543 GB, free: 4.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.5649, allocations: 192 kB / 0.5544 GB, free: 4.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.5655, allocations: 314.2 kB / 0.5547 GB, free: 4.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5656, allocations: 0 / 0.5547 GB, free: 4.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00341/0.569, allocations: 0.8287 MB / 0.5556 GB, free: 3.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.569, allocations: 4 kB / 0.5556 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.569, allocations: 7.984 kB / 0.5556 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/0.5724, allocations: 0.5859 MB / 0.5561 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.5727, allocations: 51.91 kB / 0.5562 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009351/0.5821, allocations: 4.167 MB / 0.5603 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.5827, allocations: 54.12 kB / 0.5603 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.5828, allocations: 18.61 kB / 0.5603 GB, free: 14.96 MB / 378.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 () * 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 (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.0003653/0.5832, allocations: 153.9 kB / 0.5605 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.5834, allocations: 35.62 kB / 0.5605 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.5835, allocations: 40.16 kB / 0.5605 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5835, allocations: 4 kB / 0.5606 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5835, allocations: 4 kB / 0.5606 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5835, allocations: 3.984 kB / 0.5606 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.5884, allocations: 1.194 MB / 0.5617 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5884, allocations: 96 / 0.5617 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.5886, allocations: 27.42 kB / 0.5618 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.5915, allocations: 0.5123 MB / 0.5623 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.5915, allocations: 11.23 kB / 0.5623 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006882/0.5984, allocations: 2.495 MB / 0.5647 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5985, allocations: 3.938 kB / 0.5647 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003878/0.6024, allocations: 0.7486 MB / 0.5654 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.6027, allocations: 152.5 kB / 0.5656 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.6028, allocations: 0 / 0.5656 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.6032, allocations: 35.97 kB / 0.5656 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.6033, allocations: 7.984 kB / 0.5656 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.6033, allocations: 11.98 kB / 0.5656 GB, free: 9.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005664/0.6039, allocations: 307.1 kB / 0.5659 GB, free: 9.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6039, allocations: 0 / 0.5659 GB, free: 9.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000966/0.6049, allocations: 131.8 kB / 0.5661 GB, free: 9.293 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 () * 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 (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.0002403/0.6052, allocations: 131.2 kB / 0.5662 GB, free: 9.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.6067, allocations: 0.5995 MB / 0.5668 GB, free: 8.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6067, allocations: 0 / 0.5668 GB, free: 8.523 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/0.6073, allocations: 270.6 kB / 0.567 GB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.6079, allocations: 80.45 kB / 0.5671 GB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6091, allocations: 0.742 MB / 0.5678 GB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.6095, allocations: 0.7875 MB / 0.5686 GB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.6097, allocations: 30.97 kB / 0.5686 GB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.6098, allocations: 23.44 kB / 0.5686 GB, free: 6.531 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6098, allocations: 0 / 0.5686 GB, free: 6.531 MB / 378.7 MB Notification: Performance of Templates: time 0.01466/0.6244, allocations: 8.983 MB / 0.5774 GB, free: 13.59 MB / 394.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 -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)