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.001052/0.001052, allocations: 103.6 kB / 16.41 MB, free: 6.512 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.001027/0.001027, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02721/0.02721, allocations: 5.4 MB / 296.6 MB, free: 9.488 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.84 kB / 413.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09052/0.09192, allocations: 50.61 MB / 464.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.006086/0.09805, allocations: 4.389 MB / 468.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002892/0.101, allocations: 1.593 MB / 470.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.1016, allocations: 11.94 kB / 470.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1026, allocations: 300.9 kB / 470.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007674/0.1035, allocations: 242.3 kB / 470.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.104, allocations: 211.6 kB / 470.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0226/0.1266, allocations: 25.7 MB / 496.5 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.139, allocations: 7.947 MB / 0.4926 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.1528, allocations: 9.357 MB / 0.5018 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2259/0.3787, allocations: 10.86 MB / 0.5124 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009155/0.3879, allocations: 2.703 MB / 0.515 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.3985, allocations: 2.714 MB / 0.5177 GB, free: 21.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008692/0.4072, allocations: 5.121 MB / 0.5227 GB, free: 19.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01745/0.4247, allocations: 9.534 MB / 0.532 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02813/0.4528, allocations: 28.92 MB / 0.5602 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4529, allocations: 0 / 0.5602 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4529, allocations: 0 / 0.5602 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007853/0.4537, allocations: 0 / 0.5602 GB, free: 10.71 MB / 398.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.1157/0.5693, allocations: 31.42 MB / 0.5909 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5694, allocations: 8.031 kB / 0.5909 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008632/0.578, allocations: 1.452 MB / 0.5923 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06042/0.6385, allocations: 18.95 MB / 0.6108 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008378/0.6394, allocations: 0.6217 MB / 0.6115 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004847/0.6442, allocations: 0.8203 MB / 0.6123 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04391/0.6882, allocations: 15.67 MB / 0.6276 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000324/0.6886, allocations: 22.25 kB / 0.6276 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003356/0.6919, allocations: 352 kB / 0.6279 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.6922, allocations: 212 kB / 0.6281 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04099/0.7332, allocations: 17.6 MB / 0.6453 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3336/1.067, allocations: 57.23 MB / 0.7012 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03412/1.101, allocations: 21.36 MB / 0.7221 GB, free: 133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/1.114, allocations: 7.448 MB / 0.7293 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/1.114, allocations: 66.25 kB / 0.7294 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/1.114, allocations: 88.48 kB / 0.7295 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=448): time 6.462e-06/1.114, allocations: 0 / 0.7295 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=448): time 0.103/1.217, allocations: 36.29 MB / 0.7649 GB, free: 110.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.217, allocations: 102.9 kB / 0.765 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02169/1.239, allocations: 15.19 MB / 0.7798 GB, free: 95.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001706/1.241, allocations: 109.7 kB / 0.78 GB, free: 95.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005023/1.246, allocations: 6.087 MB / 0.7859 GB, free: 90.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002377/1.248, allocations: 1.574 MB / 0.7874 GB, free: 89.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0046/1.253, allocations: 2.101 MB / 0.7895 GB, free: 87.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.958e-05/1.253, allocations: 309.1 kB / 0.7898 GB, free: 86.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01381/1.267, allocations: 7.644 MB / 0.7972 GB, free: 79.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01544/1.282, allocations: 8.837 MB / 0.8059 GB, free: 69.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02728/1.31, allocations: 14.39 MB / 0.8199 GB, free: 55.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/1.31, allocations: 8 kB / 0.8199 GB, free: 55.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.117/1.427, allocations: 39.94 MB / 0.8589 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/1.427, allocations: 19.94 kB / 0.859 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.427, allocations: 24 kB / 0.859 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04921/1.476, allocations: 25.71 MB / 0.8841 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007874/1.484, allocations: 1.498 MB / 0.8855 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6335/2.117, allocations: 202.7 MB / 1.083 GB, free: 20.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01998/2.137, allocations: 2.567 MB / 1.086 GB, free: 18.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003341/2.141, allocations: 379.7 kB / 1.086 GB, free: 17.65 MB / 0.545 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.01102/2.152, allocations: 4.521 MB / 1.091 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005237/2.157, allocations: 1.159 MB / 1.092 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.346/2.503, allocations: 31.8 MB / 1.123 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/2.503, allocations: 43.53 kB / 1.123 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/2.503, allocations: 0 / 1.123 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/2.503, allocations: 21.14 kB / 1.123 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1296/2.633, allocations: 46.47 MB / 1.168 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/2.633, allocations: 0 / 1.168 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/2.635, allocations: 455 kB / 1.169 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02568/2.661, allocations: 15.47 MB / 1.184 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001685/2.662, allocations: 113.6 kB / 1.184 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2794/2.942, allocations: 115 MB / 1.296 GB, free: 38.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.942, allocations: 0 / 1.296 GB, free: 38.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09384/3.036, allocations: 30.88 MB / 1.326 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2643/3.3, allocations: 2.649 MB / 1.329 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004627/3.305, allocations: 71 kB / 1.329 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01243/3.317, allocations: 1.401 MB / 1.33 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008183/3.318, allocations: 273.2 kB / 1.331 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009995/3.319, allocations: 146 kB / 1.331 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.02274/3.342, allocations: 10.49 MB / 1.341 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/3.342, allocations: 0 / 1.341 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01756/3.359, allocations: 3.71 MB / 1.345 GB, free: 158.4 MB / 0.5606 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.001255/3.36, allocations: 198.1 kB / 1.345 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.07914/3.44, allocations: 33.12 MB / 1.377 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/3.44, allocations: 3.812 kB / 1.377 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.05602/3.496, allocations: 17.28 MB / 1.394 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02087/3.517, allocations: 3.117 MB / 1.397 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06887/3.585, allocations: 29.7 MB / 1.426 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01252/3.598, allocations: 8.655 MB / 1.435 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003072/3.601, allocations: 0.6634 MB / 1.435 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.724e-06/3.601, allocations: 0 / 1.435 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of Templates: time 3.998/7.6, allocations: 2.017 GB / 3.453 GB, free: 68.29 MB / 0.6075 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)