Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 113.9 kB / 16.37 MB, free: 6.422 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.001193/0.001193, allocations: 196.6 kB / 17.3 MB, free: 5.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.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.001514/0.001515, allocations: 63.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.4413/0.6883, allocations: 37.25 MB / 0.8212 GB, free: 27.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0213/0.7097, allocations: 13.59 MB / 0.8344 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00442/0.7142, allocations: 109.4 kB / 0.8345 GB, free: 18.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005872/0.7201, allocations: 2.272 MB / 0.8368 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.7243, allocations: 1.404 MB / 0.8381 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008815/0.7332, allocations: 3.515 MB / 0.8416 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007864/0.7411, allocations: 6.375 MB / 0.8478 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01422/0.7553, allocations: 10.04 MB / 0.8576 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005137/0.7605, allocations: 2.734 MB / 0.8603 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005273/0.7658, allocations: 3.199 MB / 0.8634 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001668/0.7675, allocations: 0.6202 MB / 0.864 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.7708, allocations: 1.228 MB / 0.8652 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003788/0.7746, allocations: 2.469 MB / 0.8676 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005084/0.7797, allocations: 2.549 MB / 0.8701 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.7923, allocations: 9.142 MB / 0.879 GB, free: 10.05 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7924, allocations: 0 / 0.879 GB, free: 10.05 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7924, allocations: 0 / 0.879 GB, free: 10.05 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002936/0.7927, allocations: 0 / 0.879 GB, free: 10.05 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01384/0.8065, allocations: 4.303 MB / 0.8832 GB, free: 5.676 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8066, allocations: 8.031 kB / 0.8832 GB, free: 5.668 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/0.8112, allocations: 0.952 MB / 0.8842 GB, free: 4.711 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/0.8168, allocations: 2.179 MB / 0.8863 GB, free: 2.488 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.8171, allocations: 325 kB / 0.8866 GB, free: 2.168 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.8185, allocations: 428.3 kB / 0.887 GB, free: 1.75 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.8342, allocations: 7.366 MB / 0.8942 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.8344, allocations: 15.78 kB / 0.8942 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006537/0.835, allocations: 188 kB / 0.8944 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003229/0.8354, allocations: 282.9 kB / 0.8947 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.8466, allocations: 5.963 MB / 0.9005 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04113/0.8878, allocations: 32.36 MB / 0.9321 GB, free: 496 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.8912, allocations: 2.111 MB / 0.9342 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.8927, allocations: 1.236 MB / 0.9354 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.8929, allocations: 106.1 kB / 0.9355 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.8929, allocations: 43.56 kB / 0.9355 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 2.926e-06/0.8929, allocations: 4 kB / 0.9355 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007332/0.9003, allocations: 5.231 MB / 0.9406 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.9004, allocations: 145.5 kB / 0.9408 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.9022, allocations: 1.453 MB / 0.9422 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.9023, allocations: 54.2 kB / 0.9422 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.9034, allocations: 1.859 MB / 0.944 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.9038, allocations: 374.9 kB / 0.9444 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.9044, allocations: 459 kB / 0.9448 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.9045, allocations: 309.1 kB / 0.9451 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.9061, allocations: 1.122 MB / 0.9462 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/0.9083, allocations: 2.18 MB / 0.9484 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/0.9123, allocations: 3.399 MB / 0.9517 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.9124, allocations: 16 kB / 0.9517 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004899/0.9173, allocations: 3.308 MB / 0.9549 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.9173, allocations: 23.98 kB / 0.9549 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.9174, allocations: 36 kB / 0.955 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-05/0.9174, allocations: 48 kB / 0.955 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.9196, allocations: 0.6199 MB / 0.9556 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.395e-05/0.9196, allocations: 67.73 kB / 0.9557 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.9214, allocations: 307 kB / 0.956 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.9216, allocations: 116 kB / 0.9561 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003516/0.9251, allocations: 2.405 MB / 0.9584 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002029/0.9272, allocations: 2.015 MB / 0.9604 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003412/0.9306, allocations: 3.037 MB / 0.9634 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.385e-05/0.9306, allocations: 8 kB / 0.9634 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004303/0.9349, allocations: 2.917 MB / 0.9662 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.935, allocations: 20.78 kB / 0.9663 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.935, allocations: 36 kB / 0.9663 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/0.9351, allocations: 48 kB / 0.9663 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.9368, allocations: 0.5504 MB / 0.9669 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-05/0.9369, allocations: 79.66 kB / 0.9669 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.9385, allocations: 247 kB / 0.9672 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.9387, allocations: 108 kB / 0.9673 GB, free: 10.16 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005832/0.9393, allocations: 347.2 kB / 0.9676 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.9396, allocations: 154.1 kB / 0.9678 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003213/0.9428, allocations: 2.223 MB / 0.9699 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.9429, allocations: 15.94 kB / 0.9699 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9429, allocations: 4 kB / 0.97 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.9429, allocations: 7.969 kB / 0.97 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.9589, allocations: 10.97 MB / 0.9807 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.9589, allocations: 16.03 kB / 0.9807 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.9604, allocations: 383.3 kB / 0.9811 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-05/0.9604, allocations: 20 kB / 0.9811 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.9605, allocations: 32 kB / 0.9811 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/0.9605, allocations: 27.91 kB / 0.9811 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.9605, allocations: 19.94 kB / 0.9811 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.9638, allocations: 2.759 MB / 0.9838 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000946/0.9647, allocations: 454.8 kB / 0.9843 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.965, allocations: 35.91 kB / 0.9843 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9661, allocations: 167.7 kB / 0.9845 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.9663, allocations: 100.2 kB / 0.9846 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/0.9664, allocations: 47.94 kB / 0.9846 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001291/0.9677, allocations: 0.9742 MB / 0.9856 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9677, allocations: 0 / 0.9856 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003692/0.9714, allocations: 1.121 MB / 0.9867 GB, free: 5.875 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/0.9717, allocations: 162.9 kB / 0.9868 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005568/0.9773, allocations: 4.012 MB / 0.9907 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.9773, allocations: 0 / 0.9907 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.9787, allocations: 1.06 MB / 0.9918 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.981, allocations: 445.9 kB / 0.9922 GB, free: 260 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.9927, allocations: 6.986 MB / 0.999 GB, free: 9.086 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/0.996, allocations: 2.868 MB / 1.002 GB, free: 6.188 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002813/0.9988, allocations: 1.207 MB / 1.003 GB, free: 4.973 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.9993, allocations: 119.4 kB / 1.003 GB, free: 4.859 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/0.9993, allocations: 0 / 1.003 GB, free: 4.859 MB / 0.795 GB Notification: Performance of Templates: time 0.04171/1.041, allocations: 24.54 MB / 1.027 GB, free: 12.57 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)