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.001065/0.001065, allocations: 170.1 kB / 16.11 MB, free: 5.582 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.409/1.409, allocations: 223.3 MB / 240.1 MB, free: 11.7 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.0009115/0.0009115, allocations: 94.44 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02509/0.02509, allocations: 5.391 MB / 347.8 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004391/0.0004392, allocations: 8 kB / 413.5 MB, free: 57.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 51.6 MB / 465.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4756, allocations: 85.26 MB / 0.5374 GB, free: 3.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4759, allocations: 70.28 kB / 0.5375 GB, free: 3.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843/2.318, allocations: 477.7 MB / 1.004 GB, free: 58.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.138e-06/2.318, allocations: 0.625 kB / 1.004 GB, free: 58.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002877/2.321, allocations: 241.9 kB / 1.004 GB, free: 58.54 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.06942/2.391, allocations: 20.53 MB / 1.024 GB, free: 52.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/2.391, allocations: 11.41 kB / 1.024 GB, free: 52.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009995/2.401, allocations: 1.448 MB / 1.026 GB, free: 52.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03133/2.432, allocations: 11.91 MB / 1.037 GB, free: 50.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007416/2.433, allocations: 0.6293 MB / 1.038 GB, free: 50 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006063/2.439, allocations: 0.8108 MB / 1.039 GB, free: 50 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05973/2.499, allocations: 22.77 MB / 1.061 GB, free: 48.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002905/2.499, allocations: 27.66 kB / 1.061 GB, free: 48.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004369/2.504, allocations: 352.7 kB / 1.061 GB, free: 48.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/2.504, allocations: 213.9 kB / 1.062 GB, free: 48.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07617/2.58, allocations: 39.05 MB / 1.1 GB, free: 32.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5936/3.174, allocations: 75.87 MB / 1.174 GB, free: 50.37 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0488/3.223, allocations: 28.62 MB / 1.202 GB, free: 45.68 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02214/3.245, allocations: 12.08 MB / 1.213 GB, free: 45.61 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/3.245, allocations: 85.88 kB / 1.214 GB, free: 45.59 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.324e-05/3.245, allocations: 101.5 kB / 1.214 GB, free: 45.55 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 7.585e-06/3.245, allocations: 0 / 1.214 GB, free: 45.55 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.248/3.493, allocations: 82.82 MB / 1.295 GB, free: 16.25 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/3.494, allocations: 116 kB / 1.295 GB, free: 16.12 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03695/3.53, allocations: 19.82 MB / 1.314 GB, free: 12.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003081/3.534, allocations: 133.7 kB / 1.314 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008408/3.542, allocations: 5.878 MB / 1.32 GB, free: 7.254 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004598/3.547, allocations: 2.053 MB / 1.322 GB, free: 5.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003552/3.55, allocations: 200 kB / 1.322 GB, free: 5.285 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007531/3.551, allocations: 0.7116 MB / 1.323 GB, free: 4.566 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2616/3.813, allocations: 14.36 MB / 1.337 GB, free: 75.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03274/3.845, allocations: 15.6 MB / 1.352 GB, free: 74.12 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04681/3.892, allocations: 25.61 MB / 1.377 GB, free: 73.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.47e-05/3.892, allocations: 11.06 kB / 1.377 GB, free: 73.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.2728/4.165, allocations: 90.19 MB / 1.465 GB, free: 40.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/4.165, allocations: 12 kB / 1.465 GB, free: 40.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/4.165, allocations: 24 kB / 1.465 GB, free: 40.85 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5203/4.686, allocations: 84.27 MB / 1.547 GB, free: 67.38 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009867/4.695, allocations: 1.961 MB / 1.549 GB, free: 67.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9761/5.672, allocations: 326.9 MB / 1.869 GB, free: 3.902 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3457/6.017, allocations: 4.66 MB / 1.873 GB, free: 76.67 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006247/6.024, allocations: 0.5444 MB / 1.874 GB, free: 76.67 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.01913/6.043, allocations: 4.57 MB / 1.878 GB, free: 76.55 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008562/6.051, allocations: 1.201 MB / 1.879 GB, free: 76.41 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2301/6.282, allocations: 74.17 MB / 1.952 GB, free: 71.97 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.293e-05/6.282, allocations: 66.47 kB / 1.952 GB, free: 71.97 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/6.282, allocations: 0 / 1.952 GB, free: 71.97 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000157/6.282, allocations: 25.03 kB / 1.952 GB, free: 71.97 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.258/6.54, allocations: 97.78 MB / 2.047 GB, free: 5.195 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.626e-05/6.54, allocations: 4 kB / 2.047 GB, free: 5.191 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/6.542, allocations: 0.5266 MB / 2.048 GB, free: 4.664 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4689/7.011, allocations: 69.22 MB / 2.115 GB, free: 70.02 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002655/7.014, allocations: 285.2 kB / 2.116 GB, free: 70.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9086/7.923, allocations: 230.8 MB / 2.341 GB, free: 50.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.923, allocations: 5.562 kB / 2.341 GB, free: 50.28 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2224/8.145, allocations: 73.06 MB / 2.412 GB, free: 1.773 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3005/8.445, allocations: 4.666 MB / 2.417 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007958/8.453, allocations: 96.44 kB / 2.417 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0205/8.474, allocations: 2.65 MB / 2.42 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001873/8.476, allocations: 436.8 kB / 2.42 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002551/8.478, allocations: 318.1 kB / 2.42 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.03031/8.509, allocations: 13.69 MB / 2.434 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.974e-06/8.509, allocations: 0 / 2.434 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03739/8.546, allocations: 5.689 MB / 2.439 GB, free: 83.18 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.002859/8.549, allocations: 247.3 kB / 2.439 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1381/8.687, allocations: 54.93 MB / 2.493 GB, free: 76.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/8.687, allocations: 0 / 2.493 GB, free: 76.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.09299/8.78, allocations: 31.26 MB / 2.524 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03274/8.813, allocations: 3.001 MB / 2.527 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08816/8.901, allocations: 38.74 MB / 2.564 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01602/8.917, allocations: 8.759 MB / 2.573 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01505/8.932, allocations: 3.688 MB / 2.577 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004876/8.937, allocations: 0.6509 MB / 2.577 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/8.937, allocations: 0 / 2.577 GB, free: 34.02 MB / 0.5105 GB Notification: Performance of Templates: time 1.56/10.5, allocations: 441.2 MB / 3.008 GB, free: 94.77 MB / 0.5418 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 -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)