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: translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009217/0.0009218, allocations: 179.2 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 95.41 kB / 291.3 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02527/0.02527, allocations: 5.391 MB / 347.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 10.03 kB / 413.5 MB, free: 57.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 51.61 MB / 465.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.4823, allocations: 85.12 MB / 0.5373 GB, free: 3.496 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4825, allocations: 71.91 kB / 0.5374 GB, free: 3.461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793/2.275, allocations: 477.4 MB / 1.004 GB, free: 58.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/2.275, allocations: 3.938 kB / 1.004 GB, free: 58.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.002152/2.278, allocations: 248.6 kB / 1.004 GB, free: 58.34 MB / 458.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.06859/2.346, allocations: 20.53 MB / 1.024 GB, free: 52.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/2.346, allocations: 8.062 kB / 1.024 GB, free: 52.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/2.356, allocations: 1.452 MB / 1.025 GB, free: 51.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03072/2.387, allocations: 11.91 MB / 1.037 GB, free: 49.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000725/2.387, allocations: 0.6306 MB / 1.038 GB, free: 49.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006413/2.394, allocations: 0.8141 MB / 1.038 GB, free: 49.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0637/2.458, allocations: 22.77 MB / 1.061 GB, free: 47.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006774/2.458, allocations: 27.41 kB / 1.061 GB, free: 47.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007096/2.465, allocations: 348.2 kB / 1.061 GB, free: 47.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/2.466, allocations: 213.2 kB / 1.061 GB, free: 47.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0921/2.558, allocations: 39.05 MB / 1.099 GB, free: 32.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6325/3.19, allocations: 75.88 MB / 1.173 GB, free: 50.38 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04562/3.236, allocations: 28.61 MB / 1.201 GB, free: 45.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02248/3.259, allocations: 12.08 MB / 1.213 GB, free: 45.62 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/3.259, allocations: 89.02 kB / 1.213 GB, free: 45.61 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.632e-05/3.259, allocations: 90.23 kB / 1.213 GB, free: 45.56 MB / 474.8 MB Notification: Performance of pre-optimization done (n=592): time 7.945e-06/3.259, allocations: 0 / 1.213 GB, free: 45.56 MB / 474.8 MB Notification: Performance of matching and sorting (n=592): time 0.2594/3.519, allocations: 82.82 MB / 1.294 GB, free: 16.3 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/3.519, allocations: 116 kB / 1.294 GB, free: 16.18 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05139/3.57, allocations: 19.83 MB / 1.314 GB, free: 12.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.003562/3.574, allocations: 133.7 kB / 1.314 GB, free: 12.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.01047/3.584, allocations: 5.878 MB / 1.32 GB, free: 7.309 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005606/3.59, allocations: 2.049 MB / 1.322 GB, free: 5.535 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004262/3.594, allocations: 200 kB / 1.322 GB, free: 5.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001167/3.596, allocations: 0.7141 MB / 1.322 GB, free: 4.621 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2719/3.867, allocations: 14.36 MB / 1.336 GB, free: 75.21 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02829/3.896, allocations: 15.59 MB / 1.352 GB, free: 74.31 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04599/3.942, allocations: 25.61 MB / 1.377 GB, free: 73.29 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.5e-05/3.942, allocations: 7.5 kB / 1.377 GB, free: 73.29 MB / 490.8 MB Notification: Performance of matching and sorting (n=1278) (initialization): time 0.2758/4.218, allocations: 90.18 MB / 1.465 GB, free: 40.93 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/4.218, allocations: 22.56 kB / 1.465 GB, free: 40.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/4.218, allocations: 31.92 kB / 1.465 GB, free: 40.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.506/4.724, allocations: 84.19 MB / 1.547 GB, free: 67.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009702/4.734, allocations: 1.959 MB / 1.549 GB, free: 67.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018/5.752, allocations: 326.8 MB / 1.868 GB, free: 3.996 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4023/6.154, allocations: 4.668 MB / 1.873 GB, free: 76.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00751/6.162, allocations: 0.5439 MB / 1.873 GB, free: 76.55 MB / 0.4949 GB 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 () * Number of clocked 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 {47 248} Notification: Performance of prepare postOptimizeDAE: time 0.02299/6.185, allocations: 4.57 MB / 1.878 GB, free: 76.43 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009067/6.194, allocations: 1.198 MB / 1.879 GB, free: 76.29 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3587/6.552, allocations: 74.17 MB / 1.951 GB, free: 71.91 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-05/6.552, allocations: 58.88 kB / 1.951 GB, free: 71.91 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/6.553, allocations: 4 kB / 1.951 GB, free: 71.9 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001714/6.553, allocations: 26.77 kB / 1.951 GB, free: 71.9 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2797/6.832, allocations: 97.79 MB / 2.047 GB, free: 5.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.245e-05/6.832, allocations: 0 / 2.047 GB, free: 5.34 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/6.835, allocations: 0.5266 MB / 2.047 GB, free: 4.812 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.459/7.294, allocations: 69.22 MB / 2.115 GB, free: 70.27 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003077/7.297, allocations: 288.7 kB / 2.115 GB, free: 70.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9235/8.221, allocations: 230.8 MB / 2.341 GB, free: 50.17 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/8.221, allocations: 0 / 2.341 GB, free: 50.17 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2135/8.434, allocations: 73.06 MB / 2.412 GB, free: 1.891 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3388/8.773, allocations: 4.662 MB / 2.417 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008149/8.781, allocations: 99.27 kB / 2.417 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02053/8.802, allocations: 2.656 MB / 2.419 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001979/8.804, allocations: 431.3 kB / 2.42 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002978/8.807, allocations: 318.7 kB / 2.42 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.03327/8.84, allocations: 13.69 MB / 2.433 GB, free: 83.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-07/8.84, allocations: 0 / 2.433 GB, free: 83.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.04018/8.88, allocations: 5.683 MB / 2.439 GB, free: 83.03 MB / 0.5105 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 (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.003517/8.884, allocations: 246.3 kB / 2.439 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1354/9.019, allocations: 54.93 MB / 2.493 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/9.019, allocations: 0 / 2.493 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.09301/9.112, allocations: 31.26 MB / 2.523 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0325/9.145, allocations: 2.997 MB / 2.526 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08659/9.231, allocations: 38.71 MB / 2.564 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01662/9.248, allocations: 8.767 MB / 2.573 GB, free: 37.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01417/9.262, allocations: 3.69 MB / 2.576 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004519/9.267, allocations: 0.6476 MB / 2.577 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/9.267, allocations: 4 kB / 2.577 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of Templates: time 1.621/10.89, allocations: 441.2 MB / 3.008 GB, free: 94.64 MB / 0.5418 GB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile (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 & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule -abortSlowSimulation -alarm=480 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1)