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.009089/0.009089, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008747, allocations: 91.11 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02442/0.02442, allocations: 5.387 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 11.44 kB / 412.1 MB, free: 90.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08493/0.08522, allocations: 51.61 MB / 463.8 MB, free: 44.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.3684, allocations: 83.26 MB / 0.5342 GB, free: 19.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.3686, allocations: 71.22 kB / 0.5343 GB, free: 19.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03103/0.3997, allocations: 12.66 MB / 0.5466 GB, free: 17.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3997, allocations: 0 / 0.5466 GB, free: 17.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3997, allocations: 7.969 kB / 0.5466 GB, free: 17.96 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.001185/0.4009, allocations: 0.7057 MB / 0.5473 GB, free: 17.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.401, allocations: 13.45 kB / 0.5473 GB, free: 17.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.4011, allocations: 43.03 kB / 0.5474 GB, free: 17.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.4014, allocations: 345.3 kB / 0.5477 GB, free: 17.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4015, allocations: 17.73 kB / 0.5477 GB, free: 17.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.4015, allocations: 27.25 kB / 0.5477 GB, free: 17.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.4022, allocations: 388.9 kB / 0.5481 GB, free: 17.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4022, allocations: 0 / 0.5481 GB, free: 17.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.4023, allocations: 7.875 kB / 0.5481 GB, free: 17.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4023, allocations: 7.75 kB / 0.5481 GB, free: 17.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.4031, allocations: 437.7 kB / 0.5486 GB, free: 17.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.4051, allocations: 1.466 MB / 0.55 GB, free: 16.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.4057, allocations: 370.4 kB / 0.5503 GB, free: 16.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4057, allocations: 0 / 0.5503 GB, free: 16.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.4058, allocations: 40.45 kB / 0.5504 GB, free: 16.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.4058, allocations: 0 / 0.5504 GB, free: 16.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.006174/0.412, allocations: 1.162 MB / 0.5515 GB, free: 16.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.412, allocations: 59.34 kB / 0.5516 GB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.4124, allocations: 384.8 kB / 0.5519 GB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.4124, allocations: 37.23 kB / 0.552 GB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4126, allocations: 213.9 kB / 0.5522 GB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.4126, allocations: 55.45 kB / 0.5522 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.4126, allocations: 6.938 kB / 0.5522 GB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.4127, allocations: 347.4 kB / 0.5526 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.413, allocations: 153 kB / 0.5527 GB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.4133, allocations: 198.7 kB / 0.5529 GB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.4136, allocations: 154 kB / 0.553 GB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4136, allocations: 3.875 kB / 0.553 GB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.003389/0.417, allocations: 0.8271 MB / 0.5539 GB, free: 15.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4171, allocations: 6.688 kB / 0.5539 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4171, allocations: 1.188 kB / 0.5539 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/0.42, allocations: 0.5964 MB / 0.5544 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.4203, allocations: 52.2 kB / 0.5545 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/0.4273, allocations: 4.207 MB / 0.5586 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.4278, allocations: 50.31 kB / 0.5587 GB, free: 28.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.4278, allocations: 23.06 kB / 0.5587 GB, free: 28.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 (27): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.428, allocations: 146.4 kB / 0.5588 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.4281, allocations: 36.81 kB / 0.5588 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.4282, allocations: 46.22 kB / 0.5589 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4282, allocations: 2.719 kB / 0.5589 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4282, allocations: 0 / 0.5589 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4282, allocations: 0 / 0.5589 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003461/0.4317, allocations: 1.149 MB / 0.56 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4317, allocations: 0 / 0.56 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4318, allocations: 26.88 kB / 0.56 GB, free: 27.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.434, allocations: 0.5125 MB / 0.5605 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.4341, allocations: 6.516 kB / 0.5606 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004843/0.4389, allocations: 2.567 MB / 0.5631 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4389, allocations: 4 kB / 0.5631 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/0.4418, allocations: 0.745 MB / 0.5638 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.442, allocations: 155.9 kB / 0.5639 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.4421, allocations: 3.875 kB / 0.5639 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.4424, allocations: 30.77 kB / 0.564 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.4425, allocations: 15.56 kB / 0.564 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.4425, allocations: 11.55 kB / 0.564 GB, free: 26.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003148/0.4428, allocations: 305.9 kB / 0.5643 GB, free: 26.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4428, allocations: 0 / 0.5643 GB, free: 26.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005442/0.4434, allocations: 138.3 kB / 0.5644 GB, free: 26.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001697/0.4435, allocations: 125.3 kB / 0.5645 GB, free: 26.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009846/0.4445, allocations: 0.5968 MB / 0.5651 GB, free: 25.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4445, allocations: 0 / 0.5651 GB, free: 25.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.4449, allocations: 271.2 kB / 0.5654 GB, free: 25.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.4453, allocations: 68.67 kB / 0.5654 GB, free: 25.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4465, allocations: 0.7605 MB / 0.5662 GB, free: 25.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4468, allocations: 0.7974 MB / 0.567 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.447, allocations: 35.8 kB / 0.567 GB, free: 24.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.447, allocations: 25.19 kB / 0.567 GB, free: 24.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.447, allocations: 0 / 0.567 GB, free: 24.56 MB / 378.7 MB Notification: Performance of Templates: time 0.01202/0.4591, allocations: 8.89 MB / 0.5757 GB, free: 21.16 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)