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.001135/0.001135, allocations: 175.2 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.527/1.527, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009413/0.0009417, allocations: 97.12 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04086/0.04086, allocations: 5.297 MB / 341.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.297e-05, allocations: 4 kB / 403.7 MB, free: 62.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09561, allocations: 51.61 MB / 455.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4873, allocations: 83.47 MB / 0.5262 GB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4876, allocations: 66.28 kB / 0.5262 GB, free: 7.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03866/0.5263, allocations: 12.89 MB / 0.5388 GB, free: 12.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5263, allocations: 4 kB / 0.5388 GB, free: 12.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.5264, allocations: 8 kB / 0.5388 GB, free: 12.39 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.001289/0.5277, allocations: 0.6435 MB / 0.5395 GB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5277, allocations: 8.031 kB / 0.5395 GB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.5279, allocations: 47.44 kB / 0.5395 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.5284, allocations: 359.1 kB / 0.5399 GB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.5285, allocations: 19 kB / 0.5399 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.5286, allocations: 31.19 kB / 0.5399 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.5292, allocations: 329.7 kB / 0.5402 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5293, allocations: 0 / 0.5402 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.5293, allocations: 11.75 kB / 0.5402 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.5293, allocations: 8 kB / 0.5402 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.5301, allocations: 349.5 kB / 0.5406 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.533, allocations: 1.515 MB / 0.542 GB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.5337, allocations: 361.4 kB / 0.5424 GB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.534, allocations: 138.7 kB / 0.5425 GB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.5341, allocations: 4.188 kB / 0.5425 GB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5341, allocations: 34.56 kB / 0.5426 GB, free: 9.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.5341, allocations: 4 kB / 0.5426 GB, free: 9.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.002997/0.5371, allocations: 0.5811 MB / 0.5431 GB, free: 8.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.5372, allocations: 59.36 kB / 0.5432 GB, free: 8.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.5377, allocations: 391 kB / 0.5436 GB, free: 8.273 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.5378, allocations: 28.95 kB / 0.5436 GB, free: 8.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.538, allocations: 223.1 kB / 0.5438 GB, free: 8.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.5381, allocations: 68.61 kB / 0.5439 GB, free: 8.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.5381, allocations: 7.5 kB / 0.5439 GB, free: 8.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.5383, allocations: 346.6 kB / 0.5442 GB, free: 7.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.5385, allocations: 119.5 kB / 0.5443 GB, free: 7.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.5388, allocations: 172.1 kB / 0.5445 GB, free: 7.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.539, allocations: 135.9 kB / 0.5446 GB, free: 7.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5391, allocations: 0 / 0.5446 GB, free: 7.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003336/0.5424, allocations: 0.7534 MB / 0.5454 GB, free: 6.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.5424, allocations: 7.938 kB / 0.5454 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5425, allocations: 0 / 0.5454 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.5452, allocations: 0.5545 MB / 0.5459 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.5455, allocations: 63.47 kB / 0.546 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.5527, allocations: 3.982 MB / 0.5498 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.5534, allocations: 57.92 kB / 0.5499 GB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.5534, allocations: 11.98 kB / 0.5499 GB, free: 2.449 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 (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.0001774/0.5536, allocations: 123.4 kB / 0.55 GB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/0.5537, allocations: 39.53 kB / 0.5501 GB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.5538, allocations: 40.22 kB / 0.5501 GB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5538, allocations: 11.94 kB / 0.5501 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.5538, allocations: 0 / 0.5501 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5539, allocations: 0 / 0.5501 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.5573, allocations: 1.152 MB / 0.5512 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5573, allocations: 0 / 0.5512 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.5575, allocations: 31.98 kB / 0.5513 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.5597, allocations: 478.8 kB / 0.5517 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.5597, allocations: 15.22 kB / 0.5517 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00474/0.5645, allocations: 2.307 MB / 0.554 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5645, allocations: 4.062 kB / 0.554 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.5674, allocations: 0.6951 MB / 0.5547 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5676, allocations: 154 kB / 0.5548 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.5677, allocations: 0 / 0.5548 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/0.568, allocations: 31.22 kB / 0.5549 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.5681, allocations: 19.91 kB / 0.5549 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.5681, allocations: 11.98 kB / 0.5549 GB, free: 13.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003705/0.5685, allocations: 305.5 kB / 0.5552 GB, free: 13.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5685, allocations: 3.938 kB / 0.5552 GB, free: 13.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005916/0.5691, allocations: 137.2 kB / 0.5553 GB, free: 13.61 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 (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.0002192/0.5693, allocations: 130.7 kB / 0.5554 GB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009623/0.5703, allocations: 0.5344 MB / 0.556 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5703, allocations: 8.062 kB / 0.556 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.5706, allocations: 252.4 kB / 0.5562 GB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.5711, allocations: 77.44 kB / 0.5563 GB, free: 12.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.572, allocations: 440.4 kB / 0.5567 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.5724, allocations: 0.8 MB / 0.5575 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.5726, allocations: 43.25 kB / 0.5575 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.5727, allocations: 23.44 kB / 0.5575 GB, free: 11.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5727, allocations: 0 / 0.5575 GB, free: 11.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01499/0.5877, allocations: 9.245 MB / 0.5666 GB, free: 2.293 MB / 378.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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)