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.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001546/0.001546, allocations: 190.6 kB / 16.13 MB, free: 6.699 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1627/0.1627, allocations: 5.392 MB / 295.3 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.92 kB / 360.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09332, allocations: 50.62 MB / 410.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006437/0.09979, allocations: 4.408 MB / 415.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1025, allocations: 1.586 MB / 416.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.1029, allocations: 11.94 kB / 416.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1041, allocations: 323.3 kB / 417.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.1047, allocations: 214.6 kB / 417.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.1051, allocations: 195.8 kB / 417.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1737/0.2788, allocations: 23.56 MB / 441.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00738/0.2863, allocations: 7.266 MB / 448.3 MB, free: 30.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007959/0.2942, allocations: 6.594 MB / 454.9 MB, free: 28.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.3061, allocations: 8.527 MB / 463.4 MB, free: 24.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003931/0.31, allocations: 0.9586 MB / 464.4 MB, free: 24.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006203/0.3162, allocations: 0.9684 MB / 465.4 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003896/0.3201, allocations: 3.051 MB / 468.4 MB, free: 22.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02106/0.3412, allocations: 7.464 MB / 475.9 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02957/0.3708, allocations: 27.1 MB / 0.4912 GB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.3709, allocations: 4 kB / 0.4912 GB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3709, allocations: 3.938 kB / 0.4912 GB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006961/0.3716, allocations: 0 / 0.4912 GB, free: 13.86 MB / 366.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.1082/0.4798, allocations: 30.8 MB / 0.5213 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4799, allocations: 8.031 kB / 0.5213 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008445/0.4884, allocations: 1.448 MB / 0.5227 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05842/0.5468, allocations: 18.8 MB / 0.5411 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008049/0.5476, allocations: 0.6217 MB / 0.5417 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004188/0.5518, allocations: 0.8247 MB / 0.5425 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04241/0.5943, allocations: 15.67 MB / 0.5578 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003946/0.5947, allocations: 23.75 kB / 0.5578 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004447/0.5992, allocations: 352 kB / 0.5581 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/0.5994, allocations: 212 kB / 0.5583 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04197/0.6414, allocations: 17.6 MB / 0.5755 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4722/1.114, allocations: 57.51 MB / 0.6317 GB, free: 72.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03713/1.151, allocations: 21.38 MB / 0.6526 GB, free: 62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01337/1.164, allocations: 7.448 MB / 0.6598 GB, free: 59.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/1.165, allocations: 65.22 kB / 0.6599 GB, free: 59.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.919e-05/1.165, allocations: 87.48 kB / 0.66 GB, free: 58.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=448): time 9.197e-06/1.165, allocations: 0 / 0.66 GB, free: 58.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=448): time 0.1135/1.278, allocations: 36.3 MB / 0.6954 GB, free: 30.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.278, allocations: 94.92 kB / 0.6955 GB, free: 30.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0345/1.313, allocations: 15.19 MB / 0.7104 GB, free: 15.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002667/1.316, allocations: 109.7 kB / 0.7105 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008133/1.324, allocations: 6.087 MB / 0.7164 GB, free: 9.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003497/1.327, allocations: 1.581 MB / 0.718 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01146/1.339, allocations: 2.101 MB / 0.72 GB, free: 5.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/1.339, allocations: 301.1 kB / 0.7203 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01596/1.355, allocations: 7.644 MB / 0.7278 GB, free: 13.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01804/1.373, allocations: 8.837 MB / 0.7364 GB, free: 4.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03154/1.405, allocations: 14.4 MB / 0.7504 GB, free: 5.684 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/1.405, allocations: 7.984 kB / 0.7505 GB, free: 5.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.3404/1.745, allocations: 39.95 MB / 0.7895 GB, free: 129.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/1.745, allocations: 16.09 kB / 0.7895 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/1.745, allocations: 26.38 kB / 0.7895 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0511/1.796, allocations: 25.7 MB / 0.8146 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/1.804, allocations: 1.492 MB / 0.8161 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6535/2.458, allocations: 190.4 MB / 1.002 GB, free: 102.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02135/2.479, allocations: 2.563 MB / 1.005 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003647/2.483, allocations: 385.2 kB / 1.005 GB, free: 101.9 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.01475/2.497, allocations: 4.511 MB / 1.009 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005961/2.503, allocations: 1.161 MB / 1.01 GB, free: 99.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1028/2.606, allocations: 31.8 MB / 1.041 GB, free: 87.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/2.606, allocations: 46.19 kB / 1.042 GB, free: 87.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/2.606, allocations: 0 / 1.042 GB, free: 87.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/2.606, allocations: 19.92 kB / 1.042 GB, free: 87.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1458/2.752, allocations: 46.64 MB / 1.087 GB, free: 42.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-05/2.752, allocations: 3.984 kB / 1.087 GB, free: 42.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/2.754, allocations: 455.4 kB / 1.088 GB, free: 41.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02533/2.78, allocations: 15.47 MB / 1.103 GB, free: 26.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001768/2.782, allocations: 113.9 kB / 1.103 GB, free: 26.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5813/3.363, allocations: 108.3 MB / 1.208 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/3.363, allocations: 0 / 1.208 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09202/3.455, allocations: 30.87 MB / 1.239 GB, free: 91.18 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007571/3.462, allocations: 2.658 MB / 1.241 GB, free: 88.55 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004696/3.467, allocations: 71.75 kB / 1.241 GB, free: 88.49 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01194/3.479, allocations: 1.397 MB / 1.243 GB, free: 87.09 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/3.48, allocations: 276.1 kB / 1.243 GB, free: 86.82 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001681/3.482, allocations: 139.9 kB / 1.243 GB, free: 86.68 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.02017/3.502, allocations: 10.49 MB / 1.253 GB, free: 76.26 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9.72e-07/3.502, allocations: 0 / 1.253 GB, free: 76.26 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01941/3.522, allocations: 3.715 MB / 1.257 GB, free: 72.65 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.00202/3.524, allocations: 187.3 kB / 1.257 GB, free: 72.48 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.07925/3.603, allocations: 32.81 MB / 1.289 GB, free: 38.99 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/3.603, allocations: 0 / 1.289 GB, free: 38.99 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.05484/3.658, allocations: 17.18 MB / 1.306 GB, free: 21.84 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0221/3.68, allocations: 2.979 MB / 1.309 GB, free: 18.98 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2705/3.95, allocations: 33.93 MB / 1.342 GB, free: 117.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01792/3.968, allocations: 8.681 MB / 1.35 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01713/3.986, allocations: 3.592 MB / 1.354 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004031/3.99, allocations: 0.6342 MB / 1.355 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of SimCode: time 1.202e-06/3.99, allocations: 0 / 1.355 GB, free: 116.1 MB / 0.4982 GB Notification: Performance of Templates: time 0.5393/4.529, allocations: 262.2 MB / 1.611 GB, free: 71.69 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)