Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 181 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.0008419, allocations: 90.92 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.000438, allocations: 10.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.01851/0.3189, allocations: 21.88 MB / 1.001 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.767/1.086, allocations: 133.6 MB / 1.131 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/1.089, allocations: 63.66 kB / 1.131 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/1.09, allocations: 408.4 kB / 1.132 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/1.094, allocations: 1.301 MB / 1.133 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/1.1, allocations: 1.847 MB / 1.135 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006107/1.106, allocations: 2.906 MB / 1.138 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/1.117, allocations: 6.427 MB / 1.144 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00369/1.12, allocations: 1.461 MB / 1.145 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/1.123, allocations: 1.67 MB / 1.147 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006456/1.124, allocations: 184.5 kB / 1.147 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/1.126, allocations: 0.5151 MB / 1.148 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/1.127, allocations: 1.263 MB / 1.149 GB, free: 476 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/1.129, allocations: 0.7943 MB / 1.15 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008372/1.137, allocations: 6.641 MB / 1.156 GB, free: 10.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.137, allocations: 0.5312 kB / 1.156 GB, free: 10.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.137, allocations: 0 / 1.156 GB, free: 10.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002888/1.137, allocations: 4.844 kB / 1.156 GB, free: 10.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01366/1.151, allocations: 3.768 MB / 1.16 GB, free: 8.395 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/1.151, allocations: 17.7 kB / 1.16 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002912/1.154, allocations: 0.6114 MB / 1.16 GB, free: 7.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/1.167, allocations: 1.997 MB / 1.162 GB, free: 7.051 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00766/1.175, allocations: 2.342 MB / 1.165 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/1.175, allocations: 331 kB / 1.165 GB, free: 5.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/1.177, allocations: 431 kB / 1.165 GB, free: 5.082 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/1.194, allocations: 6.566 MB / 1.172 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/1.194, allocations: 10.94 kB / 1.172 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005911/1.195, allocations: 189.9 kB / 1.172 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/1.195, allocations: 227.2 kB / 1.172 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/1.213, allocations: 6.539 MB / 1.179 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04393/1.257, allocations: 23.76 MB / 1.202 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/1.268, allocations: 4.18 MB / 1.206 GB, free: 156 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009643/1.269, allocations: 0.5112 MB / 1.206 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005503/1.274, allocations: 2.025 MB / 1.208 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=240): time 8.375e-06/1.274, allocations: 0 / 1.208 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=243): time 0.02179/1.296, allocations: 7.201 MB / 1.215 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003297/1.297, allocations: 397.8 kB / 1.216 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/1.301, allocations: 1.701 MB / 1.217 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007392/1.301, allocations: 69.69 kB / 1.218 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002208/1.304, allocations: 1.726 MB / 1.219 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.305, allocations: 0.8086 MB / 1.22 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/1.306, allocations: 56 kB / 1.22 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003322/1.306, allocations: 415.3 kB / 1.22 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/1.311, allocations: 1.547 MB / 1.222 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005244/1.316, allocations: 2.246 MB / 1.224 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005101/1.321, allocations: 1.833 MB / 1.226 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/1.321, allocations: 4 kB / 1.226 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01234/1.333, allocations: 4.134 MB / 1.23 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.003645/1.337, allocations: 7.248 MB / 1.237 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.22e-05/1.337, allocations: 23.95 kB / 1.237 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.346e-05/1.337, allocations: 32 kB / 1.237 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/1.342, allocations: 0.8075 MB / 1.238 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.069e-05/1.342, allocations: 43.86 kB / 1.238 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/1.346, allocations: 386.1 kB / 1.238 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007006/1.347, allocations: 131.9 kB / 1.238 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.347, allocations: 4 kB / 1.238 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/1.358, allocations: 3.697 MB / 1.242 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.968e-05/1.358, allocations: 16.97 kB / 1.242 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.582e-05/1.358, allocations: 40 kB / 1.242 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/1.363, allocations: 0.7683 MB / 1.243 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-05/1.363, allocations: 43.86 kB / 1.243 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003693/1.366, allocations: 335.3 kB / 1.243 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005509/1.367, allocations: 139.9 kB / 1.243 GB, free: 8.457 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 337 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003562/1.371, allocations: 1.281 MB / 1.245 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009388/1.371, allocations: 233.1 kB / 1.245 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.384, allocations: 4.125 MB / 1.249 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/1.384, allocations: 31.94 kB / 1.249 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.384, allocations: 0 / 1.249 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/1.384, allocations: 11.95 kB / 1.249 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02162/1.405, allocations: 8.894 MB / 1.258 GB, free: 9.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.405, allocations: 8.031 kB / 1.258 GB, free: 9.723 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004125/1.41, allocations: 0.7215 MB / 1.258 GB, free: 9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.236e-05/1.41, allocations: 8 kB / 1.258 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003953/1.41, allocations: 79.92 kB / 1.258 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.43e-05/1.41, allocations: 8 kB / 1.258 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.41, allocations: 7.984 kB / 1.258 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.42, allocations: 4.1 MB / 1.262 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.422, allocations: 0.7549 MB / 1.263 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008223/1.423, allocations: 51.98 kB / 1.263 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/1.427, allocations: 275.6 kB / 1.263 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/1.427, allocations: 161.7 kB / 1.264 GB, free: 3.371 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/1.427, allocations: 91.92 kB / 1.264 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002873/1.43, allocations: 1.221 MB / 1.265 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.71e-07/1.43, allocations: 0 / 1.265 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006555/1.437, allocations: 1.262 MB / 1.266 GB, free: 0.7773 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01281/1.45, allocations: 5.739 MB / 1.272 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01575/1.465, allocations: 5.69 MB / 1.277 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/1.466, allocations: 320 / 1.277 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004897/1.47, allocations: 1.831 MB / 1.279 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/1.474, allocations: 0.5245 MB / 1.28 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06023/1.534, allocations: 32.76 MB / 1.312 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.538, allocations: 2.607 MB / 1.314 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008907/1.547, allocations: 1.257 MB / 1.315 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004371/1.552, allocations: 1.577 MB / 1.317 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of SimCode: time 1.312e-06/1.552, allocations: 0 / 1.317 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/1.672, allocations: 63.88 MB / 1.379 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.672, allocations: 261.4 kB / 1.38 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/5.715, allocations: 3.828 kB / 1.38 GB, free: 11.61 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)