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.001319/0.001319, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001041/0.001041, allocations: 173 kB / 23.49 MB, free: 1.059 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.9239/0.9239, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.01853/0.01853, allocations: 4.228 MB / 264.5 MB, free: 9.008 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.072e-06/1.072e-06, allocations: 0 / 340.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.427e-05, allocations: 9.484 kB / 340.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.004419/0.004443, allocations: 4.349 MB / 344.9 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.006768, allocations: 1.609 MB / 346.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003655/0.007133, allocations: 19.88 kB / 346.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.007772, allocations: 289.3 kB / 346.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.008254, allocations: 262.1 kB / 347.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.008629, allocations: 223.5 kB / 347.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01912/0.02775, allocations: 26.4 MB / 373.7 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004273/0.03202, allocations: 3.503 MB / 377.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01871/0.05073, allocations: 13.99 MB / 391.2 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01684/0.06757, allocations: 11.89 MB / 403.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006308/0.07387, allocations: 2.707 MB / 405.8 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007366/0.08124, allocations: 2.719 MB / 408.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.24/0.3213, allocations: 5.208 MB / 413.7 MB, free: 48.52 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009538/0.3308, allocations: 6.908 MB / 420.6 MB, free: 48.52 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.3427, allocations: 18.41 MB / 439 MB, free: 44.5 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3427, allocations: 0 / 439 MB, free: 44.5 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3427, allocations: 0 / 439 MB, free: 44.5 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.000328/0.343, allocations: 0 / 439 MB, free: 44.5 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.03907/0.3821, allocations: 29.39 MB / 468.4 MB, free: 22.93 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3821, allocations: 8.031 kB / 468.4 MB, free: 22.92 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.3851, allocations: 2.19 MB / 470.6 MB, free: 20.72 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/0.406, allocations: 16.21 MB / 486.9 MB, free: 4.82 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.4063, allocations: 0.6344 MB / 487.5 MB, free: 4.188 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.4076, allocations: 0.8125 MB / 488.3 MB, free: 3.375 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01363/0.4212, allocations: 8.947 MB / 497.2 MB, free: 9.793 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4213, allocations: 21.88 kB / 497.3 MB, free: 9.777 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000763/0.4221, allocations: 348 kB / 497.6 MB, free: 9.438 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.4222, allocations: 212 kB / 497.8 MB, free: 9.23 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009311/0.4315, allocations: 4.535 MB / 0.4906 GB, free: 4.691 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05416/0.4857, allocations: 48.83 MB / 0.5383 GB, free: 3.348 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009178/0.4948, allocations: 6.149 MB / 0.5443 GB, free: 13.46 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003331/0.4982, allocations: 2.147 MB / 0.5464 GB, free: 11.3 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.4983, allocations: 95.48 kB / 0.5465 GB, free: 11.21 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.4984, allocations: 80.91 kB / 0.5465 GB, free: 11.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=448): time 6.072e-06/0.4984, allocations: 0 / 0.5465 GB, free: 11.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=448): time 0.01202/0.5104, allocations: 5.47 MB / 0.5519 GB, free: 5.633 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5105, allocations: 102.9 kB / 0.552 GB, free: 5.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1475/0.6579, allocations: 11.17 MB / 0.5629 GB, free: 125.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00148/0.6594, allocations: 116.5 kB / 0.563 GB, free: 125.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004096/0.6635, allocations: 7.091 MB / 0.5699 GB, free: 124.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/0.6652, allocations: 1.724 MB / 0.5716 GB, free: 123 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003063/0.6682, allocations: 2.266 MB / 0.5738 GB, free: 121.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.6683, allocations: 476.8 kB / 0.5743 GB, free: 121.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/0.672, allocations: 2.134 MB / 0.5763 GB, free: 121.2 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004077/0.6761, allocations: 3.865 MB / 0.5801 GB, free: 119.3 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/0.6827, allocations: 5.594 MB / 0.5856 GB, free: 116.5 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/0.6827, allocations: 7.219 kB / 0.5856 GB, free: 116.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.0235/0.7062, allocations: 11.44 MB / 0.5968 GB, free: 113.2 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.7062, allocations: 25.64 kB / 0.5968 GB, free: 113.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/0.7063, allocations: 23.83 kB / 0.5968 GB, free: 113.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02495/0.7312, allocations: 18.41 MB / 0.6148 GB, free: 97.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/0.7359, allocations: 1.485 MB / 0.6162 GB, free: 96.58 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1967/0.9326, allocations: 105.6 MB / 0.7193 GB, free: 99.43 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007989/0.9406, allocations: 2.096 MB / 0.7214 GB, free: 99.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000743/0.9413, allocations: 387.5 kB / 0.7217 GB, free: 99.21 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * 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.002577/0.9439, allocations: 0.5218 MB / 0.7222 GB, free: 99.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/0.9455, allocations: 1.248 MB / 0.7235 GB, free: 99.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007826/0.9533, allocations: 4.964 MB / 0.7283 GB, free: 98.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.9533, allocations: 41.41 kB / 0.7284 GB, free: 98.73 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.9533, allocations: 0 / 0.7284 GB, free: 98.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/0.9533, allocations: 19.59 kB / 0.7284 GB, free: 98.73 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02218/0.9755, allocations: 17.07 MB / 0.745 GB, free: 95.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.9755, allocations: 0 / 0.745 GB, free: 95.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008175/0.9763, allocations: 454 kB / 0.7455 GB, free: 95.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007882/0.9842, allocations: 8.313 MB / 0.7536 GB, free: 92.56 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000313/0.9845, allocations: 123.6 kB / 0.7537 GB, free: 92.44 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/1.005, allocations: 10.41 MB / 0.7639 GB, free: 82.1 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.005, allocations: 4 kB / 0.7639 GB, free: 82.1 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009736/1.015, allocations: 5.011 MB / 0.7688 GB, free: 77.44 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004395/1.019, allocations: 2.335 MB / 0.7711 GB, free: 75.15 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/1.021, allocations: 72 kB / 0.7711 GB, free: 75.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003919/1.024, allocations: 1.057 MB / 0.7722 GB, free: 74.02 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/1.025, allocations: 231 kB / 0.7724 GB, free: 73.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/1.025, allocations: 153.1 kB / 0.7725 GB, free: 73.65 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006833/1.032, allocations: 5.599 MB / 0.778 GB, free: 68.1 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.032, allocations: 0 / 0.778 GB, free: 68.1 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006841/1.039, allocations: 3.102 MB / 0.781 GB, free: 65.16 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.0004673/1.039, allocations: 198.4 kB / 0.7812 GB, free: 64.99 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.03272/1.072, allocations: 21.86 MB / 0.8026 GB, free: 42.15 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.072, allocations: 0 / 0.8026 GB, free: 42.15 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02198/1.094, allocations: 8.786 MB / 0.8111 GB, free: 33.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009748/1.104, allocations: 2.831 MB / 0.8139 GB, free: 30.62 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.128, allocations: 21.24 MB / 0.8346 GB, free: 9.355 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.13, allocations: 3.557 MB / 0.8381 GB, free: 5.766 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005041/1.135, allocations: 2.941 MB / 0.841 GB, free: 2.816 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009401/1.136, allocations: 0.5707 MB / 0.8415 GB, free: 2.246 MB / 410.8 MB Notification: Performance of SimCode: time 2.134e-06/1.136, allocations: 7.938 kB / 0.8416 GB, free: 2.238 MB / 410.8 MB Notification: Performance of Templates: time 0.4206/1.556, allocations: 181 MB / 1.018 GB, free: 125.8 MB / 442.8 MB " [Timeout remaining time 658] 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: 9.327869181986898]