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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.04394/0.04394, allocations: 4.239 MB / 264.5 MB, free: 8.793 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") translateModel(PhotoVoltaics.Examples.SimpleModule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 286.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.441e-05, allocations: 6.25 kB / 286.4 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.1198/0.1198, allocations: 4.325 MB / 290.7 MB, free: 22.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1224, allocations: 1.645 MB / 292.3 MB, free: 22.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/0.1227, allocations: 11.47 kB / 292.3 MB, free: 22.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000624/0.1233, allocations: 307.7 kB / 292.6 MB, free: 21.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.1238, allocations: 262.2 kB / 292.9 MB, free: 21.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.1242, allocations: 223.4 kB / 293.1 MB, free: 21.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.1398, allocations: 27.76 MB / 320.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.1437, allocations: 3.66 MB / 324.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01684/0.1605, allocations: 14.21 MB / 338.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01399/0.1745, allocations: 11.12 MB / 349.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005289/0.1798, allocations: 2.312 MB / 352.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.184, allocations: 2.324 MB / 354.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002625/0.1866, allocations: 4.568 MB / 359.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0101/0.1967, allocations: 6.259 MB / 365.3 MB, free: 4.109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.2137, allocations: 16.38 MB / 381.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2137, allocations: 0 / 381.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2137, allocations: 0 / 381.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004844/0.2142, allocations: 0 / 381.7 MB, free: 3.684 MB / 330.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.02643/0.2406, allocations: 16.31 MB / 398 MB, free: 3.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2406, allocations: 8.031 kB / 398 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.2431, allocations: 1.583 MB / 399.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/0.2584, allocations: 8.962 MB / 408.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.2587, allocations: 0.6297 MB / 409.2 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000999/0.2597, allocations: 0.8203 MB / 410 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009407/0.2691, allocations: 7.314 MB / 417.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.2692, allocations: 19.81 kB / 417.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006906/0.2699, allocations: 344.6 kB / 417.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.27, allocations: 212 kB / 417.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/0.2755, allocations: 3.021 MB / 420.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2773/0.5528, allocations: 29.29 MB / 450.2 MB, free: 85.61 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/0.5606, allocations: 4.471 MB / 454.7 MB, free: 85.46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/0.5632, allocations: 1.658 MB / 456.3 MB, free: 85.37 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.5634, allocations: 85.38 kB / 456.4 MB, free: 85.36 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.5634, allocations: 80.08 kB / 456.5 MB, free: 85.32 MB / 378.8 MB Notification: Performance of pre-optimization done (n=448): time 5.65e-06/0.5634, allocations: 0 / 456.5 MB, free: 85.32 MB / 378.8 MB Notification: Performance of matching and sorting (n=448): time 0.0085/0.5719, allocations: 3.401 MB / 459.9 MB, free: 85.18 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.572, allocations: 100.2 kB / 460 MB, free: 85.11 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01172/0.5837, allocations: 7.955 MB / 467.9 MB, free: 83.29 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001595/0.5853, allocations: 107.6 kB / 468.1 MB, free: 83.25 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002484/0.5878, allocations: 4.24 MB / 472.3 MB, free: 82.22 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001951/0.5897, allocations: 1.632 MB / 473.9 MB, free: 81.11 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003134/0.5929, allocations: 1.908 MB / 475.8 MB, free: 79.96 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.5929, allocations: 308.4 kB / 476.1 MB, free: 79.67 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.5951, allocations: 1.337 MB / 477.5 MB, free: 79.47 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.5976, allocations: 2.523 MB / 480 MB, free: 76.9 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005947/0.6036, allocations: 4.04 MB / 484 MB, free: 72.6 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-05/0.6036, allocations: 8 kB / 484 MB, free: 72.59 MB / 378.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.01978/0.6234, allocations: 8.041 MB / 492.1 MB, free: 64.46 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.6234, allocations: 12 kB / 492.1 MB, free: 64.45 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.746e-05/0.6235, allocations: 26.66 kB / 492.1 MB, free: 64.42 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/0.6468, allocations: 12.62 MB / 0.4929 GB, free: 51.71 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005603/0.6525, allocations: 1.42 MB / 0.4943 GB, free: 50.29 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04328/0.6957, allocations: 68.76 MB / 0.5614 GB, free: 9.176 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/0.7065, allocations: 1.108 MB / 0.5625 GB, free: 8.273 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002817/0.7093, allocations: 295.7 kB / 0.5628 GB, free: 7.984 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (837): * Single equations (assignments): 788 * 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.005483/0.7148, allocations: 493.4 kB / 0.5633 GB, free: 7.504 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002475/0.7173, allocations: 0.7257 MB / 0.564 GB, free: 6.777 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/0.7258, allocations: 3.68 MB / 0.5676 GB, free: 3.066 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.7258, allocations: 40 kB / 0.5676 GB, free: 3.027 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.7258, allocations: 0 / 0.5676 GB, free: 3.027 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.7258, allocations: 27.91 kB / 0.5676 GB, free: 3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1614/0.8873, allocations: 8.586 MB / 0.576 GB, free: 113.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8873, allocations: 4.312 kB / 0.576 GB, free: 113.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.8887, allocations: 413.6 kB / 0.5764 GB, free: 113.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01173/0.9004, allocations: 7.903 MB / 0.5841 GB, free: 112.6 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005615/0.901, allocations: 108.1 kB / 0.5842 GB, free: 112.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.9143, allocations: 4.153 MB / 0.5883 GB, free: 112 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9143, allocations: 0 / 0.5883 GB, free: 112 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006492/0.9208, allocations: 3.069 MB / 0.5913 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004248/0.925, allocations: 1.346 MB / 0.5926 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002509/0.9276, allocations: 73.12 kB / 0.5927 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004448/0.932, allocations: 267.2 kB / 0.5929 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/0.9323, allocations: 232.5 kB / 0.5932 GB, free: 111.7 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004162/0.9328, allocations: 105.9 kB / 0.5933 GB, free: 111.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006893/0.9397, allocations: 4.129 MB / 0.5973 GB, free: 110.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/0.9397, allocations: 0 / 0.5973 GB, free: 110.9 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008842/0.9485, allocations: 3.106 MB / 0.6003 GB, free: 110.8 MB / 410.8 MB 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.000773/0.9493, allocations: 178 kB / 0.6005 GB, free: 110.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01921/0.9685, allocations: 12.45 MB / 0.6127 GB, free: 99.24 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002505/0.9687, allocations: 144.5 kB / 0.6128 GB, free: 99.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01129/0.98, allocations: 2.934 MB / 0.6157 GB, free: 96.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0106/0.9906, allocations: 2.812 MB / 0.6184 GB, free: 93.89 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/1.021, allocations: 19.74 MB / 0.6377 GB, free: 74.18 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/1.024, allocations: 2.643 MB / 0.6403 GB, free: 71.51 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004772/1.029, allocations: 1.412 MB / 0.6416 GB, free: 70.09 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004191/1.033, allocations: 2.016 MB / 0.6436 GB, free: 68.04 MB / 410.8 MB Notification: Performance of SimCode: time 2.054e-06/1.033, allocations: 0 / 0.6436 GB, free: 68.04 MB / 410.8 MB Notification: Performance of Templates: time 0.3728/1.406, allocations: 194.6 MB / 0.8336 GB, free: 40.61 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.makefile [Timeout 660] (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 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.39547898573801]