Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008624/0.008624, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001661/0.001661, allocations: 274.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9181/0.9181, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004135, allocations: 20.2 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.003936/0.1599, allocations: 3.338 MB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.1648, allocations: 3.411 MB / 0.6917 GB, free: 8.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.1651, allocations: 11.94 kB / 0.6917 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1655, allocations: 103.3 kB / 0.6918 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.1666, allocations: 380.3 kB / 0.6922 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.1674, allocations: 348.4 kB / 0.6925 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.1681, allocations: 0.7448 MB / 0.6932 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.1684, allocations: 190.2 kB / 0.6934 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.1687, allocations: 262.8 kB / 0.6937 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.1691, allocations: 282.7 kB / 0.6939 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.1692, allocations: 20 kB / 0.694 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007365/0.1699, allocations: 479.4 kB / 0.6944 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.1701, allocations: 123.5 kB / 0.6945 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1703, allocations: 296 kB / 0.6948 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1714, allocations: 1.047 MB / 0.6958 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1714, allocations: 0 / 0.6958 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1714, allocations: 4 kB / 0.6958 GB, free: 4.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1714, allocations: 0 / 0.6958 GB, free: 4.07 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001835/0.1733, allocations: 0.8982 MB / 0.6967 GB, free: 3.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1733, allocations: 8.031 kB / 0.6967 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.1764, allocations: 0.5854 MB / 0.6973 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1778, allocations: 0.6274 MB / 0.6979 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.178, allocations: 122.2 kB / 0.698 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.07e-05/0.1781, allocations: 44 kB / 0.6981 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1795, allocations: 0.6908 MB / 0.6987 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1795, allocations: 8 kB / 0.6988 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.1796, allocations: 16 kB / 0.6988 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1796, allocations: 8 kB / 0.6988 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.1813, allocations: 0.7182 MB / 0.6995 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003316/0.1847, allocations: 1.875 MB / 0.7013 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.1873, allocations: 0.8404 MB / 0.7021 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.1881, allocations: 358.3 kB / 0.7025 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.1898, allocations: 1.757 MB / 0.7042 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009549/0.1908, allocations: 430.9 kB / 0.7046 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 2.605e-06/0.1908, allocations: 0 / 0.7046 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.006838/0.1976, allocations: 1.527 MB / 0.7061 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.1977, allocations: 111.4 kB / 0.7062 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.1982, allocations: 402 kB / 0.7066 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/0.1983, allocations: 37.7 kB / 0.7066 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1985, allocations: 268.6 kB / 0.7069 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.1987, allocations: 185.3 kB / 0.707 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.1988, allocations: 53.7 kB / 0.7071 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1989, allocations: 358.8 kB / 0.7074 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.1997, allocations: 301.1 kB / 0.7077 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/0.2006, allocations: 433.4 kB / 0.7081 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.2022, allocations: 0.7067 MB / 0.7088 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2022, allocations: 0 / 0.7088 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004378/0.2066, allocations: 1.084 MB / 0.7099 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2066, allocations: 8.344 kB / 0.7099 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2066, allocations: 8 kB / 0.7099 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003207/0.2099, allocations: 380.4 kB / 0.7103 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008609/0.2107, allocations: 155.8 kB / 0.7104 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.2146, allocations: 2.018 MB / 0.7124 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.2154, allocations: 96.08 kB / 0.7125 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.2155, allocations: 31.97 kB / 0.7125 GB, free: 2.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.2159, allocations: 204.5 kB / 0.7127 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.216, allocations: 55.38 kB / 0.7128 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/0.2193, allocations: 1.085 MB / 0.7138 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2193, allocations: 8 kB / 0.7138 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.2193, allocations: 0 / 0.7138 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2193, allocations: 3.984 kB / 0.7138 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.2232, allocations: 1.788 MB / 0.7156 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2232, allocations: 0 / 0.7156 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.224, allocations: 147.8 kB / 0.7157 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.2252, allocations: 180.7 kB / 0.7159 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.2252, allocations: 19.98 kB / 0.7159 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.2277, allocations: 1.778 MB / 0.7176 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2277, allocations: 0 / 0.7176 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.2306, allocations: 1.037 MB / 0.7187 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.2309, allocations: 204.2 kB / 0.7189 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.231, allocations: 16 kB / 0.7189 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.2316, allocations: 65.19 kB / 0.7189 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.2317, allocations: 44.58 kB / 0.719 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.63e-05/0.2318, allocations: 23.98 kB / 0.719 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003416/0.2321, allocations: 283.1 kB / 0.7193 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2321, allocations: 4 kB / 0.7193 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007877/0.2329, allocations: 235.6 kB / 0.7195 GB, free: 10.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/0.2341, allocations: 0.5007 MB / 0.72 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.2364, allocations: 0.8913 MB / 0.7209 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2364, allocations: 0 / 0.7209 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.2376, allocations: 0.5412 MB / 0.7214 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.2381, allocations: 64.95 kB / 0.7214 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.2404, allocations: 1.542 MB / 0.7229 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.2409, allocations: 0.8815 MB / 0.7238 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007093/0.2416, allocations: 152.4 kB / 0.724 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.2418, allocations: 67.39 kB / 0.724 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.2418, allocations: 4 kB / 0.724 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of Templates: time 0.01617/0.258, allocations: 9.531 MB / 0.7333 GB, free: 12.61 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1)