Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001446, allocations: 108.2 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.001637/0.001637, allocations: 192.1 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7276/0.7276, allocations: 115.1 MB / 406.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3972, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.0155/0.4127, allocations: 14.76 MB / 0.572 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01546/0.4282, allocations: 10.33 MB / 0.5821 GB, free: 19.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.4309, allocations: 59.34 kB / 0.5821 GB, free: 19.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004363/0.4353, allocations: 1.698 MB / 0.5838 GB, free: 18.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.4413, allocations: 1.812 MB / 0.5856 GB, free: 17.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.4436, allocations: 0.7581 MB / 0.5863 GB, free: 17.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.4478, allocations: 2.75 MB / 0.589 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.4497, allocations: 1.416 MB / 0.5904 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.4522, allocations: 1.502 MB / 0.5918 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.4538, allocations: 1.166 MB / 0.593 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.4541, allocations: 160.8 kB / 0.5931 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.4557, allocations: 0.7875 MB / 0.5939 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.4562, allocations: 0.6015 MB / 0.5945 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008544/0.457, allocations: 0.9529 MB / 0.5954 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.4597, allocations: 2.771 MB / 0.5981 GB, free: 10.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4597, allocations: 3.938 kB / 0.5981 GB, free: 10.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4597, allocations: 0 / 0.5981 GB, free: 10.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.4597, allocations: 1 kB / 0.5981 GB, free: 10.46 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003702/0.4635, allocations: 2.171 MB / 0.6002 GB, free: 8.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4635, allocations: 12.03 kB / 0.6003 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.4736, allocations: 2.108 MB / 0.6023 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.4764, allocations: 1.303 MB / 0.6036 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.4765, allocations: 90.69 kB / 0.6037 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.4767, allocations: 112.1 kB / 0.6038 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/0.4812, allocations: 2.678 MB / 0.6064 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.4813, allocations: 11.84 kB / 0.6064 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.4814, allocations: 55.98 kB / 0.6065 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005164/0.4819, allocations: 190.1 kB / 0.6066 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006254/0.4882, allocations: 2.791 MB / 0.6094 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.5027, allocations: 10.46 MB / 0.6196 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/0.5086, allocations: 2.34 MB / 0.6219 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.5113, allocations: 1.276 MB / 0.6231 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.5114, allocations: 17 kB / 0.6231 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5115, allocations: 47.56 kB / 0.6232 GB, free: 440 kB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.675e-06/0.5115, allocations: 0 / 0.6232 GB, free: 440 kB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05544/0.5669, allocations: 16.49 MB / 0.6393 GB, free: 15.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.567, allocations: 68.72 kB / 0.6394 GB, free: 15.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.5688, allocations: 1.168 MB / 0.6405 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.569, allocations: 53.7 kB / 0.6405 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.5696, allocations: 0.7398 MB / 0.6413 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/0.5701, allocations: 0.5237 MB / 0.6418 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/0.5707, allocations: 283.5 kB / 0.6421 GB, free: 12.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5708, allocations: 305.1 kB / 0.6423 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/0.5739, allocations: 1.51 MB / 0.6438 GB, free: 11.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.5773, allocations: 1.776 MB / 0.6456 GB, free: 9.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006521/0.5838, allocations: 3.365 MB / 0.6488 GB, free: 5.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.5838, allocations: 4 kB / 0.6488 GB, free: 5.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01239/0.5962, allocations: 5.28 MB / 0.654 GB, free: 440 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.5963, allocations: 8 kB / 0.654 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.5963, allocations: 8.844 kB / 0.654 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/0.6027, allocations: 1.879 MB / 0.6558 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.6046, allocations: 415.2 kB / 0.6562 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/0.6324, allocations: 24.14 MB / 0.6798 GB, free: 4.848 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.6351, allocations: 303.5 kB / 0.6801 GB, free: 4.551 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.6353, allocations: 68.03 kB / 0.6802 GB, free: 4.484 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008953/0.6362, allocations: 465.4 kB / 0.6806 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.6365, allocations: 173.9 kB / 0.6808 GB, free: 3.848 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.6492, allocations: 5.32 MB / 0.686 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.6492, allocations: 16 kB / 0.686 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/0.6492, allocations: 16 kB / 0.686 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.6493, allocations: 15.97 kB / 0.686 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.6658, allocations: 7.415 MB / 0.6933 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.6658, allocations: 7.938 kB / 0.6933 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.6675, allocations: 355.3 kB / 0.6936 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005829/0.6733, allocations: 1.703 MB / 0.6953 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.6735, allocations: 39.97 kB / 0.6953 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02715/0.7007, allocations: 23.31 MB / 0.7181 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7007, allocations: 4 kB / 0.7181 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.7124, allocations: 4.887 MB / 0.7229 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.7138, allocations: 498.7 kB / 0.7233 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.714, allocations: 28 kB / 0.7234 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.716, allocations: 319.6 kB / 0.7237 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/0.7166, allocations: 153 kB / 0.7238 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.7168, allocations: 55.97 kB / 0.7239 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001075/0.7179, allocations: 0.7899 MB / 0.7246 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7179, allocations: 0 / 0.7246 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002276/0.7201, allocations: 0.6523 MB / 0.7253 GB, free: 4.875 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003161/0.7205, allocations: 147.1 kB / 0.7254 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.7311, allocations: 5.159 MB / 0.7304 GB, free: 15.46 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.7312, allocations: 0 / 0.7304 GB, free: 15.46 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0067/0.7379, allocations: 3.343 MB / 0.7337 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.7405, allocations: 0.5528 MB / 0.7343 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/0.7492, allocations: 4.303 MB / 0.7385 GB, free: 7.137 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.7505, allocations: 1.564 MB / 0.74 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001472/0.752, allocations: 390.4 kB / 0.7404 GB, free: 5.145 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.7524, allocations: 107.3 kB / 0.7405 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/0.7524, allocations: 0 / 0.7405 GB, free: 5.039 MB / 0.5763 GB Notification: Performance of Templates: time 0.332/1.084, allocations: 44.85 MB / 0.7843 GB, free: 146.8 MB / 0.5763 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)