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.007648/0.007649, allocations: 108.7 kB / 15.71 MB, free: 5.492 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.001452/0.001453, allocations: 193.8 kB / 16.64 MB, free: 5.434 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.563/1.563, allocations: 222.9 MB / 240.3 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1729/0.1729, allocations: 5.366 MB / 295.9 MB, free: 2.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 59.91 kB / 412.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3014, allocations: 50.61 MB / 463.3 MB, free: 21.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.005259/0.3068, allocations: 3.521 MB / 466.9 MB, free: 19.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.3091, allocations: 1.283 MB / 468.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.3093, allocations: 11.5 kB / 468.2 MB, free: 18.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.31, allocations: 219.7 kB / 468.4 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.3104, allocations: 160.3 kB / 468.5 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.3106, allocations: 116.7 kB / 468.6 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.3112, allocations: 0.6021 MB / 469.2 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.3114, allocations: 129.9 kB / 469.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.3117, allocations: 228.6 kB / 469.6 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.312, allocations: 270 kB / 469.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.601e-05/0.3121, allocations: 55.41 kB / 469.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3122, allocations: 61.14 kB / 470 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3123, allocations: 114 kB / 470.1 MB, free: 17.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.3125, allocations: 243.8 kB / 470.3 MB, free: 17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.3132, allocations: 0.5558 MB / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3132, allocations: 1.891 kB / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3132, allocations: 0 / 470.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3132, allocations: 7.938 kB / 470.9 MB, free: 16.76 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.001882/0.3151, allocations: 0.8375 MB / 471.7 MB, free: 16.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3152, allocations: 9.625 kB / 471.7 MB, free: 16.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3153, allocations: 47.75 kB / 471.8 MB, free: 16.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.3165, allocations: 0.5092 MB / 472.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3166, allocations: 22.94 kB / 472.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.3166, allocations: 24.69 kB / 472.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.3174, allocations: 368.6 kB / 472.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3174, allocations: 1.125 kB / 472.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.3174, allocations: 10.25 kB / 472.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3175, allocations: 6.969 kB / 472.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009646/0.3184, allocations: 373.8 kB / 473.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.3206, allocations: 1.417 MB / 474.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3217, allocations: 439.6 kB / 474.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.3222, allocations: 162.7 kB / 475.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3222, allocations: 7 kB / 475.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3223, allocations: 40.62 kB / 475.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.3223, allocations: 0 / 475.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.005565/0.3278, allocations: 1.022 MB / 476.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.3279, allocations: 53.16 kB / 476.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.3283, allocations: 397.1 kB / 476.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.3284, allocations: 34.7 kB / 476.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3285, allocations: 222 kB / 476.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3286, allocations: 78.09 kB / 476.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3287, allocations: 70.12 kB / 477 MB, free: 13.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.3288, allocations: 350.7 kB / 477.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.3292, allocations: 146.9 kB / 477.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.3296, allocations: 181.2 kB / 477.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.3304, allocations: 309.3 kB / 478 MB, free: 12.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3305, allocations: 0 / 478 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.004138/0.3346, allocations: 0.8302 MB / 478.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.3346, allocations: 6.062 kB / 478.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3346, allocations: 0.875 kB / 478.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.3358, allocations: 331.9 kB / 479.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.3361, allocations: 53.59 kB / 479.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007731/0.3438, allocations: 4.332 MB / 483.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.3445, allocations: 50.72 kB / 483.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3445, allocations: 15.67 kB / 483.6 MB, free: 8.215 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 (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.0002233/0.3447, allocations: 150.7 kB / 483.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.3448, allocations: 37.69 kB / 483.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/0.3449, allocations: 44.33 kB / 483.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3449, allocations: 6.094 kB / 483.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3449, allocations: 1.281 kB / 483.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3449, allocations: 0 / 483.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.3492, allocations: 1.173 MB / 485 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3492, allocations: 0 / 485 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3493, allocations: 32.83 kB / 485 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/0.35, allocations: 253.6 kB / 485.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.35, allocations: 9.516 kB / 485.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/0.3561, allocations: 2.555 MB / 487.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3561, allocations: 1.188 kB / 487.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003763/0.3599, allocations: 0.781 MB / 488.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.3601, allocations: 141.3 kB / 488.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.3601, allocations: 1.281 kB / 488.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.3605, allocations: 30.09 kB / 488.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.3605, allocations: 19.58 kB / 488.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3606, allocations: 16.3 kB / 488.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.3609, allocations: 279.5 kB / 489.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3609, allocations: 0 / 489.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006188/0.3615, allocations: 109.9 kB / 489.2 MB, free: 4.16 MB / 350.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.0001514/0.3617, allocations: 111.7 kB / 489.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.363, allocations: 0.6027 MB / 489.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.363, allocations: 0 / 489.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.3636, allocations: 281.1 kB / 490.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.3641, allocations: 86.58 kB / 490.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3659, allocations: 0.6886 MB / 490.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3662, allocations: 0.7914 MB / 491.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002137/0.3664, allocations: 47.91 kB / 491.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3665, allocations: 26.72 kB / 491.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3665, allocations: 0 / 491.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01491/0.3814, allocations: 8.145 MB / 500 MB, free: 11.72 MB / 366.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)