Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",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.001389/0.001389, allocations: 180.9 kB / 7.651 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.318/1.318, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008611/0.0008611, allocations: 91.39 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02263/0.02263, allocations: 5.282 MB / 336.5 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.311e-05, allocations: 3.969 kB / 396.4 MB, free: 51.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.08382, allocations: 51.61 MB / 448 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.1842, allocations: 84.36 MB / 0.5199 GB, free: 6.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.1844, allocations: 67.97 kB / 0.52 GB, free: 6.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.005/2.189, allocations: 472.1 MB / 0.981 GB, free: 24.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/2.189, allocations: 0 / 0.981 GB, free: 24.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.002245/2.191, allocations: 240 kB / 0.9812 GB, free: 24.57 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.06066/2.252, allocations: 17.45 MB / 0.9982 GB, free: 7.027 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/2.252, allocations: 8.031 kB / 0.9982 GB, free: 7.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/2.263, allocations: 1.451 MB / 0.9996 GB, free: 5.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03488/2.298, allocations: 11.42 MB / 1.011 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008826/2.299, allocations: 268 kB / 1.011 GB, free: 9.781 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006913/2.306, allocations: 491.9 kB / 1.012 GB, free: 9.301 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7028/3.008, allocations: 31.61 MB / 1.042 GB, free: 62.97 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05579/3.064, allocations: 17.5 MB / 1.059 GB, free: 61.51 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/3.065, allocations: 22.84 kB / 1.059 GB, free: 61.51 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004855/3.07, allocations: 13.94 kB / 1.06 GB, free: 61.51 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001441/3.07, allocations: 210.5 kB / 1.06 GB, free: 61.51 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1635/3.233, allocations: 73.86 MB / 1.132 GB, free: 32.37 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03369/3.267, allocations: 25.15 MB / 1.156 GB, free: 19.03 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01469/3.282, allocations: 10.14 MB / 1.166 GB, free: 10.65 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/3.282, allocations: 76.62 kB / 1.166 GB, free: 10.59 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/3.282, allocations: 100.7 kB / 1.166 GB, free: 10.48 MB / 458.8 MB Notification: Performance of pre-optimization done (n=592): time 6.742e-06/3.282, allocations: 0 / 1.166 GB, free: 10.48 MB / 458.8 MB Notification: Performance of matching and sorting (n=592): time 0.534/3.816, allocations: 67.12 MB / 1.232 GB, free: 70.81 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/3.816, allocations: 114.4 kB / 1.232 GB, free: 70.74 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03862/3.855, allocations: 15.95 MB / 1.248 GB, free: 70.21 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.004036/3.859, allocations: 25.7 kB / 1.248 GB, free: 70.18 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008312/3.867, allocations: 5.806 MB / 1.253 GB, free: 69.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005695/3.873, allocations: 1.968 MB / 1.255 GB, free: 68.21 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005046/3.878, allocations: 0 / 1.255 GB, free: 68.21 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008955/3.879, allocations: 0.7079 MB / 1.256 GB, free: 67.88 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02168/3.901, allocations: 12.37 MB / 1.268 GB, free: 67.86 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02313/3.924, allocations: 13.5 MB / 1.281 GB, free: 66.96 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0251/3.949, allocations: 13.12 MB / 1.294 GB, free: 63.14 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-05/3.949, allocations: 7 kB / 1.294 GB, free: 63.14 MB / 474.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.5637/4.513, allocations: 83.85 MB / 1.376 GB, free: 61.15 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/4.513, allocations: 15.25 kB / 1.376 GB, free: 61.15 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.276e-05/4.513, allocations: 25.92 kB / 1.376 GB, free: 61.15 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1937/4.707, allocations: 74.74 MB / 1.449 GB, free: 53.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009732/4.717, allocations: 1.962 MB / 1.451 GB, free: 52.99 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317/6.034, allocations: 301.7 MB / 1.746 GB, free: 80.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03136/6.066, allocations: 4.32 MB / 1.75 GB, free: 80.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006482/6.072, allocations: 0.544 MB / 1.75 GB, free: 80.52 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.00837/6.081, allocations: 251 kB / 1.751 GB, free: 80.41 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.209/6.29, allocations: 67.12 MB / 1.816 GB, free: 76.13 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01018/6.3, allocations: 1.079 MB / 1.817 GB, free: 75.54 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2165/6.516, allocations: 68.28 MB / 1.884 GB, free: 40.66 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.355e-05/6.517, allocations: 59.95 kB / 1.884 GB, free: 40.6 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/6.517, allocations: 0 / 1.884 GB, free: 40.6 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002043/6.517, allocations: 31.88 kB / 1.884 GB, free: 40.57 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.727/7.244, allocations: 90.94 MB / 1.973 GB, free: 76.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.435e-05/7.244, allocations: 2.938 kB / 1.973 GB, free: 76.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/7.247, allocations: 0.5289 MB / 1.973 GB, free: 76.42 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1698/7.416, allocations: 65.26 MB / 2.037 GB, free: 61.81 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003661/7.42, allocations: 206.2 kB / 2.037 GB, free: 61.62 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9474/8.368, allocations: 207.5 MB / 2.24 GB, free: 45.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/8.368, allocations: 0 / 2.24 GB, free: 45.59 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6035/8.971, allocations: 67.3 MB / 2.306 GB, free: 77.12 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01465/8.986, allocations: 4.472 MB / 2.31 GB, free: 76.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009668/8.996, allocations: 3.688 kB / 2.31 GB, free: 76.65 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02039/9.016, allocations: 2.552 MB / 2.312 GB, free: 76.21 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00184/9.018, allocations: 442.8 kB / 2.313 GB, free: 76.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002786/9.021, allocations: 315.2 kB / 2.313 GB, free: 76.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02536/9.046, allocations: 11.68 MB / 2.325 GB, free: 75.88 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.11e-07/9.046, allocations: 0 / 2.325 GB, free: 75.88 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.03799/9.084, allocations: 5.415 MB / 2.33 GB, free: 75.71 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.2294/9.314, allocations: 67.95 MB / 2.396 GB, free: 64.13 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.1346/9.448, allocations: 51.15 MB / 2.446 GB, free: 18.16 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/9.448, allocations: 1.312 kB / 2.446 GB, free: 18.16 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.4656/9.914, allocations: 29.2 MB / 2.475 GB, free: 81.56 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02029/9.934, allocations: 2.36 MB / 2.477 GB, free: 81.44 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09909/10.03, allocations: 32.57 MB / 2.509 GB, free: 77.57 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01463/10.05, allocations: 8.998 MB / 2.518 GB, free: 76.51 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01362/10.06, allocations: 3.59 MB / 2.521 GB, free: 76.12 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01432/10.08, allocations: 5.033 MB / 2.526 GB, free: 76.11 MB / 0.4949 GB Notification: Performance of SimCode: time 2.285e-06/10.08, allocations: 0 / 2.526 GB, free: 76.11 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.431/11.51, allocations: 474.8 MB / 2.99 GB, free: 22.62 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/11.51, allocations: 124.8 kB / 2.99 GB, free: 22.43 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.24/38.75, allocations: 0 / 2.99 GB, free: 22.43 MB / 0.5262 GB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)