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.005501/0.005501, allocations: 102 kB / 15.73 MB, free: 6.051 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.001171/0.001171, allocations: 195 kB / 16.68 MB, free: 5.969 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1512/0.1512, allocations: 5.385 MB / 295.9 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 63.89 kB / 412.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.275, allocations: 50.6 MB / 463.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005068/0.2801, allocations: 4.402 MB / 467.8 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.2827, allocations: 1.593 MB / 469.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.2831, allocations: 8.75 kB / 469.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.284, allocations: 298.8 kB / 469.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.2846, allocations: 236.8 kB / 469.9 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2851, allocations: 215.2 kB / 470.1 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02073/0.3058, allocations: 25.7 MB / 495.8 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.3165, allocations: 7.947 MB / 0.492 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01503/0.3315, allocations: 9.349 MB / 0.5011 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01834/0.3499, allocations: 10.86 MB / 0.5117 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007098/0.357, allocations: 2.707 MB / 0.5143 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.3682, allocations: 2.715 MB / 0.517 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009344/0.3776, allocations: 5.12 MB / 0.522 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02199/0.3996, allocations: 9.535 MB / 0.5313 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0335/0.4331, allocations: 28.93 MB / 0.5596 GB, free: 3.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.4332, allocations: 0 / 0.5596 GB, free: 3.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4332, allocations: 0 / 0.5596 GB, free: 3.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001124/0.4344, allocations: 0 / 0.5596 GB, free: 3.344 MB / 430.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.5903/1.025, allocations: 31.41 MB / 0.5902 GB, free: 78.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/1.025, allocations: 9.625 kB / 0.5902 GB, free: 78.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/1.038, allocations: 1.45 MB / 0.5917 GB, free: 77.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06287/1.101, allocations: 18.95 MB / 0.6102 GB, free: 68.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001432/1.102, allocations: 0.6306 MB / 0.6108 GB, free: 67.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007176/1.11, allocations: 0.8132 MB / 0.6116 GB, free: 67.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04256/1.152, allocations: 15.68 MB / 0.6269 GB, free: 54.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00051/1.153, allocations: 27.69 kB / 0.6269 GB, free: 54.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/1.158, allocations: 344 kB / 0.6272 GB, free: 54.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/1.158, allocations: 213.1 kB / 0.6274 GB, free: 54.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04035/1.198, allocations: 17.6 MB / 0.6446 GB, free: 36.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1292/1.327, allocations: 57.21 MB / 0.7005 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03752/1.365, allocations: 21.38 MB / 0.7214 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01352/1.379, allocations: 7.448 MB / 0.7287 GB, free: 13.12 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/1.379, allocations: 63.39 kB / 0.7287 GB, free: 13.06 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.546e-05/1.379, allocations: 98 kB / 0.7288 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=448): time 6.813e-06/1.379, allocations: 0 / 0.7288 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of matching and sorting (n=448): time 0.1159/1.495, allocations: 36.3 MB / 0.7643 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/1.495, allocations: 94.92 kB / 0.7643 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03607/1.531, allocations: 15.18 MB / 0.7792 GB, free: 9.383 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002512/1.534, allocations: 109.7 kB / 0.7793 GB, free: 9.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.01211/1.546, allocations: 6.092 MB / 0.7852 GB, free: 3.133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004968/1.551, allocations: 1.576 MB / 0.7868 GB, free: 1.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.376/1.927, allocations: 2.099 MB / 0.7888 GB, free: 174.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/1.927, allocations: 306.2 kB / 0.7891 GB, free: 173.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02019/1.947, allocations: 7.643 MB / 0.7966 GB, free: 173.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02114/1.968, allocations: 8.84 MB / 0.8052 GB, free: 170.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03782/2.006, allocations: 14.4 MB / 0.8193 GB, free: 164.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.38e-05/2.006, allocations: 7.125 kB / 0.8193 GB, free: 164.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.1342/2.141, allocations: 39.94 MB / 0.8583 GB, free: 139.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/2.141, allocations: 19.94 kB / 0.8583 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.984e-05/2.141, allocations: 24 kB / 0.8583 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04571/2.186, allocations: 25.7 MB / 0.8834 GB, free: 113.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006987/2.194, allocations: 1.49 MB / 0.8849 GB, free: 111.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7115/2.905, allocations: 202.7 MB / 1.083 GB, free: 134.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02216/2.927, allocations: 2.562 MB / 1.085 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003649/2.931, allocations: 379.7 kB / 1.086 GB, free: 131.8 MB / 0.5607 GB 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.01309/2.944, allocations: 4.524 MB / 1.09 GB, free: 127.4 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006522/2.951, allocations: 1.153 MB / 1.091 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1717/3.122, allocations: 31.81 MB / 1.122 GB, free: 95.22 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.971e-05/3.122, allocations: 44 kB / 1.122 GB, free: 95.18 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/3.122, allocations: 3.938 kB / 1.122 GB, free: 95.18 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001265/3.123, allocations: 19.92 kB / 1.122 GB, free: 95.16 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1411/3.264, allocations: 46.46 MB / 1.168 GB, free: 48.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-05/3.264, allocations: 0 / 1.168 GB, free: 48.83 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/3.266, allocations: 455.4 kB / 1.168 GB, free: 48.39 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02515/3.291, allocations: 15.47 MB / 1.183 GB, free: 32.96 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002006/3.293, allocations: 107.9 kB / 1.183 GB, free: 32.85 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6318/3.925, allocations: 114.9 MB / 1.296 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/3.925, allocations: 0 / 1.296 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09317/4.018, allocations: 30.87 MB / 1.326 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008573/4.027, allocations: 2.654 MB / 1.328 GB, free: 99.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005702/4.033, allocations: 72 kB / 1.328 GB, free: 99.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01392/4.047, allocations: 1.397 MB / 1.33 GB, free: 98.42 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/4.048, allocations: 287.9 kB / 1.33 GB, free: 98.14 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001787/4.05, allocations: 142.3 kB / 1.33 GB, free: 98.01 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.02452/4.074, allocations: 10.49 MB / 1.34 GB, free: 87.59 MB / 0.5607 GB Notification: Performance of sort global known variables: time 3.21e-07/4.074, allocations: 0 / 1.34 GB, free: 87.59 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.02473/4.099, allocations: 3.71 MB / 1.344 GB, free: 83.99 MB / 0.5607 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.001693/4.101, allocations: 195.7 kB / 1.344 GB, free: 83.82 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.07842/4.179, allocations: 33.14 MB / 1.377 GB, free: 49.91 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/4.179, allocations: 0 / 1.377 GB, free: 49.91 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.05279/4.232, allocations: 17.28 MB / 1.393 GB, free: 32.61 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01942/4.251, allocations: 3.122 MB / 1.397 GB, free: 29.56 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06573/4.317, allocations: 29.59 MB / 1.425 GB, free: 76 kB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2802/4.597, allocations: 8.683 MB / 1.434 GB, free: 172.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.01409/4.612, allocations: 3.777 MB / 1.438 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004/4.616, allocations: 0.6301 MB / 1.438 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.733e-06/4.616, allocations: 1.469 kB / 1.438 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.6469/5.262, allocations: 278.3 MB / 1.71 GB, free: 145.6 MB / 0.5763 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)