Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002313/0.002313, allocations: 169.9 kB / 7.64 MB, free: 1.414 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.598/1.598, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.001188/0.001188, allocations: 88.56 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02254/0.02254, allocations: 5.28 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.444e-05/1.445e-05, allocations: 1.312 kB / 396.3 MB, free: 51.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 51.62 MB / 447.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.2438, allocations: 84.49 MB / 0.5199 GB, free: 6.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.2441, allocations: 67.97 kB / 0.52 GB, free: 6.359 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.198/2.442, allocations: 472.2 MB / 0.9812 GB, free: 24.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/2.442, allocations: 0 / 0.9812 GB, free: 24.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.002689/2.445, allocations: 240 kB / 0.9814 GB, free: 24.59 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.06729/2.512, allocations: 17.44 MB / 0.9984 GB, free: 7.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/2.512, allocations: 12.03 kB / 0.9984 GB, free: 7.035 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/2.525, allocations: 1.447 MB / 0.9999 GB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03916/2.565, allocations: 11.42 MB / 1.011 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007484/2.565, allocations: 268 kB / 1.011 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007845/2.573, allocations: 488 kB / 1.012 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6061/3.179, allocations: 31.62 MB / 1.043 GB, free: 65.09 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04691/3.226, allocations: 17.49 MB / 1.06 GB, free: 63.62 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003476/3.227, allocations: 19.56 kB / 1.06 GB, free: 63.62 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005278/3.232, allocations: 19.66 kB / 1.06 GB, free: 63.62 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/3.232, allocations: 211 kB / 1.06 GB, free: 63.62 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1542/3.386, allocations: 73.85 MB / 1.132 GB, free: 34.62 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03146/3.418, allocations: 25.15 MB / 1.157 GB, free: 21.64 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01283/3.431, allocations: 10.14 MB / 1.167 GB, free: 13.26 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/3.431, allocations: 86.44 kB / 1.167 GB, free: 13.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/3.431, allocations: 98.95 kB / 1.167 GB, free: 13.09 MB / 458.8 MB Notification: Performance of pre-optimization done (n=592): time 6.662e-06/3.431, allocations: 0 / 1.167 GB, free: 13.09 MB / 458.8 MB Notification: Performance of matching and sorting (n=592): time 0.4926/3.924, allocations: 67.12 MB / 1.232 GB, free: 73 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/3.924, allocations: 111.6 kB / 1.232 GB, free: 72.93 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03223/3.956, allocations: 15.95 MB / 1.248 GB, free: 72.4 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002747/3.959, allocations: 26.91 kB / 1.248 GB, free: 72.37 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005759/3.965, allocations: 5.795 MB / 1.254 GB, free: 71.42 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00406/3.969, allocations: 1.975 MB / 1.256 GB, free: 70.4 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003339/3.972, allocations: 0 / 1.256 GB, free: 70.4 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005974/3.973, allocations: 0.7089 MB / 1.256 GB, free: 70.07 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01833/3.991, allocations: 12.36 MB / 1.268 GB, free: 70.05 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02036/4.012, allocations: 13.49 MB / 1.281 GB, free: 69.16 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/4.03, allocations: 13.12 MB / 1.294 GB, free: 65.48 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-05/4.03, allocations: 6.875 kB / 1.294 GB, free: 65.48 MB / 474.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.5723/4.602, allocations: 83.85 MB / 1.376 GB, free: 63.46 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/4.602, allocations: 14.09 kB / 1.376 GB, free: 63.46 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/4.602, allocations: 21.94 kB / 1.376 GB, free: 63.46 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2234/4.826, allocations: 74.74 MB / 1.449 GB, free: 55.72 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01135/4.837, allocations: 1.961 MB / 1.451 GB, free: 55.62 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3/6.137, allocations: 301.8 MB / 1.746 GB, free: 84.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03025/6.167, allocations: 4.325 MB / 1.75 GB, free: 84.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005244/6.172, allocations: 0.5403 MB / 1.751 GB, free: 84.62 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.007295/6.18, allocations: 252.8 kB / 1.751 GB, free: 84.51 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007459/6.187, allocations: 1.084 MB / 1.752 GB, free: 84.1 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.221/6.408, allocations: 68.27 MB / 1.819 GB, free: 80.23 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.855e-05/6.408, allocations: 63.8 kB / 1.819 GB, free: 80.23 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/6.408, allocations: 0 / 1.819 GB, free: 80.23 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002066/6.408, allocations: 27.56 kB / 1.819 GB, free: 80.23 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2699/6.678, allocations: 90.95 MB / 1.907 GB, free: 26.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/6.678, allocations: 4 kB / 1.907 GB, free: 26.02 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/6.681, allocations: 0.5188 MB / 1.908 GB, free: 25.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5034/7.184, allocations: 65.25 MB / 1.972 GB, free: 81.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004174/7.188, allocations: 205.3 kB / 1.972 GB, free: 81.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8001/7.989, allocations: 207.5 MB / 2.175 GB, free: 72.68 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/7.989, allocations: 3.375 kB / 2.175 GB, free: 72.68 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2026/8.191, allocations: 67.29 MB / 2.24 GB, free: 50.58 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01313/8.204, allocations: 4.474 MB / 2.245 GB, free: 46.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006328/8.211, allocations: 8.984 kB / 2.245 GB, free: 46.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01916/8.23, allocations: 2.555 MB / 2.247 GB, free: 43.58 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/8.232, allocations: 437.3 kB / 2.248 GB, free: 43.15 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003257/8.235, allocations: 319.3 kB / 2.248 GB, free: 42.84 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02567/8.261, allocations: 11.68 MB / 2.259 GB, free: 31.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.21e-07/8.261, allocations: 0 / 2.259 GB, free: 31.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03657/8.298, allocations: 5.415 MB / 2.265 GB, free: 25.93 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.002671/8.3, allocations: 156.5 kB / 2.265 GB, free: 25.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.4438/8.744, allocations: 51.16 MB / 2.315 GB, free: 73.96 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/8.744, allocations: 0 / 2.315 GB, free: 73.96 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.09001/8.834, allocations: 29.19 MB / 2.343 GB, free: 70.93 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02147/8.856, allocations: 2.353 MB / 2.345 GB, free: 70.68 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05436/8.91, allocations: 28.91 MB / 2.374 GB, free: 66.48 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007843/8.918, allocations: 9.002 MB / 2.382 GB, free: 65.27 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01039/8.928, allocations: 3.588 MB / 2.386 GB, free: 64.72 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/8.932, allocations: 0.5912 MB / 2.387 GB, free: 64.71 MB / 0.4949 GB Notification: Performance of SimCode: time 1.583e-06/8.932, allocations: 0 / 2.387 GB, free: 64.71 MB / 0.4949 GB Notification: Performance of Templates: time 1.181/10.11, allocations: 366.5 MB / 2.744 GB, free: 83.5 MB / 0.5105 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)