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.001647/0.001646, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1297/0.1297, allocations: 5.394 MB / 295.8 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 360.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09423, allocations: 50.6 MB / 411.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005898/0.1002, allocations: 4.385 MB / 415.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.1032, allocations: 1.597 MB / 417.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.1038, allocations: 8 kB / 417.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.105, allocations: 293 kB / 417.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008699/0.1059, allocations: 246.3 kB / 418 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.1064, allocations: 207.6 kB / 418.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1961/0.3025, allocations: 25.61 MB / 443.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00838/0.311, allocations: 7.943 MB / 451.8 MB, free: 29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.3216, allocations: 9.323 MB / 461.1 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01815/0.3397, allocations: 10.83 MB / 471.9 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009492/0.3493, allocations: 2.705 MB / 474.6 MB, free: 19.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.3612, allocations: 2.716 MB / 477.4 MB, free: 19.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007606/0.3689, allocations: 5.125 MB / 482.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02017/0.3891, allocations: 9.531 MB / 492 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03959/0.4287, allocations: 28.71 MB / 0.5085 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4288, allocations: 0 / 0.5085 GB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4288, allocations: 0 / 0.5085 GB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000795/0.4296, allocations: 0 / 0.5085 GB, free: 12.48 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.1056/0.5351, allocations: 30.8 MB / 0.5386 GB, free: 13.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5352, allocations: 8.031 kB / 0.5386 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/0.5423, allocations: 1.452 MB / 0.54 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05133/0.5936, allocations: 18.8 MB / 0.5584 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008256/0.5945, allocations: 0.6217 MB / 0.559 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00501/0.5995, allocations: 0.8203 MB / 0.5598 GB, free: 7.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03871/0.6383, allocations: 15.68 MB / 0.5751 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.6385, allocations: 23.75 kB / 0.5751 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/0.6401, allocations: 348 kB / 0.5755 GB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.6403, allocations: 212 kB / 0.5757 GB, free: 7.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3737/1.014, allocations: 17.6 MB / 0.5928 GB, free: 96.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/1.121, allocations: 57.51 MB / 0.649 GB, free: 67.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03142/1.152, allocations: 21.37 MB / 0.6699 GB, free: 53.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01156/1.164, allocations: 7.451 MB / 0.6771 GB, free: 49.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/1.164, allocations: 81.11 kB / 0.6772 GB, free: 49.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/1.164, allocations: 79.61 kB / 0.6773 GB, free: 49.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 6.071e-06/1.164, allocations: 0 / 0.6773 GB, free: 49.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.09782/1.262, allocations: 36.29 MB / 0.7127 GB, free: 13.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/1.262, allocations: 94.92 kB / 0.7128 GB, free: 13.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02521/1.287, allocations: 15.19 MB / 0.7277 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001871/1.289, allocations: 113.6 kB / 0.7278 GB, free: 14.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007111/1.297, allocations: 6.094 MB / 0.7337 GB, free: 8.184 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003327/1.3, allocations: 1.58 MB / 0.7353 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006414/1.306, allocations: 2.097 MB / 0.7373 GB, free: 4.469 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/1.306, allocations: 301.8 kB / 0.7376 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01681/1.323, allocations: 7.644 MB / 0.7451 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0183/1.342, allocations: 8.838 MB / 0.7537 GB, free: 3.332 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03321/1.375, allocations: 14.4 MB / 0.7678 GB, free: 4.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.615e-05/1.375, allocations: 8 kB / 0.7678 GB, free: 4.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3472/1.722, allocations: 39.94 MB / 0.8068 GB, free: 131.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/1.722, allocations: 17.44 kB / 0.8068 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-05/1.722, allocations: 20.56 kB / 0.8068 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05731/1.78, allocations: 25.74 MB / 0.8319 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006808/1.786, allocations: 1.489 MB / 0.8334 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5535/2.34, allocations: 202.9 MB / 1.032 GB, free: 94.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02022/2.36, allocations: 2.555 MB / 1.034 GB, free: 93.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002975/2.363, allocations: 381.7 kB / 1.034 GB, free: 93.09 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.0117/2.375, allocations: 4.52 MB / 1.039 GB, free: 90.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005802/2.381, allocations: 1.16 MB / 1.04 GB, free: 89.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1001/2.481, allocations: 31.81 MB / 1.071 GB, free: 60.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.553e-05/2.481, allocations: 43.75 kB / 1.071 GB, free: 60.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/2.481, allocations: 0 / 1.071 GB, free: 60.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001457/2.481, allocations: 19.92 kB / 1.071 GB, free: 60.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1312/2.612, allocations: 46.64 MB / 1.117 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.609e-05/2.612, allocations: 4 kB / 1.117 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/2.614, allocations: 449.5 kB / 1.117 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0242/2.639, allocations: 15.49 MB / 1.132 GB, free: 14.44 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001238/2.64, allocations: 111.7 kB / 1.132 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5088/3.149, allocations: 115 MB / 1.245 GB, free: 86.25 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/3.149, allocations: 0 / 1.245 GB, free: 86.25 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09572/3.244, allocations: 30.87 MB / 1.275 GB, free: 55.54 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008572/3.253, allocations: 2.651 MB / 1.277 GB, free: 52.91 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006186/3.259, allocations: 76 kB / 1.277 GB, free: 52.84 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01209/3.271, allocations: 1.395 MB / 1.279 GB, free: 51.44 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/3.272, allocations: 283.7 kB / 1.279 GB, free: 51.17 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001147/3.274, allocations: 135.9 kB / 1.279 GB, free: 51.04 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01835/3.292, allocations: 10.49 MB / 1.289 GB, free: 40.62 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.9e-07/3.292, allocations: 0.5625 kB / 1.289 GB, free: 40.62 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01658/3.308, allocations: 3.717 MB / 1.293 GB, free: 37 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.001178/3.31, allocations: 188.2 kB / 1.293 GB, free: 36.82 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.3046/3.614, allocations: 39.91 MB / 1.332 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/3.614, allocations: 3.062 kB / 1.332 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05535/3.67, allocations: 17.29 MB / 1.349 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01872/3.688, allocations: 3.116 MB / 1.352 GB, free: 127.3 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06875/3.757, allocations: 29.88 MB / 1.381 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/3.768, allocations: 8.683 MB / 1.39 GB, free: 114.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01205/3.78, allocations: 3.883 MB / 1.394 GB, free: 114.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002785/3.783, allocations: 0.6349 MB / 1.394 GB, free: 114 MB / 0.4982 GB Notification: Performance of SimCode: time 9.51e-07/3.783, allocations: 3.656 kB / 1.394 GB, free: 114 MB / 0.4982 GB Notification: Performance of Templates: time 0.5747/4.357, allocations: 272.9 MB / 1.661 GB, free: 14.97 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)