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.001145/0.001145, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001296/0.001296, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.486/1.486, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7802/0.7802, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 55.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4741, allocations: 77.92 MB / 0.5672 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01651/0.4907, allocations: 11.82 MB / 0.5787 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.5012, allocations: 5.495 MB / 0.5841 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.5032, allocations: 36.5 kB / 0.5841 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.5064, allocations: 1.039 MB / 0.5852 GB, free: 20.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.5088, allocations: 0.6576 MB / 0.5858 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.5114, allocations: 0.9152 MB / 0.5867 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003077/0.5145, allocations: 2.463 MB / 0.5891 GB, free: 17.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.5186, allocations: 3.575 MB / 0.5926 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.5207, allocations: 1.108 MB / 0.5937 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.5221, allocations: 1.21 MB / 0.5949 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.5224, allocations: 232 kB / 0.5951 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.5233, allocations: 0.5228 MB / 0.5956 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.524, allocations: 0.9006 MB / 0.5965 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008568/0.5248, allocations: 0.9922 MB / 0.5974 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.5273, allocations: 3.545 MB / 0.6009 GB, free: 8.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5273, allocations: 0 / 0.6009 GB, free: 8.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5273, allocations: 0 / 0.6009 GB, free: 8.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.5274, allocations: 4 kB / 0.6009 GB, free: 8.273 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.003114/0.5305, allocations: 1.94 MB / 0.6028 GB, free: 6.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5305, allocations: 12.62 kB / 0.6028 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.5329, allocations: 490.4 kB / 0.6033 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.5344, allocations: 1.109 MB / 0.6044 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.5345, allocations: 111.5 kB / 0.6045 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.5347, allocations: 160.1 kB / 0.6046 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.5382, allocations: 2.747 MB / 0.6073 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/0.5383, allocations: 11.88 kB / 0.6073 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.5385, allocations: 60 kB / 0.6074 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/0.5387, allocations: 147 kB / 0.6075 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.5426, allocations: 2.307 MB / 0.6098 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.5555, allocations: 10.47 MB / 0.62 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.5567, allocations: 0.6116 MB / 0.6206 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/0.5574, allocations: 395.2 kB / 0.621 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.5575, allocations: 100.9 kB / 0.6211 GB, free: 2.535 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5575, allocations: 38.5 kB / 0.6211 GB, free: 2.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/0.5575, allocations: 4 kB / 0.6211 GB, free: 2.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.021/0.5786, allocations: 5.819 MB / 0.6268 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.5786, allocations: 63.83 kB / 0.6268 GB, free: 12.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.5799, allocations: 0.8789 MB / 0.6277 GB, free: 11.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.5801, allocations: 37.7 kB / 0.6277 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.5806, allocations: 0.7538 MB / 0.6285 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.5808, allocations: 185.4 kB / 0.6287 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.5812, allocations: 194.4 kB / 0.6288 GB, free: 10.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5813, allocations: 394.8 kB / 0.6292 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.5825, allocations: 0.6488 MB / 0.6298 GB, free: 9.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.584, allocations: 1.006 MB / 0.6308 GB, free: 8.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/0.587, allocations: 1.674 MB / 0.6325 GB, free: 6.402 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.587, allocations: 4 kB / 0.6325 GB, free: 6.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00918/0.5962, allocations: 3.127 MB / 0.6355 GB, free: 3.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.5963, allocations: 12 kB / 0.6355 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/0.5964, allocations: 12 kB / 0.6355 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006863/0.6032, allocations: 1.646 MB / 0.6372 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6043, allocations: 235.6 kB / 0.6374 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/0.6195, allocations: 10.59 MB / 0.6477 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.621, allocations: 167.7 kB / 0.6479 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/0.6211, allocations: 43.98 kB / 0.6479 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002413/0.6235, allocations: 1.322 MB / 0.6492 GB, free: 4.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001378/0.6249, allocations: 0.9748 MB / 0.6502 GB, free: 3.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00246/0.6274, allocations: 1.611 MB / 0.6517 GB, free: 1.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/0.6274, allocations: 8 kB / 0.6517 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007109/0.6345, allocations: 2.654 MB / 0.6543 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6346, allocations: 12 kB / 0.6543 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.6346, allocations: 12 kB / 0.6544 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004456/0.6391, allocations: 1.075 MB / 0.6554 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6401, allocations: 247.5 kB / 0.6556 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.6478, allocations: 5.76 MB / 0.6613 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.6492, allocations: 159.8 kB / 0.6614 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.554e-05/0.6493, allocations: 47.92 kB / 0.6615 GB, free: 7.477 MB / 0.4981 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.0003884/0.6497, allocations: 236.9 kB / 0.6617 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.6499, allocations: 75.16 kB / 0.6618 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007657/0.6575, allocations: 2.571 MB / 0.6643 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6576, allocations: 11.94 kB / 0.6643 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6576, allocations: 4 kB / 0.6643 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6576, allocations: 0 / 0.6643 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/0.6674, allocations: 4.464 MB / 0.6686 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6674, allocations: 4 kB / 0.6687 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.6678, allocations: 99.8 kB / 0.6687 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005931/0.6737, allocations: 1.501 MB / 0.6702 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/0.6738, allocations: 11.94 kB / 0.6702 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.6861, allocations: 10.14 MB / 0.6801 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6862, allocations: 0 / 0.6801 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00715/0.6933, allocations: 2.504 MB / 0.6826 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.6939, allocations: 260.1 kB / 0.6828 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.6941, allocations: 15.98 kB / 0.6828 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/0.6949, allocations: 119.8 kB / 0.6829 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.6952, allocations: 55.81 kB / 0.683 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.6952, allocations: 12 kB / 0.683 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009347/0.6962, allocations: 0.6434 MB / 0.6836 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6962, allocations: 0 / 0.6836 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002014/0.6982, allocations: 0.5898 MB / 0.6842 GB, free: 15.38 MB / 0.5294 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.0002286/0.6984, allocations: 131 kB / 0.6843 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005531/0.704, allocations: 3.253 MB / 0.6875 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.704, allocations: 0 / 0.6875 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.7058, allocations: 1.18 MB / 0.6887 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.707, allocations: 239.7 kB / 0.6889 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.7119, allocations: 3.005 MB / 0.6918 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.7133, allocations: 1.618 MB / 0.6934 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001302/0.7146, allocations: 0.4943 MB / 0.6939 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.7148, allocations: 67.36 kB / 0.694 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/0.7148, allocations: 4 kB / 0.694 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of Templates: time 0.03777/0.7526, allocations: 24.82 MB / 0.7182 GB, free: 12.53 MB / 0.5606 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)