Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001011/0.001011, allocations: 93.34 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001429, allocations: 177.9 kB / 16.92 MB, free: 6.684 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7236/0.7236, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 77.53 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01447/0.1779, allocations: 11.29 MB / 0.571 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.1881, allocations: 5.42 MB / 0.5763 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.1896, allocations: 35.81 kB / 0.5763 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.1909, allocations: 314.1 kB / 0.5766 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.1927, allocations: 0.5954 MB / 0.5772 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.1945, allocations: 0.6355 MB / 0.5778 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003799/0.1983, allocations: 3.585 MB / 0.5813 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3292/0.5275, allocations: 4.109 MB / 0.5853 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.5298, allocations: 0.7661 MB / 0.5861 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.5324, allocations: 1.035 MB / 0.5871 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006538/0.5331, allocations: 95.19 kB / 0.5872 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001699/0.5348, allocations: 465.4 kB / 0.5876 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.5364, allocations: 0.722 MB / 0.5883 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.539, allocations: 0.8041 MB / 0.5891 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006439/0.5455, allocations: 3.392 MB / 0.5924 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5455, allocations: 0.6094 kB / 0.5924 GB, free: 13.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5455, allocations: 3.188 kB / 0.5924 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002007/0.5457, allocations: 0.9062 kB / 0.5924 GB, free: 13.39 MB / 446.1 MB 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.007246/0.553, allocations: 1.597 MB / 0.594 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.553, allocations: 16.69 kB / 0.594 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.5569, allocations: 499.5 kB / 0.5945 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.5603, allocations: 1.097 MB / 0.5956 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.5605, allocations: 118.9 kB / 0.5957 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009623/0.5615, allocations: 151.7 kB / 0.5958 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00873/0.5702, allocations: 2.762 MB / 0.5985 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.054e-05/0.5703, allocations: 5.938 kB / 0.5985 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.5705, allocations: 66.52 kB / 0.5986 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003987/0.5709, allocations: 144.2 kB / 0.5987 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.5757, allocations: 2.322 MB / 0.601 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.5873, allocations: 10.49 MB / 0.6112 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5886, allocations: 0.6136 MB / 0.6118 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/0.5893, allocations: 392.7 kB / 0.6122 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-05/0.5894, allocations: 93.22 kB / 0.6123 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5894, allocations: 41.02 kB / 0.6123 GB, free: 4.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 2.424e-06/0.5894, allocations: 0 / 0.6123 GB, free: 4.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.02315/0.6126, allocations: 6.039 MB / 0.6182 GB, free: 1.051 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.6126, allocations: 59.41 kB / 0.6183 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.6139, allocations: 0.8859 MB / 0.6192 GB, free: 500 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.614, allocations: 31.45 kB / 0.6192 GB, free: 464 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.6145, allocations: 0.7597 MB / 0.6199 GB, free: 15.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.6147, allocations: 186 kB / 0.6201 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.6148, allocations: 79.67 kB / 0.6202 GB, free: 15.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.615, allocations: 390.4 kB / 0.6206 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.6162, allocations: 0.6556 MB / 0.6212 GB, free: 14.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.6177, allocations: 1.017 MB / 0.6222 GB, free: 14.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.6203, allocations: 1.689 MB / 0.6238 GB, free: 12.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.6204, allocations: 3.5 kB / 0.6238 GB, free: 12.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009367/0.6297, allocations: 3.197 MB / 0.627 GB, free: 11.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.6302, allocations: 438.5 kB / 0.6274 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.6302, allocations: 9.719 kB / 0.6274 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007791/0.638, allocations: 1.75 MB / 0.6291 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.6392, allocations: 227.2 kB / 0.6293 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.6536, allocations: 9.915 MB / 0.639 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.6554, allocations: 179.6 kB / 0.6392 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.6556, allocations: 43.98 kB / 0.6392 GB, free: 15.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.6556, allocations: 4 kB / 0.6392 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008095/0.6637, allocations: 2.641 MB / 0.6418 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/0.6638, allocations: 12 kB / 0.6418 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/0.6692, allocations: 1.151 MB / 0.6429 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.6705, allocations: 255.1 kB / 0.6432 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.6783, allocations: 5.435 MB / 0.6485 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6799, allocations: 139.8 kB / 0.6486 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.6802, allocations: 52.05 kB / 0.6487 GB, free: 5.617 MB / 478.1 MB 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.001848/0.682, allocations: 0.8373 MB / 0.6495 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.6823, allocations: 75.06 kB / 0.6496 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008893/0.6912, allocations: 2.641 MB / 0.6521 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.6912, allocations: 8 kB / 0.6521 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6913, allocations: 3.75 kB / 0.6521 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6913, allocations: 4.828 kB / 0.6521 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.7035, allocations: 4.541 MB / 0.6566 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7035, allocations: 3.281 kB / 0.6566 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.7039, allocations: 99.48 kB / 0.6567 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007208/0.7112, allocations: 1.604 MB / 0.6582 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.7113, allocations: 8 kB / 0.6583 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.7237, allocations: 9.471 MB / 0.6675 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.7237, allocations: 4 kB / 0.6675 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008184/0.7319, allocations: 2.578 MB / 0.67 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007469/0.7327, allocations: 284 kB / 0.6703 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/0.733, allocations: 11.98 kB / 0.6703 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.7341, allocations: 127.8 kB / 0.6704 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.7344, allocations: 51.53 kB / 0.6705 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/0.7344, allocations: 16 kB / 0.6705 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00131/0.7358, allocations: 0.6434 MB / 0.6711 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7358, allocations: 4 kB / 0.6711 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002927/0.7387, allocations: 0.5898 MB / 0.6717 GB, free: 13.37 MB / 0.4981 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.0002459/0.739, allocations: 114.7 kB / 0.6718 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00581/0.7448, allocations: 3.162 MB / 0.6749 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.7448, allocations: 0 / 0.6749 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.7467, allocations: 1.175 MB / 0.676 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7485, allocations: 228.8 kB / 0.6763 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.7551, allocations: 3.682 MB / 0.6799 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.757, allocations: 1.622 MB / 0.6814 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00149/0.7585, allocations: 0.4904 MB / 0.6819 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.7587, allocations: 59.42 kB / 0.682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.7587, allocations: 0 / 0.682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.03846/0.7972, allocations: 24.03 MB / 0.7054 GB, free: 10.88 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)