Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001605/0.001605, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.744/1.744, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008552/0.0008555, allocations: 19.98 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6972, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02501/0.7223, allocations: 21.89 MB / 0.7494 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1726/0.8949, allocations: 133.6 MB / 0.8798 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.8985, allocations: 59.69 kB / 0.8799 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.9005, allocations: 405 kB / 0.8803 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.906, allocations: 1.314 MB / 0.8815 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006419/0.9124, allocations: 1.834 MB / 0.8833 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00624/0.9187, allocations: 2.918 MB / 0.8862 GB, free: 9 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.9288, allocations: 6.428 MB / 0.8925 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.9318, allocations: 1.455 MB / 0.8939 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.9342, allocations: 1.657 MB / 0.8955 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.9346, allocations: 184 kB / 0.8957 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.9361, allocations: 0.5229 MB / 0.8962 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.9373, allocations: 1.266 MB / 0.8974 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009055/0.9382, allocations: 0.7963 MB / 0.8982 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.9446, allocations: 6.639 MB / 0.9047 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9446, allocations: 0 / 0.9047 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9446, allocations: 0 / 0.9047 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002229/0.9449, allocations: 0 / 0.9047 GB, free: 5.934 MB / 0.7169 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.01432/0.9592, allocations: 3.782 MB / 0.9084 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.9593, allocations: 8.031 kB / 0.9084 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.9726, allocations: 2.004 MB / 0.9103 GB, free: 60 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5669/1.54, allocations: 2.327 MB / 0.9126 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/1.54, allocations: 328.2 kB / 0.9129 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002049/1.542, allocations: 423.9 kB / 0.9133 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/1.564, allocations: 6.58 MB / 0.9198 GB, free: 170 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/1.564, allocations: 17.12 kB / 0.9198 GB, free: 170 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000607/1.564, allocations: 180.8 kB / 0.9199 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004304/1.565, allocations: 225.2 kB / 0.9202 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.583, allocations: 6.541 MB / 0.9266 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/1.615, allocations: 23.76 MB / 0.9498 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008283/1.624, allocations: 4.172 MB / 0.9538 GB, free: 140.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/1.624, allocations: 0.5121 MB / 0.9543 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003783/1.628, allocations: 2.03 MB / 0.9563 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=240): time 3.867e-06/1.628, allocations: 0 / 0.9563 GB, free: 137.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=243): time 0.01339/1.642, allocations: 7.201 MB / 0.9633 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.642, allocations: 390 kB / 0.9637 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.644, allocations: 1.713 MB / 0.9654 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003135/1.644, allocations: 69.7 kB / 0.9655 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.645, allocations: 1.725 MB / 0.9671 GB, free: 126.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/1.646, allocations: 0.8119 MB / 0.9679 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.646, allocations: 52 kB / 0.968 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.646, allocations: 411.4 kB / 0.9684 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003298/1.65, allocations: 1.555 MB / 0.9699 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/1.653, allocations: 2.242 MB / 0.9721 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/1.657, allocations: 1.837 MB / 0.9739 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.657, allocations: 4 kB / 0.9739 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.008432/1.665, allocations: 4.126 MB / 0.9779 GB, free: 115.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001522/1.667, allocations: 7.254 MB / 0.985 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/1.667, allocations: 16 kB / 0.985 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-05/1.667, allocations: 40 kB / 0.985 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/1.671, allocations: 0.8073 MB / 0.9858 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.323e-05/1.671, allocations: 47.81 kB / 0.9859 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/1.674, allocations: 380.9 kB / 0.9862 GB, free: 106 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/1.675, allocations: 139.9 kB / 0.9864 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.675, allocations: 4 kB / 0.9864 GB, free: 105.8 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007507/1.682, allocations: 3.694 MB / 0.99 GB, free: 102.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/1.682, allocations: 17.36 kB / 0.99 GB, free: 102.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/1.682, allocations: 44.03 kB / 0.99 GB, free: 102.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/1.685, allocations: 0.7683 MB / 0.9908 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/1.686, allocations: 43.86 kB / 0.9908 GB, free: 101.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/1.689, allocations: 338.2 kB / 0.9912 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/1.689, allocations: 135.9 kB / 0.9913 GB, free: 100.8 MB / 0.7169 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.002765/1.692, allocations: 1.277 MB / 0.9925 GB, free: 99.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/1.692, allocations: 229.2 kB / 0.9928 GB, free: 99.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008661/1.701, allocations: 4.133 MB / 0.9968 GB, free: 95.12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.701, allocations: 27.94 kB / 0.9968 GB, free: 95.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.701, allocations: 4 kB / 0.9968 GB, free: 95.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/1.701, allocations: 11.95 kB / 0.9968 GB, free: 95.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.715, allocations: 8.898 MB / 1.006 GB, free: 86.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.715, allocations: 4 kB / 1.006 GB, free: 86.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/1.719, allocations: 0.7178 MB / 1.006 GB, free: 85.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-05/1.719, allocations: 15.95 kB / 1.006 GB, free: 85.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/1.719, allocations: 71.94 kB / 1.006 GB, free: 85.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/1.719, allocations: 8 kB / 1.006 GB, free: 85.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.719, allocations: 11.92 kB / 1.006 GB, free: 85.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007441/1.726, allocations: 4.097 MB / 1.01 GB, free: 81.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.728, allocations: 0.7549 MB / 1.011 GB, free: 80.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/1.728, allocations: 51.98 kB / 1.011 GB, free: 80.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.731, allocations: 273.5 kB / 1.011 GB, free: 79.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/1.731, allocations: 169.4 kB / 1.012 GB, free: 79.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.731, allocations: 87.94 kB / 1.012 GB, free: 79.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001606/1.733, allocations: 1.225 MB / 1.013 GB, free: 78.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.01e-07/1.733, allocations: 0 / 1.013 GB, free: 78.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003709/1.737, allocations: 1.255 MB / 1.014 GB, free: 77.19 MB / 0.7169 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.00141/1.738, allocations: 0.6269 MB / 1.015 GB, free: 76.78 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.749, allocations: 5.682 MB / 1.02 GB, free: 71.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.749, allocations: 4 kB / 1.02 GB, free: 71.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003564/1.753, allocations: 1.839 MB / 1.022 GB, free: 69.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.756, allocations: 0.5048 MB / 1.022 GB, free: 68.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/1.769, allocations: 9.032 MB / 1.031 GB, free: 59.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/1.771, allocations: 2.612 MB / 1.034 GB, free: 57.03 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005077/1.776, allocations: 1.268 MB / 1.035 GB, free: 55.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009573/1.777, allocations: 275.2 kB / 1.035 GB, free: 55.49 MB / 0.7169 GB Notification: Performance of SimCode: time 1.232e-06/1.777, allocations: 4 kB / 1.035 GB, free: 55.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.05886/1.836, allocations: 38.19 MB / 1.073 GB, free: 17.59 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) Environment - environmentSimulation: