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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.000975/0.0009749, allocations: 179.9 kB / 16.12 MB, free: 5.57 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.403/1.403, 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.0008932/0.0008934, allocations: 105 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02499/0.02499, allocations: 5.389 MB / 347.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.0004518, allocations: 8 kB / 413.5 MB, free: 57.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 51.61 MB / 465.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.5026, allocations: 83.55 MB / 0.5358 GB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.5029, allocations: 69.09 kB / 0.5358 GB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03588/0.5388, allocations: 12.87 MB / 0.5484 GB, free: 9.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.5388, allocations: 0 / 0.5484 GB, free: 9.887 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.032e-05/0.5389, allocations: 12 kB / 0.5484 GB, free: 9.875 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001528/0.5404, allocations: 0.7238 MB / 0.5491 GB, free: 9.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5405, allocations: 8.875 kB / 0.5491 GB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.5406, allocations: 52.38 kB / 0.5492 GB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.5411, allocations: 361.8 kB / 0.5495 GB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.5412, allocations: 22.88 kB / 0.5496 GB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.5412, allocations: 23.44 kB / 0.5496 GB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/0.5421, allocations: 402.5 kB / 0.55 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5421, allocations: 192 / 0.55 GB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.5421, allocations: 18.81 kB / 0.55 GB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5421, allocations: 8 kB / 0.55 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.5432, allocations: 476.1 kB / 0.5504 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.5458, allocations: 1.515 MB / 0.5519 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.5465, allocations: 414 kB / 0.5523 GB, free: 6.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.5469, allocations: 179.9 kB / 0.5525 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.547, allocations: 0 / 0.5525 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.547, allocations: 37.88 kB / 0.5525 GB, free: 6.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.547, allocations: 0 / 0.5525 GB, free: 6.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.005786/0.5528, allocations: 1.205 MB / 0.5537 GB, free: 5.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5529, allocations: 63.34 kB / 0.5538 GB, free: 5.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.5534, allocations: 438.1 kB / 0.5542 GB, free: 4.754 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.5534, allocations: 29.39 kB / 0.5542 GB, free: 4.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5536, allocations: 218.4 kB / 0.5544 GB, free: 4.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.5536, allocations: 68 kB / 0.5545 GB, free: 4.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.5536, allocations: 10.19 kB / 0.5545 GB, free: 4.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5538, allocations: 350.3 kB / 0.5548 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.5541, allocations: 162.2 kB / 0.555 GB, free: 4.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.5545, allocations: 203.5 kB / 0.5552 GB, free: 3.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.5551, allocations: 329.4 kB / 0.5555 GB, free: 3.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5552, allocations: 4 kB / 0.5555 GB, free: 3.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00329/0.5585, allocations: 0.8553 MB / 0.5563 GB, free: 2.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5585, allocations: 4 kB / 0.5563 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.5585, allocations: 4 kB / 0.5563 GB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.5611, allocations: 0.5939 MB / 0.5569 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.5614, allocations: 63.77 kB / 0.557 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00696/0.5684, allocations: 4.175 MB / 0.561 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.5689, allocations: 51.41 kB / 0.5611 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.5689, allocations: 15.36 kB / 0.5611 GB, free: 14.39 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 (30): * Single equations (assignments): 28 * 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.0003171/0.5692, allocations: 147.2 kB / 0.5613 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.5693, allocations: 39.59 kB / 0.5613 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.097e-05/0.5694, allocations: 48.39 kB / 0.5613 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5694, allocations: 3.938 kB / 0.5613 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.5694, allocations: 3.938 kB / 0.5613 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.5694, allocations: 0 / 0.5613 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.573, allocations: 1.253 MB / 0.5626 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.573, allocations: 0 / 0.5626 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.5732, allocations: 39.95 kB / 0.5626 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.5754, allocations: 0.5121 MB / 0.5631 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.5754, allocations: 3.984 kB / 0.5631 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/0.5805, allocations: 2.491 MB / 0.5655 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5805, allocations: 0 / 0.5655 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.5834, allocations: 0.7775 MB / 0.5663 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.5837, allocations: 148.5 kB / 0.5664 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.5837, allocations: 7.938 kB / 0.5665 GB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.584, allocations: 31.97 kB / 0.5665 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.5841, allocations: 15.97 kB / 0.5665 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.5842, allocations: 15.98 kB / 0.5665 GB, free: 8.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004164/0.5846, allocations: 303.2 kB / 0.5668 GB, free: 8.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5846, allocations: 0 / 0.5668 GB, free: 8.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006468/0.5852, allocations: 143.8 kB / 0.5669 GB, free: 8.391 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 (17): * Single equations (assignments): 16 * 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.0002583/0.5855, allocations: 143 kB / 0.5671 GB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.5869, allocations: 0.623 MB / 0.5677 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5869, allocations: 0 / 0.5677 GB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.5874, allocations: 282.4 kB / 0.568 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.588, allocations: 81.52 kB / 0.568 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.5894, allocations: 0.7822 MB / 0.5688 GB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5898, allocations: 0.7923 MB / 0.5696 GB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.59, allocations: 43.25 kB / 0.5696 GB, free: 5.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.5901, allocations: 23.44 kB / 0.5696 GB, free: 5.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5901, allocations: 0 / 0.5696 GB, free: 5.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01635/0.6064, allocations: 9.214 MB / 0.5786 GB, free: 12.35 MB / 394.7 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 -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)