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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1455/0.1455, allocations: 5.392 MB / 295.5 MB, free: 2.977 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 360.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1074, allocations: 50.6 MB / 411 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005463/0.1129, allocations: 4.419 MB / 415.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.1157, allocations: 1.582 MB / 417 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.1163, allocations: 8 kB / 417 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.1174, allocations: 327.3 kB / 417.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006569/0.1181, allocations: 210.7 kB / 417.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.1185, allocations: 191.8 kB / 417.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2245/0.3431, allocations: 25.65 MB / 443.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009433/0.3526, allocations: 7.967 MB / 451.3 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01437/0.367, allocations: 9.37 MB / 460.7 MB, free: 24.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02301/0.3901, allocations: 10.82 MB / 471.5 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009097/0.3992, allocations: 2.705 MB / 474.2 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.4122, allocations: 2.713 MB / 476.9 MB, free: 19.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009467/0.4217, allocations: 5.121 MB / 482 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02419/0.4459, allocations: 9.535 MB / 491.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03959/0.4856, allocations: 28.69 MB / 0.5081 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.4856, allocations: 4 kB / 0.5081 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.4856, allocations: 4 kB / 0.5081 GB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009142/0.4865, allocations: 0 / 0.5081 GB, free: 12.75 MB / 382.1 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.1187/0.6053, allocations: 30.8 MB / 0.5381 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.6054, allocations: 8.031 kB / 0.5382 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009686/0.6151, allocations: 1.456 MB / 0.5396 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05916/0.6742, allocations: 18.79 MB / 0.5579 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009221/0.6752, allocations: 0.6295 MB / 0.5585 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00529/0.6805, allocations: 0.8163 MB / 0.5593 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04546/0.726, allocations: 15.68 MB / 0.5747 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004056/0.7264, allocations: 27.75 kB / 0.5747 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003924/0.7304, allocations: 344 kB / 0.575 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.7306, allocations: 212 kB / 0.5752 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4035/1.134, allocations: 17.59 MB / 0.5924 GB, free: 96.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1196/1.254, allocations: 57.51 MB / 0.6485 GB, free: 67.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03401/1.288, allocations: 21.38 MB / 0.6694 GB, free: 53.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01411/1.302, allocations: 7.449 MB / 0.6767 GB, free: 49.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000501/1.302, allocations: 74.88 kB / 0.6768 GB, free: 49.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/1.303, allocations: 80.83 kB / 0.6768 GB, free: 49.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 9.487e-06/1.303, allocations: 0 / 0.6768 GB, free: 49.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.111/1.414, allocations: 36.3 MB / 0.7123 GB, free: 13.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/1.414, allocations: 94.92 kB / 0.7124 GB, free: 13.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03192/1.446, allocations: 15.19 MB / 0.7272 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002489/1.448, allocations: 109.7 kB / 0.7273 GB, free: 14.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01051/1.459, allocations: 6.087 MB / 0.7333 GB, free: 8.578 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003485/1.462, allocations: 1.581 MB / 0.7348 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0142/1.476, allocations: 2.101 MB / 0.7369 GB, free: 4.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/1.477, allocations: 301.1 kB / 0.7371 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0192/1.496, allocations: 7.641 MB / 0.7446 GB, free: 12.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0195/1.515, allocations: 8.838 MB / 0.7532 GB, free: 3.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03474/1.55, allocations: 14.39 MB / 0.7673 GB, free: 4.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.994e-05/1.55, allocations: 8 kB / 0.7673 GB, free: 4.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3498/1.9, allocations: 39.95 MB / 0.8063 GB, free: 132 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/1.9, allocations: 15.16 kB / 0.8063 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/1.9, allocations: 25.56 kB / 0.8064 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05029/1.95, allocations: 25.74 MB / 0.8315 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0072/1.958, allocations: 1.494 MB / 0.8329 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6141/2.572, allocations: 202.9 MB / 1.031 GB, free: 94.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01948/2.591, allocations: 2.556 MB / 1.034 GB, free: 93.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003539/2.595, allocations: 379.6 kB / 1.034 GB, free: 93.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 48 systems {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 (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.01126/2.606, allocations: 4.517 MB / 1.038 GB, free: 90.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004712/2.611, allocations: 1.16 MB / 1.039 GB, free: 90.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1011/2.712, allocations: 31.81 MB / 1.071 GB, free: 61.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.536e-05/2.712, allocations: 47.75 kB / 1.071 GB, free: 61.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/2.712, allocations: 0 / 1.071 GB, free: 61.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001837/2.712, allocations: 19.92 kB / 1.071 GB, free: 61.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1457/2.858, allocations: 46.64 MB / 1.116 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.116e-05/2.858, allocations: 0 / 1.116 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/2.86, allocations: 454.7 kB / 1.117 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02548/2.886, allocations: 15.48 MB / 1.132 GB, free: 15.02 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002083/2.888, allocations: 111.9 kB / 1.132 GB, free: 14.91 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.579/3.467, allocations: 115 MB / 1.244 GB, free: 86.75 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/3.467, allocations: 1.859 kB / 1.244 GB, free: 86.75 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1018/3.569, allocations: 30.87 MB / 1.274 GB, free: 56.05 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01034/3.579, allocations: 2.656 MB / 1.277 GB, free: 53.43 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006155/3.585, allocations: 72 kB / 1.277 GB, free: 53.36 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01362/3.599, allocations: 1.393 MB / 1.278 GB, free: 51.96 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/3.6, allocations: 280.6 kB / 1.279 GB, free: 51.69 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001882/3.602, allocations: 143.9 kB / 1.279 GB, free: 51.55 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02385/3.626, allocations: 10.49 MB / 1.289 GB, free: 41.13 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.81e-07/3.626, allocations: 0 / 1.289 GB, free: 41.13 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.02203/3.648, allocations: 3.717 MB / 1.293 GB, free: 37.52 MB / 0.4982 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 (250): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002033/3.65, allocations: 190.1 kB / 1.293 GB, free: 37.34 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.3326/3.983, allocations: 39.92 MB / 1.332 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/3.983, allocations: 0 / 1.332 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.0559/4.039, allocations: 17.29 MB / 1.349 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01988/4.059, allocations: 3.112 MB / 1.352 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07566/4.134, allocations: 33.94 MB / 1.385 GB, free: 113.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01542/4.15, allocations: 8.684 MB / 1.393 GB, free: 111 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01331/4.163, allocations: 3.889 MB / 1.397 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003362/4.167, allocations: 0.6253 MB / 1.398 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.041e-06/4.167, allocations: 4 kB / 1.398 GB, free: 110.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.5948/4.761, allocations: 272.3 MB / 1.664 GB, free: 12.76 MB / 0.4982 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)