Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.00185/0.00185, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.808/1.808, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001582/0.001583, allocations: 75.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2229, allocations: 114.5 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.3705/0.5934, allocations: 11.82 MB / 0.7956 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009823/0.6033, allocations: 5.351 MB / 0.8008 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.6049, allocations: 39.91 kB / 0.8008 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.6079, allocations: 1.037 MB / 0.8018 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.6099, allocations: 0.6216 MB / 0.8025 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.6125, allocations: 0.9254 MB / 0.8034 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003245/0.6158, allocations: 2.459 MB / 0.8058 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004891/0.6207, allocations: 3.578 MB / 0.8093 GB, free: 37.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.6229, allocations: 1.096 MB / 0.8103 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.6252, allocations: 1.21 MB / 0.8115 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005363/0.6257, allocations: 235.6 kB / 0.8117 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.627, allocations: 0.4983 MB / 0.8122 GB, free: 36.03 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.628, allocations: 0.894 MB / 0.8131 GB, free: 35.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.6293, allocations: 0.9896 MB / 0.8141 GB, free: 35.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005045/0.6343, allocations: 3.519 MB / 0.8175 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.6344, allocations: 1.078 kB / 0.8175 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.477e-06/0.6344, allocations: 1.125 kB / 0.8175 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001527/0.6346, allocations: 0 / 0.8175 GB, free: 33.96 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006749/0.6413, allocations: 1.93 MB / 0.8194 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6414, allocations: 14.03 kB / 0.8194 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.6439, allocations: 455 kB / 0.8198 GB, free: 32.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.6465, allocations: 1.095 MB / 0.8209 GB, free: 32.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6466, allocations: 114.2 kB / 0.821 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.647, allocations: 156 kB / 0.8212 GB, free: 31.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005848/0.6528, allocations: 2.739 MB / 0.8238 GB, free: 30.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.6529, allocations: 3.078 kB / 0.8238 GB, free: 30.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.6531, allocations: 66.38 kB / 0.8239 GB, free: 30.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003604/0.6535, allocations: 149 kB / 0.824 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.6581, allocations: 2.273 MB / 0.8263 GB, free: 30.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.6717, allocations: 10.43 MB / 0.8364 GB, free: 22.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.6729, allocations: 0.5651 MB / 0.837 GB, free: 22.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/0.6736, allocations: 375.1 kB / 0.8374 GB, free: 22.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6737, allocations: 96.02 kB / 0.8374 GB, free: 22.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.6738, allocations: 43.53 kB / 0.8375 GB, free: 22.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/0.6738, allocations: 0 / 0.8375 GB, free: 22.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.01997/0.6937, allocations: 5.549 MB / 0.8429 GB, free: 20.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.6938, allocations: 56.47 kB / 0.843 GB, free: 20.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.6953, allocations: 0.8844 MB / 0.8438 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.6955, allocations: 32.3 kB / 0.8439 GB, free: 19.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.6959, allocations: 0.758 MB / 0.8446 GB, free: 18.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.6961, allocations: 187.2 kB / 0.8448 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003509/0.6964, allocations: 192.2 kB / 0.845 GB, free: 18.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6966, allocations: 390.7 kB / 0.8453 GB, free: 18.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/0.6975, allocations: 0.6203 MB / 0.8459 GB, free: 17.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.6986, allocations: 0.9856 MB / 0.8469 GB, free: 17.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.7006, allocations: 1.622 MB / 0.8485 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.7006, allocations: 7.594 kB / 0.8485 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008465/0.7091, allocations: 3.066 MB / 0.8515 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.7092, allocations: 14.12 kB / 0.8515 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.7092, allocations: 11.75 kB / 0.8515 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/0.7162, allocations: 1.649 MB / 0.8531 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.7175, allocations: 219.2 kB / 0.8533 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.73, allocations: 10.58 MB / 0.8637 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.7315, allocations: 165.5 kB / 0.8638 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7316, allocations: 43.31 kB / 0.8639 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0021/0.7338, allocations: 1.279 MB / 0.8651 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009932/0.7348, allocations: 0.9606 MB / 0.866 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001774/0.7365, allocations: 1.566 MB / 0.8676 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.618e-06/0.7366, allocations: 3.906 kB / 0.8676 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006812/0.7434, allocations: 2.597 MB / 0.8701 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.7434, allocations: 10.41 kB / 0.8701 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.7435, allocations: 19.98 kB / 0.8701 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004471/0.7479, allocations: 1.071 MB / 0.8712 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.749, allocations: 235.6 kB / 0.8714 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007987/0.757, allocations: 5.748 MB / 0.877 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.7586, allocations: 155.8 kB / 0.8772 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.7589, allocations: 36 kB / 0.8772 GB, free: 8.969 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004085/0.7593, allocations: 243.8 kB / 0.8774 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.7596, allocations: 83.05 kB / 0.8775 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007871/0.7674, allocations: 2.539 MB / 0.88 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.7675, allocations: 10.25 kB / 0.88 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.7675, allocations: 0 / 0.88 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.7675, allocations: 3.984 kB / 0.88 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.7793, allocations: 4.445 MB / 0.8844 GB, free: 1.484 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.7794, allocations: 0 / 0.8844 GB, free: 1.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.7798, allocations: 104.1 kB / 0.8845 GB, free: 1.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/0.7862, allocations: 1.497 MB / 0.8859 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.7865, allocations: 15.94 kB / 0.8859 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.7991, allocations: 10.13 MB / 0.8958 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.7992, allocations: 3.984 kB / 0.8958 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007636/0.8068, allocations: 2.5 MB / 0.8983 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/0.8076, allocations: 268.1 kB / 0.8985 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.8079, allocations: 16 kB / 0.8985 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.809, allocations: 115.8 kB / 0.8987 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.8093, allocations: 43.89 kB / 0.8987 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.8093, allocations: 16 kB / 0.8987 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001114/0.8105, allocations: 0.6317 MB / 0.8993 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8105, allocations: 0 / 0.8993 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002991/0.8135, allocations: 0.582 MB / 0.8999 GB, free: 0.9219 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003376/0.8138, allocations: 123.1 kB / 0.9 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005996/0.8198, allocations: 3.195 MB / 0.9031 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.8199, allocations: 4.188 kB / 0.9031 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.8218, allocations: 1.175 MB / 0.9043 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.8234, allocations: 249.9 kB / 0.9045 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/0.83, allocations: 3.219 MB / 0.9077 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.8319, allocations: 1.634 MB / 0.9093 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.8323, allocations: 63.42 kB / 0.9093 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of SimCode: time 8.82e-07/0.8323, allocations: 0 / 0.9093 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of Templates: time 0.06572/0.898, allocations: 57.39 MB / 0.9654 GB, free: 13.74 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)