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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008855/0.0008855, allocations: 90.5 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02283/0.02283, allocations: 5.284 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.508e-05, allocations: 0 / 396.4 MB, free: 51.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 51.61 MB / 448 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.2242, allocations: 84.48 MB / 0.52 GB, free: 6.352 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.2245, allocations: 75.95 kB / 0.5201 GB, free: 6.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.107/2.331, allocations: 472.3 MB / 0.9813 GB, free: 24.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.452e-06/2.331, allocations: 0 / 0.9813 GB, free: 24.87 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001885/2.333, allocations: 236 kB / 0.9815 GB, free: 24.64 MB / 442.7 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.05838/2.391, allocations: 17.45 MB / 0.9985 GB, free: 7.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/2.392, allocations: 8.031 kB / 0.9986 GB, free: 7.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/2.402, allocations: 1.451 MB / 1 GB, free: 5.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03665/2.439, allocations: 11.41 MB / 1.011 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007399/2.439, allocations: 271.9 kB / 1.011 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007516/2.447, allocations: 484 kB / 1.012 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5772/3.024, allocations: 31.62 MB / 1.043 GB, free: 62.85 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04122/3.065, allocations: 17.5 MB / 1.06 GB, free: 61.38 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003793/3.066, allocations: 24.78 kB / 1.06 GB, free: 61.38 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00474/3.071, allocations: 15.03 kB / 1.06 GB, free: 61.38 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/3.071, allocations: 209.7 kB / 1.06 GB, free: 61.38 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1438/3.215, allocations: 73.85 MB / 1.132 GB, free: 32.3 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02809/3.243, allocations: 25.15 MB / 1.157 GB, free: 19.24 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/3.255, allocations: 10.14 MB / 1.167 GB, free: 10.86 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/3.255, allocations: 82.44 kB / 1.167 GB, free: 10.79 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/3.255, allocations: 95.2 kB / 1.167 GB, free: 10.69 MB / 458.8 MB Notification: Performance of pre-optimization done (n=592): time 8.055e-06/3.255, allocations: 0 / 1.167 GB, free: 10.69 MB / 458.8 MB Notification: Performance of matching and sorting (n=592): time 0.5292/3.784, allocations: 67.12 MB / 1.232 GB, free: 70.7 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/3.784, allocations: 113.9 kB / 1.232 GB, free: 70.62 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03403/3.819, allocations: 15.95 MB / 1.248 GB, free: 70.09 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00361/3.822, allocations: 25.7 kB / 1.248 GB, free: 70.06 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007177/3.829, allocations: 5.796 MB / 1.254 GB, free: 69.11 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004374/3.834, allocations: 1.97 MB / 1.256 GB, free: 68.09 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004056/3.838, allocations: 1.094 kB / 1.256 GB, free: 68.09 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008542/3.839, allocations: 0.7146 MB / 1.256 GB, free: 67.76 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01913/3.858, allocations: 12.36 MB / 1.268 GB, free: 67.74 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02277/3.881, allocations: 13.5 MB / 1.282 GB, free: 66.84 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01964/3.9, allocations: 13.12 MB / 1.294 GB, free: 63.06 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.088e-05/3.901, allocations: 7.75 kB / 1.294 GB, free: 63.06 MB / 474.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.5845/4.485, allocations: 83.84 MB / 1.376 GB, free: 61.21 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/4.485, allocations: 14.72 kB / 1.376 GB, free: 61.21 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/4.485, allocations: 21.28 kB / 1.376 GB, free: 61.21 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2764/4.762, allocations: 74.75 MB / 1.449 GB, free: 53.17 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009929/4.772, allocations: 1.964 MB / 1.451 GB, free: 53.07 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419/6.19, allocations: 301.7 MB / 1.746 GB, free: 80.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03006/6.221, allocations: 4.327 MB / 1.75 GB, free: 80.19 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006488/6.227, allocations: 0.5475 MB / 1.751 GB, free: 80.19 MB / 0.4949 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableResistor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real module.cell[33].diode.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [48] module.cell[1].diode.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [48] module.cell[17].diode.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real [48] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (936): * Single equations (assignments): 887 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 48 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 48 {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: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {51 244} Notification: Performance of prepare postOptimizeDAE: time 0.009593/6.237, allocations: 252.5 kB / 1.751 GB, free: 80.08 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2168/6.453, allocations: 67.11 MB / 1.816 GB, free: 75.86 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00929/6.463, allocations: 1.084 MB / 1.817 GB, free: 75.27 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2232/6.686, allocations: 68.28 MB / 1.884 GB, free: 40.61 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-05/6.686, allocations: 56.7 kB / 1.884 GB, free: 40.55 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/6.686, allocations: 0.5 kB / 1.884 GB, free: 40.55 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001793/6.686, allocations: 27.89 kB / 1.884 GB, free: 40.53 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5985/7.285, allocations: 90.94 MB / 1.973 GB, free: 76.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.195e-05/7.285, allocations: 0.5 kB / 1.973 GB, free: 76.34 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/7.288, allocations: 0.5338 MB / 1.974 GB, free: 76.33 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1707/7.458, allocations: 65.25 MB / 2.037 GB, free: 62.21 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003606/7.462, allocations: 208.8 kB / 2.038 GB, free: 62.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8507/8.313, allocations: 207.5 MB / 2.24 GB, free: 46 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/8.313, allocations: 4 kB / 2.24 GB, free: 45.99 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5423/8.855, allocations: 67.29 MB / 2.306 GB, free: 76.58 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0138/8.869, allocations: 4.481 MB / 2.31 GB, free: 76.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007333/8.876, allocations: 0 / 2.31 GB, free: 76.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01898/8.895, allocations: 2.563 MB / 2.313 GB, free: 75.75 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001917/8.897, allocations: 436 kB / 2.313 GB, free: 75.74 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003816/8.901, allocations: 320 kB / 2.313 GB, free: 75.74 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02632/8.927, allocations: 11.68 MB / 2.325 GB, free: 75.42 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.21e-07/8.927, allocations: 0 / 2.325 GB, free: 75.42 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03937/8.967, allocations: 5.409 MB / 2.33 GB, free: 75.25 MB / 0.4949 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {51 247} Notification: Performance of Backend phase and start with SimCode phase: time 0.2216/9.188, allocations: 67.96 MB / 2.397 GB, free: 64.47 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.125/9.314, allocations: 51.15 MB / 2.447 GB, free: 18.53 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/9.314, allocations: 0 / 2.447 GB, free: 18.53 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.4307/9.744, allocations: 29.19 MB / 2.475 GB, free: 84.07 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02113/9.766, allocations: 2.359 MB / 2.477 GB, free: 83.96 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1357/9.901, allocations: 32.59 MB / 2.509 GB, free: 80.09 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02507/9.926, allocations: 8.997 MB / 2.518 GB, free: 79.03 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0171/9.944, allocations: 3.581 MB / 2.521 GB, free: 78.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01535/9.959, allocations: 5.039 MB / 2.526 GB, free: 78.59 MB / 0.4949 GB Notification: Performance of SimCode: time 2.304e-06/9.959, allocations: 0 / 2.526 GB, free: 78.59 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.83/11.79, allocations: 474.8 MB / 2.99 GB, free: 23.32 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/11.79, allocations: 124.6 kB / 2.99 GB, free: 23.13 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.5/39.29, allocations: 0.6562 kB / 2.99 GB, free: 23.13 MB / 0.5262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1)