Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.001929/0.001929, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002775/0.002775, allocations: 220.1 kB / 22.26 MB, free: 5.125 MB / 14.72 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.0324/0.0324, allocations: 5.486 MB / 317.9 MB, free: 13.73 MB / 254.1 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.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") translateModel(PhotoVoltaics.Examples.SimplePlantSymmetric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric") [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 63.91 kB / 446.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1287, allocations: 54.62 MB / 0.4895 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.006616/0.1353, allocations: 3.555 MB / 0.493 GB, free: 9.137 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1385, allocations: 1.344 MB / 0.4943 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.139, allocations: 4 kB / 0.4943 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009297/0.1399, allocations: 242.6 kB / 0.4946 GB, free: 7.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008926/0.1408, allocations: 174.7 kB / 0.4947 GB, free: 7.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.1413, allocations: 123.8 kB / 0.4948 GB, free: 7.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1426, allocations: 0.607 MB / 0.4954 GB, free: 6.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.143, allocations: 80.58 kB / 0.4955 GB, free: 6.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.1437, allocations: 235.1 kB / 0.4957 GB, free: 6.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.1445, allocations: 278.8 kB / 0.496 GB, free: 6.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.1447, allocations: 52 kB / 0.4961 GB, free: 6.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.1451, allocations: 75.98 kB / 0.4961 GB, free: 5.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.1453, allocations: 119.6 kB / 0.4962 GB, free: 5.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.1458, allocations: 242.8 kB / 0.4965 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.147, allocations: 0.5681 MB / 0.497 GB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.147, allocations: 0 / 0.497 GB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.147, allocations: 4 kB / 0.497 GB, free: 5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.491e-05/0.147, allocations: 0 / 0.497 GB, free: 5 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003055/0.1501, allocations: 0.7735 MB / 0.4978 GB, free: 4.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.191e-05/0.1502, allocations: 8.031 kB / 0.4978 GB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1504, allocations: 52.61 kB / 0.4978 GB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.1521, allocations: 463.7 kB / 0.4983 GB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.1522, allocations: 24.78 kB / 0.4983 GB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.1522, allocations: 24 kB / 0.4983 GB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/0.1532, allocations: 366.3 kB / 0.4987 GB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1532, allocations: 0 / 0.4987 GB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.1532, allocations: 12 kB / 0.4987 GB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1532, allocations: 12 kB / 0.4987 GB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.1544, allocations: 365.6 kB / 0.4991 GB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.1573, allocations: 1.382 MB / 0.5004 GB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1584, allocations: 350.4 kB / 0.5007 GB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.159, allocations: 148.8 kB / 0.5009 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.159, allocations: 11.92 kB / 0.5009 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.159, allocations: 38.56 kB / 0.5009 GB, free: 0.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.285e-06/0.159, allocations: 0 / 0.5009 GB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.003515/0.1625, allocations: 0.6945 MB / 0.5016 GB, free: 132 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1626, allocations: 55.41 kB / 0.5017 GB, free: 64 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.1631, allocations: 393.7 kB / 0.502 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1632, allocations: 29.7 kB / 0.5021 GB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1634, allocations: 224.5 kB / 0.5023 GB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.819e-05/0.1634, allocations: 79.22 kB / 0.5024 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.1636, allocations: 69.72 kB / 0.5024 GB, free: 15.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1638, allocations: 358.6 kB / 0.5028 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.1642, allocations: 147.9 kB / 0.5029 GB, free: 14.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.1647, allocations: 184.4 kB / 0.5031 GB, free: 14.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/0.1656, allocations: 312.9 kB / 0.5034 GB, free: 14.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1656, allocations: 0 / 0.5034 GB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002097/0.1677, allocations: 0.5785 MB / 0.5039 GB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.1677, allocations: 10.34 kB / 0.504 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1677, allocations: 0 / 0.504 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.169, allocations: 337.3 kB / 0.5043 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.1692, allocations: 59.95 kB / 0.5043 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.1721, allocations: 2.206 MB / 0.5065 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.1726, allocations: 55.73 kB / 0.5065 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1727, allocations: 15.98 kB / 0.5066 GB, free: 10.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.1729, allocations: 153.8 kB / 0.5067 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.495e-05/0.173, allocations: 35.77 kB / 0.5067 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.1731, allocations: 39.7 kB / 0.5068 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1731, allocations: 0 / 0.5068 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1731, allocations: 7.922 kB / 0.5068 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1731, allocations: 0 / 0.5068 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.1752, allocations: 0.8774 MB / 0.5076 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.1752, allocations: 4 kB / 0.5076 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1754, allocations: 27.98 kB / 0.5077 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007847/0.1761, allocations: 252.7 kB / 0.5079 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.1762, allocations: 11.98 kB / 0.5079 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.1774, allocations: 0.7435 MB / 0.5086 GB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1774, allocations: 7.922 kB / 0.5087 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.1792, allocations: 0.535 MB / 0.5092 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.1794, allocations: 63.69 kB / 0.5092 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.1795, allocations: 7.938 kB / 0.5092 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.1799, allocations: 27.97 kB / 0.5093 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.1799, allocations: 11.97 kB / 0.5093 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.18, allocations: 15.98 kB / 0.5093 GB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003927/0.1804, allocations: 275.2 kB / 0.5096 GB, free: 7.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1804, allocations: 0 / 0.5096 GB, free: 7.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.1809, allocations: 87.89 kB / 0.5096 GB, free: 7.551 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 17 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/0.1811, allocations: 115.1 kB / 0.5098 GB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.1825, allocations: 475.4 kB / 0.5102 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1826, allocations: 0 / 0.5102 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.183, allocations: 155.9 kB / 0.5104 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.1837, allocations: 91.66 kB / 0.5104 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1855, allocations: 0.7149 MB / 0.5111 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.186, allocations: 0.7884 MB / 0.5119 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.1862, allocations: 43.27 kB / 0.512 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.1863, allocations: 35.36 kB / 0.512 GB, free: 5.074 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1863, allocations: 0 / 0.512 GB, free: 5.074 MB / 382.1 MB Notification: Performance of Templates: time 0.2715/0.4578, allocations: 6.473 MB / 0.5183 GB, free: 33 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.420874685049057] Failed to read output from testmodel.py, exit status != 0: 0.46840769005939364 0.48327139500000005 0.33291538000000004 Calling exit ...