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.001479/0.001479, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001774/0.001774, allocations: 193.4 kB / 17.97 MB, free: 5.062 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7568/0.7568, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3915, allocations: 76.15 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01351/0.4051, allocations: 11.81 MB / 0.5691 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008679/0.4138, allocations: 5.344 MB / 0.5743 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.4152, allocations: 36.34 kB / 0.5744 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.418, allocations: 1.039 MB / 0.5754 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.4198, allocations: 0.6282 MB / 0.576 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.4223, allocations: 0.9149 MB / 0.5769 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.4251, allocations: 2.465 MB / 0.5793 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004098/0.4292, allocations: 3.514 MB / 0.5827 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.4313, allocations: 1.099 MB / 0.5838 GB, free: 20.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.4333, allocations: 1.224 MB / 0.585 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.4338, allocations: 231.1 kB / 0.5852 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.435, allocations: 0.4986 MB / 0.5857 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.436, allocations: 0.8986 MB / 0.5866 GB, free: 19.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.4374, allocations: 0.9849 MB / 0.5875 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.4411, allocations: 3.55 MB / 0.591 GB, free: 17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4411, allocations: 0 / 0.591 GB, free: 17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4411, allocations: 0 / 0.591 GB, free: 17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.629e-05/0.4412, allocations: 0 / 0.591 GB, free: 17 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.004139/0.4454, allocations: 1.937 MB / 0.5929 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4454, allocations: 8.562 kB / 0.5929 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.4478, allocations: 459.7 kB / 0.5933 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/0.4504, allocations: 1.12 MB / 0.5944 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.4505, allocations: 119.5 kB / 0.5946 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.4509, allocations: 160.1 kB / 0.5947 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.4549, allocations: 2.731 MB / 0.5974 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.455, allocations: 0 / 0.5974 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.4552, allocations: 71.98 kB / 0.5974 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002571/0.4555, allocations: 143 kB / 0.5976 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/0.4586, allocations: 2.276 MB / 0.5998 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.469, allocations: 10.34 MB / 0.6099 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4701, allocations: 0.5571 MB / 0.6104 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.4708, allocations: 376.6 kB / 0.6108 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.471, allocations: 96.95 kB / 0.6109 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.471, allocations: 42.44 kB / 0.6109 GB, free: 12.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=36): time 3.296e-06/0.471, allocations: 0 / 0.6109 GB, free: 12.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.01919/0.4902, allocations: 5.542 MB / 0.6163 GB, free: 7.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.4903, allocations: 55.84 kB / 0.6164 GB, free: 7.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.4916, allocations: 0.8905 MB / 0.6173 GB, free: 6.199 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4917, allocations: 33.7 kB / 0.6173 GB, free: 6.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.4923, allocations: 0.7539 MB / 0.618 GB, free: 5.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4925, allocations: 189.4 kB / 0.6182 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.4929, allocations: 190.4 kB / 0.6184 GB, free: 5.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4931, allocations: 390.8 kB / 0.6188 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/0.4941, allocations: 0.6254 MB / 0.6194 GB, free: 3.996 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4953, allocations: 0.9748 MB / 0.6203 GB, free: 2.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.4975, allocations: 1.623 MB / 0.6219 GB, free: 1.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4975, allocations: 4 kB / 0.6219 GB, free: 1.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008775/0.5063, allocations: 3.061 MB / 0.6249 GB, free: 13.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.368e-05/0.5063, allocations: 12.38 kB / 0.6249 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.5064, allocations: 16 kB / 0.6249 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007399/0.5138, allocations: 1.653 MB / 0.6266 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/0.5147, allocations: 207.7 kB / 0.6268 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.5292, allocations: 10.6 MB / 0.6371 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.5307, allocations: 159.6 kB / 0.6373 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5308, allocations: 43.98 kB / 0.6373 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00208/0.5329, allocations: 1.286 MB / 0.6386 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.5341, allocations: 0.9514 MB / 0.6395 GB, free: 14.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00209/0.5362, allocations: 1.568 MB / 0.641 GB, free: 12.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-05/0.5362, allocations: 4 kB / 0.641 GB, free: 12.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007025/0.5432, allocations: 2.595 MB / 0.6436 GB, free: 9.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5433, allocations: 11.98 kB / 0.6436 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.5433, allocations: 12 kB / 0.6436 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/0.548, allocations: 1.063 MB / 0.6446 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/0.549, allocations: 239.6 kB / 0.6448 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00748/0.5565, allocations: 5.756 MB / 0.6505 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.5578, allocations: 147.7 kB / 0.6506 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5579, allocations: 48 kB / 0.6506 GB, free: 2.426 MB / 494.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.0003002/0.5582, allocations: 248.5 kB / 0.6509 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.5584, allocations: 79.06 kB / 0.651 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007709/0.5661, allocations: 2.532 MB / 0.6534 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.5662, allocations: 8 kB / 0.6534 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5662, allocations: 3.938 kB / 0.6534 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.5662, allocations: 3.984 kB / 0.6534 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.5773, allocations: 4.458 MB / 0.6578 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.5773, allocations: 4 kB / 0.6578 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.5778, allocations: 95.84 kB / 0.6579 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006245/0.584, allocations: 1.498 MB / 0.6594 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.5841, allocations: 12.03 kB / 0.6594 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.5962, allocations: 10.14 MB / 0.6693 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5962, allocations: 0 / 0.6693 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00718/0.6034, allocations: 2.498 MB / 0.6717 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007024/0.6041, allocations: 264.1 kB / 0.672 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.6043, allocations: 15.94 kB / 0.672 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/0.6051, allocations: 119.8 kB / 0.6721 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.6054, allocations: 47.83 kB / 0.6721 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.6054, allocations: 19.98 kB / 0.6722 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00109/0.6065, allocations: 0.6278 MB / 0.6728 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6065, allocations: 0 / 0.6728 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002207/0.6087, allocations: 0.582 MB / 0.6733 GB, free: 10.38 MB / 0.5137 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.0002792/0.609, allocations: 123.2 kB / 0.6735 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005522/0.6146, allocations: 3.089 MB / 0.6765 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6146, allocations: 0 / 0.6765 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.6166, allocations: 1.176 MB / 0.6776 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.6182, allocations: 241.8 kB / 0.6779 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/0.6238, allocations: 2.969 MB / 0.6808 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/0.6253, allocations: 1.618 MB / 0.6823 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001197/0.6265, allocations: 490.2 kB / 0.6828 GB, free: 488 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.6267, allocations: 59.44 kB / 0.6829 GB, free: 428 kB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.6267, allocations: 0 / 0.6829 GB, free: 428 kB / 0.5137 GB Notification: Performance of Templates: time 0.03748/0.6642, allocations: 24 MB / 0.7063 GB, free: 8.582 MB / 0.545 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)