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.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.001025/0.001025, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001206/0.001206, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9791/0.9791, allocations: 177.2 MB / 203.7 MB, free: 5.504 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.01747/0.01747, allocations: 4.223 MB / 264.5 MB, free: 8.789 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.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") translateModel(PhotoVoltaics.Examples.SimpleModuleShadow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 341.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.465e-05, allocations: 6.25 kB / 341.2 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004722/0.004746, allocations: 4.312 MB / 345.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.007162, allocations: 1.613 MB / 347.1 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.007456, allocations: 11.94 kB / 347.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.008178, allocations: 293.2 kB / 347.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.008675, allocations: 270.1 kB / 347.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.0091, allocations: 227.5 kB / 347.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02333/0.03243, allocations: 27.76 MB / 375.7 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004933/0.03736, allocations: 3.507 MB / 379.2 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01706/0.05442, allocations: 14.21 MB / 393.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01513/0.06955, allocations: 11.11 MB / 404.5 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005217/0.07476, allocations: 2.309 MB / 406.8 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.07818, allocations: 2.324 MB / 409.1 MB, free: 4.078 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.223/0.3011, allocations: 4.558 MB / 413.7 MB, free: 49.63 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009952/0.3111, allocations: 6.265 MB / 419.9 MB, free: 49.63 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.3245, allocations: 16.38 MB / 436.3 MB, free: 47.27 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3245, allocations: 3.656 kB / 436.3 MB, free: 47.27 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3245, allocations: 0 / 436.3 MB, free: 47.27 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0002474/0.3248, allocations: 0 / 436.3 MB, free: 47.27 MB / 330.8 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.02723/0.352, allocations: 18.19 MB / 454.5 MB, free: 37.59 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3521, allocations: 11.78 kB / 454.5 MB, free: 37.59 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.3546, allocations: 2.188 MB / 456.7 MB, free: 36.49 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.3696, allocations: 13.04 MB / 469.8 MB, free: 23.78 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.3698, allocations: 0.6306 MB / 470.4 MB, free: 23.15 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000901/0.3707, allocations: 0.8164 MB / 471.2 MB, free: 22.33 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007928/0.3786, allocations: 8.068 MB / 479.3 MB, free: 13.63 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.3787, allocations: 25.31 kB / 479.3 MB, free: 13.61 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006353/0.3793, allocations: 348 kB / 479.6 MB, free: 13.27 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/0.3794, allocations: 216 kB / 479.8 MB, free: 13.06 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.384, allocations: 3.543 MB / 483.4 MB, free: 9.512 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04106/0.425, allocations: 43.69 MB / 0.5147 GB, free: 13.01 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006873/0.4319, allocations: 5.145 MB / 0.5198 GB, free: 8.129 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.4341, allocations: 1.875 MB / 0.5216 GB, free: 6.246 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.4343, allocations: 107.4 kB / 0.5217 GB, free: 6.141 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.4343, allocations: 80.91 kB / 0.5218 GB, free: 6.051 MB / 378.8 MB Notification: Performance of pre-optimization done (n=448): time 6.142e-06/0.4343, allocations: 0 / 0.5218 GB, free: 6.051 MB / 378.8 MB Notification: Performance of matching and sorting (n=448): time 0.009096/0.4434, allocations: 4.767 MB / 0.5264 GB, free: 1.266 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4435, allocations: 98.92 kB / 0.5265 GB, free: 1.156 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/0.4552, allocations: 10.99 MB / 0.5372 GB, free: 6.203 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000401/0.4557, allocations: 109.7 kB / 0.5373 GB, free: 6.09 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004651/0.4603, allocations: 7.121 MB / 0.5443 GB, free: 14.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.4619, allocations: 1.744 MB / 0.546 GB, free: 13.17 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002876/0.4647, allocations: 2.303 MB / 0.5483 GB, free: 10.85 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.4648, allocations: 476.8 kB / 0.5487 GB, free: 10.38 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/0.4673, allocations: 1.645 MB / 0.5503 GB, free: 8.727 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/0.4709, allocations: 3.375 MB / 0.5536 GB, free: 4.91 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.152/0.6229, allocations: 4.842 MB / 0.5583 GB, free: 122.1 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-05/0.623, allocations: 6.406 kB / 0.5583 GB, free: 122.1 MB / 410.8 MB Notification: Performance of matching and sorting (n=1131) (initialization): time 0.0267/0.6497, allocations: 10.31 MB / 0.5684 GB, free: 121.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.6497, allocations: 13.47 kB / 0.5684 GB, free: 121.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.725e-05/0.6498, allocations: 23.59 kB / 0.5684 GB, free: 121.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02469/0.6745, allocations: 18.34 MB / 0.5864 GB, free: 117.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.6782, allocations: 1.33 MB / 0.5877 GB, free: 116.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04041/0.7186, allocations: 98.56 MB / 0.6839 GB, free: 17.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/0.7262, allocations: 1.119 MB / 0.685 GB, free: 17.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006116/0.7268, allocations: 311.4 kB / 0.6853 GB, free: 17.18 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.003577/0.7304, allocations: 0.5191 MB / 0.6858 GB, free: 16.86 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/0.7322, allocations: 1.239 MB / 0.687 GB, free: 16.25 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006576/0.7388, allocations: 4.438 MB / 0.6913 GB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.7388, allocations: 44 kB / 0.6914 GB, free: 12.67 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.7388, allocations: 0 / 0.6914 GB, free: 12.67 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.7388, allocations: 27.91 kB / 0.6914 GB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/0.7601, allocations: 12.15 MB / 0.7033 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.7601, allocations: 0 / 0.7033 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.7609, allocations: 398.5 kB / 0.7037 GB, free: 1.488 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.187/0.9479, allocations: 8.117 MB / 0.7116 GB, free: 101.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000862/0.9488, allocations: 120.4 kB / 0.7117 GB, free: 101.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/0.9655, allocations: 4.939 MB / 0.7165 GB, free: 100.8 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9655, allocations: 1.375 kB / 0.7165 GB, free: 100.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.9763, allocations: 4.514 MB / 0.7209 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006116/0.9824, allocations: 2.126 MB / 0.723 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002913/0.9853, allocations: 72.36 kB / 0.7231 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005837/0.9911, allocations: 264.4 kB / 0.7233 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/0.9915, allocations: 235.4 kB / 0.7236 GB, free: 100.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005415/0.9921, allocations: 119.3 kB / 0.7237 GB, free: 100.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01231/1.004, allocations: 5.152 MB / 0.7287 GB, free: 99.94 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.004, allocations: 0 / 0.7287 GB, free: 99.94 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0132/1.018, allocations: 3.097 MB / 0.7317 GB, free: 99.94 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.001548/1.019, allocations: 201.2 kB / 0.7319 GB, free: 99.85 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02503/1.044, allocations: 15.97 MB / 0.7475 GB, free: 90.52 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.044, allocations: 0 / 0.7475 GB, free: 90.52 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/1.057, allocations: 3.167 MB / 0.7506 GB, free: 89.12 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01515/1.072, allocations: 2.835 MB / 0.7534 GB, free: 87.36 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/1.11, allocations: 20.52 MB / 0.7734 GB, free: 67.28 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005219/1.115, allocations: 3.56 MB / 0.7769 GB, free: 63.69 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005976/1.121, allocations: 1.408 MB / 0.7783 GB, free: 62.28 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005774/1.127, allocations: 2.27 MB / 0.7805 GB, free: 60 MB / 410.8 MB Notification: Performance of SimCode: time 2.385e-06/1.127, allocations: 0 / 0.7805 GB, free: 60 MB / 410.8 MB Notification: Performance of Templates: time 0.3282/1.455, allocations: 194.1 MB / 0.97 GB, free: 57.42 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.makefile [Timeout 660] (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 -s=dassl -lv=LOG_STATS -jacobian=coloredNumerical -nls=newton -nlssMaxDensity=0 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.682808803860098]