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.004702/0.004702, allocations: 171.6 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.245/1.245, allocations: 223.2 MB / 239 MB, free: 1.77 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.0009432/0.000943, allocations: 96.08 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02429/0.02429, allocations: 5.392 MB / 346.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8.125 kB / 412.1 MB, free: 90.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09183, allocations: 51.61 MB / 463.8 MB, free: 44.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4352, allocations: 85.22 MB / 0.5361 GB, free: 19.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4355, allocations: 72.36 kB / 0.5362 GB, free: 19.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74/2.175, allocations: 477.8 MB / 1.003 GB, free: 44.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.345e-06/2.175, allocations: 0 / 1.003 GB, free: 44.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002199/2.177, allocations: 236 kB / 1.003 GB, free: 44.62 MB / 458.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.06637/2.244, allocations: 20.67 MB / 1.023 GB, free: 23.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/2.244, allocations: 8.031 kB / 1.023 GB, free: 23.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008769/2.253, allocations: 1.451 MB / 1.025 GB, free: 22.35 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/2.281, allocations: 11.5 MB / 1.036 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/2.281, allocations: 0.6217 MB / 1.036 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005675/2.287, allocations: 0.8164 MB / 1.037 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5323/2.819, allocations: 22.71 MB / 1.059 GB, free: 49.48 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003415/2.819, allocations: 20.81 kB / 1.059 GB, free: 49.48 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005291/2.825, allocations: 346.7 kB / 1.06 GB, free: 49.48 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/2.825, allocations: 211 kB / 1.06 GB, free: 49.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08188/2.907, allocations: 39.05 MB / 1.098 GB, free: 49.37 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1434/3.05, allocations: 75.85 MB / 1.172 GB, free: 14.94 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04085/3.091, allocations: 28.96 MB / 1.2 GB, free: 10.24 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/3.092, allocations: 84.36 kB / 1.201 GB, free: 10.16 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.842e-05/3.092, allocations: 95.19 kB / 1.201 GB, free: 10.05 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 7.434e-06/3.092, allocations: 0 / 1.201 GB, free: 10.05 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.4894/3.581, allocations: 82.81 MB / 1.281 GB, free: 75.68 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/3.581, allocations: 114.8 kB / 1.282 GB, free: 75.61 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03855/3.62, allocations: 18.34 MB / 1.299 GB, free: 75.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003784/3.624, allocations: 134.2 kB / 1.3 GB, free: 75.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007659/3.631, allocations: 5.881 MB / 1.305 GB, free: 74.32 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004582/3.636, allocations: 2.052 MB / 1.307 GB, free: 73.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004891/3.641, allocations: 197 kB / 1.308 GB, free: 73.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009714/3.642, allocations: 0.7171 MB / 1.308 GB, free: 72.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02523/3.667, allocations: 14.36 MB / 1.322 GB, free: 71.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02924/3.696, allocations: 15.56 MB / 1.337 GB, free: 65.73 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02694/3.723, allocations: 15.12 MB / 1.352 GB, free: 54.68 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-05/3.723, allocations: 10.95 kB / 1.352 GB, free: 54.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.534/4.257, allocations: 90.17 MB / 1.44 GB, free: 64.27 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/4.258, allocations: 14.97 kB / 1.44 GB, free: 64.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-05/4.258, allocations: 22.12 kB / 1.44 GB, free: 64.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2146/4.472, allocations: 84.28 MB / 1.523 GB, free: 44.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009925/4.482, allocations: 1.962 MB / 1.525 GB, free: 42.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244/5.726, allocations: 340.7 MB / 1.857 GB, free: 58.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03208/5.758, allocations: 4.659 MB / 1.862 GB, free: 57.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007193/5.765, allocations: 0.5483 MB / 1.862 GB, free: 57.46 MB / 0.4949 GB 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 () * Number of clocked 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 {47 248} Notification: Performance of prepare postOptimizeDAE: time 0.01899/5.784, allocations: 4.565 MB / 1.867 GB, free: 55.68 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008878/5.793, allocations: 1.208 MB / 1.868 GB, free: 55.03 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2294/6.023, allocations: 74.17 MB / 1.94 GB, free: 4.594 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.554e-05/6.023, allocations: 56 kB / 1.94 GB, free: 4.539 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/6.023, allocations: 3.75 kB / 1.94 GB, free: 4.539 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001883/6.023, allocations: 27.89 kB / 1.94 GB, free: 4.512 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5775/6.6, allocations: 97.73 MB / 2.036 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.266e-05/6.601, allocations: 5.828 kB / 2.036 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/6.603, allocations: 0.5286 MB / 2.036 GB, free: 75.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1795/6.783, allocations: 69.09 MB / 2.104 GB, free: 42.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004046/6.787, allocations: 283.5 kB / 2.104 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.23/8.017, allocations: 242.3 MB / 2.341 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/8.017, allocations: 1.594 kB / 2.341 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2405/8.258, allocations: 73.06 MB / 2.412 GB, free: 79.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01954/8.277, allocations: 4.662 MB / 2.417 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01019/8.287, allocations: 94.94 kB / 2.417 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02189/8.309, allocations: 2.644 MB / 2.419 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/8.312, allocations: 442.2 kB / 2.42 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00368/8.315, allocations: 327.5 kB / 2.42 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.03328/8.349, allocations: 13.68 MB / 2.434 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.403e-06/8.349, allocations: 0 / 2.434 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0469/8.396, allocations: 5.686 MB / 2.439 GB, free: 70.13 MB / 0.5105 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 () * Number of clocked 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.004084/8.4, allocations: 251 kB / 2.439 GB, free: 69.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1347/8.534, allocations: 54.93 MB / 2.493 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/8.534, allocations: 0 / 2.493 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3937/8.928, allocations: 31.26 MB / 2.523 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02114/8.949, allocations: 2.964 MB / 2.526 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0871/9.036, allocations: 38.84 MB / 2.564 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01239/9.049, allocations: 8.99 MB / 2.573 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01506/9.064, allocations: 3.691 MB / 2.577 GB, free: 74.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00589/9.07, allocations: 0.6455 MB / 2.577 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/9.07, allocations: 0 / 2.577 GB, free: 74.27 MB / 0.5105 GB Notification: Performance of Templates: time 1.232/10.3, allocations: 439.4 MB / 3.006 GB, free: 52.7 MB / 0.5262 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)