Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.001159/0.001159, allocations: 96.86 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02287/0.02287, allocations: 5.279 MB / 336.5 MB, free: 9.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.137e-05, allocations: 1.344 kB / 396.3 MB, free: 51.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 51.61 MB / 447.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.2191, allocations: 84.36 MB / 0.5198 GB, free: 6.543 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.2194, allocations: 67.97 kB / 0.5199 GB, free: 6.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.017/2.237, allocations: 472.1 MB / 0.9809 GB, free: 25.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.237, allocations: 0 / 0.9809 GB, free: 25.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.002478/2.239, allocations: 236 kB / 0.9811 GB, free: 24.96 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.05854/2.298, allocations: 17.44 MB / 0.9981 GB, free: 7.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/2.298, allocations: 8.031 kB / 0.9981 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/2.308, allocations: 1.451 MB / 0.9995 GB, free: 5.934 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03175/2.34, allocations: 11.42 MB / 1.011 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/2.34, allocations: 268 kB / 1.011 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005641/2.346, allocations: 487.9 kB / 1.011 GB, free: 9.684 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6477/2.993, allocations: 31.62 MB / 1.042 GB, free: 63.04 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05621/3.05, allocations: 17.5 MB / 1.059 GB, free: 61.57 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004766/3.05, allocations: 24.06 kB / 1.059 GB, free: 61.57 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006148/3.056, allocations: 15.69 kB / 1.059 GB, free: 61.57 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/3.057, allocations: 213.5 kB / 1.06 GB, free: 61.57 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1543/3.211, allocations: 73.84 MB / 1.132 GB, free: 32.58 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0315/3.243, allocations: 25.16 MB / 1.156 GB, free: 19.48 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01347/3.256, allocations: 10.14 MB / 1.166 GB, free: 11.09 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003768/3.256, allocations: 80.77 kB / 1.166 GB, free: 11.03 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/3.256, allocations: 95.2 kB / 1.166 GB, free: 10.92 MB / 458.8 MB Notification: Performance of pre-optimization done (n=592): time 8.336e-06/3.257, allocations: 0 / 1.166 GB, free: 10.92 MB / 458.8 MB Notification: Performance of matching and sorting (n=592): time 0.512/3.768, allocations: 67.12 MB / 1.232 GB, free: 70.98 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/3.769, allocations: 112.9 kB / 1.232 GB, free: 70.91 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03866/3.807, allocations: 15.95 MB / 1.248 GB, free: 70.38 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.004319/3.812, allocations: 25.7 kB / 1.248 GB, free: 70.34 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01084/3.822, allocations: 5.798 MB / 1.253 GB, free: 69.39 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006337/3.829, allocations: 1.975 MB / 1.255 GB, free: 68.37 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004846/3.834, allocations: 2.438 kB / 1.255 GB, free: 68.37 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008092/3.835, allocations: 0.7129 MB / 1.256 GB, free: 68.05 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01938/3.854, allocations: 12.36 MB / 1.268 GB, free: 68.02 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02385/3.878, allocations: 13.5 MB / 1.281 GB, free: 67.13 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02391/3.902, allocations: 13.12 MB / 1.294 GB, free: 63.32 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.6e-05/3.902, allocations: 3.781 kB / 1.294 GB, free: 63.32 MB / 474.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.558/4.46, allocations: 83.85 MB / 1.376 GB, free: 61.56 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/4.46, allocations: 18.62 kB / 1.376 GB, free: 61.56 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/4.46, allocations: 23.75 kB / 1.376 GB, free: 61.56 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1919/4.652, allocations: 74.73 MB / 1.449 GB, free: 53.55 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00913/4.661, allocations: 1.969 MB / 1.451 GB, free: 53.46 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294/5.956, allocations: 301.7 MB / 1.745 GB, free: 82.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0439/6, allocations: 4.324 MB / 1.75 GB, free: 82.53 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006499/6.006, allocations: 0.5439 MB / 1.75 GB, free: 82.53 MB / 0.4949 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real module.cell[33].diode.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [48] module.cell[1].diode.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [48] module.cell[17].diode.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [48] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 887 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * 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: 48 {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {51 244} Notification: Performance of prepare postOptimizeDAE: time 0.008408/6.015, allocations: 254.4 kB / 1.75 GB, free: 82.43 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006599/6.021, allocations: 1.078 MB / 1.752 GB, free: 82 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2177/6.239, allocations: 68.27 MB / 1.818 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/6.239, allocations: 58.69 kB / 1.818 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/6.239, allocations: 3.844 kB / 1.818 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001719/6.239, allocations: 26.34 kB / 1.818 GB, free: 78.09 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2501/6.489, allocations: 90.95 MB / 1.907 GB, free: 17.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.146e-05/6.489, allocations: 0 / 1.907 GB, free: 17.57 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/6.492, allocations: 0.5321 MB / 1.908 GB, free: 17.04 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5052/6.997, allocations: 65.25 MB / 1.971 GB, free: 77.65 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004084/7.001, allocations: 212.3 kB / 1.972 GB, free: 77.65 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8296/7.831, allocations: 207.5 MB / 2.174 GB, free: 67.78 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/7.831, allocations: 0 / 2.174 GB, free: 67.78 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2047/8.036, allocations: 67.29 MB / 2.24 GB, free: 44.23 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0214/8.057, allocations: 4.48 MB / 2.244 GB, free: 39.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01113/8.068, allocations: 3.781 kB / 2.244 GB, free: 39.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02029/8.089, allocations: 2.559 MB / 2.247 GB, free: 37.22 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002097/8.091, allocations: 433.9 kB / 2.247 GB, free: 36.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003326/8.094, allocations: 319.3 kB / 2.248 GB, free: 36.48 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02828/8.122, allocations: 11.68 MB / 2.259 GB, free: 24.84 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.653e-06/8.122, allocations: 0 / 2.259 GB, free: 24.84 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03902/8.161, allocations: 5.413 MB / 2.264 GB, free: 19.58 MB / 0.4949 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 297 * 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 {51 247} Notification: Performance of Backend phase and start with SimCode phase: time 0.003453/8.165, allocations: 157.1 kB / 2.264 GB, free: 19.45 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.4412/8.606, allocations: 51.16 MB / 2.314 GB, free: 69.38 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/8.606, allocations: 0 / 2.314 GB, free: 69.38 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.08674/8.693, allocations: 29.2 MB / 2.343 GB, free: 66.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02098/8.714, allocations: 2.36 MB / 2.345 GB, free: 66.05 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07121/8.785, allocations: 28.89 MB / 2.373 GB, free: 61.84 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01454/8.8, allocations: 9.007 MB / 2.382 GB, free: 60.64 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01503/8.815, allocations: 3.584 MB / 2.386 GB, free: 60.09 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00587/8.821, allocations: 0.588 MB / 2.386 GB, free: 60.08 MB / 0.4949 GB Notification: Performance of SimCode: time 1.693e-06/8.821, allocations: 0 / 2.386 GB, free: 60.08 MB / 0.4949 GB Notification: Performance of Templates: time 1.19/10.01, allocations: 366.5 MB / 2.744 GB, free: 95.17 MB / 0.5262 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)