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.001414/0.001414, allocations: 105 kB / 16.27 MB, free: 5.934 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.001419/0.001419, allocations: 191.7 kB / 17.2 MB, free: 5.574 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8001/0.8001, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4136, allocations: 77.94 MB / 0.5672 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01928/0.4329, allocations: 14.75 MB / 0.5816 GB, free: 22.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.4483, allocations: 10.36 MB / 0.5917 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.4505, allocations: 58.91 kB / 0.5918 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.4545, allocations: 1.695 MB / 0.5934 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005746/0.4603, allocations: 1.816 MB / 0.5952 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.463, allocations: 0.755 MB / 0.5959 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004023/0.4671, allocations: 2.746 MB / 0.5986 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.4689, allocations: 1.418 MB / 0.6 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.4711, allocations: 1.504 MB / 0.6015 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.4725, allocations: 1.156 MB / 0.6026 GB, free: 6.492 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000269/0.4728, allocations: 164 kB / 0.6028 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.4742, allocations: 0.7838 MB / 0.6035 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000401/0.4746, allocations: 0.6076 MB / 0.6041 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.4753, allocations: 0.9522 MB / 0.6051 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.4776, allocations: 2.733 MB / 0.6077 GB, free: 1.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4776, allocations: 3.938 kB / 0.6077 GB, free: 1.234 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4776, allocations: 0 / 0.6077 GB, free: 1.234 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.905e-05/0.4776, allocations: 4 kB / 0.6077 GB, free: 1.23 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.003346/0.481, allocations: 2.174 MB / 0.6099 GB, free: 15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.481, allocations: 12.62 kB / 0.6099 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.4927, allocations: 2.108 MB / 0.6119 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.4959, allocations: 1.202 MB / 0.6131 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.496, allocations: 86.69 kB / 0.6132 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.4963, allocations: 128 kB / 0.6133 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006397/0.5027, allocations: 2.674 MB / 0.6159 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.5028, allocations: 7.938 kB / 0.6159 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/0.503, allocations: 51.98 kB / 0.616 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007009/0.5037, allocations: 194.1 kB / 0.6162 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00786/0.5116, allocations: 2.799 MB / 0.6189 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.5277, allocations: 10.51 MB / 0.6292 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00653/0.5342, allocations: 2.34 MB / 0.6314 GB, free: 8.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/0.5373, allocations: 1.272 MB / 0.6327 GB, free: 6.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/0.5374, allocations: 20.98 kB / 0.6327 GB, free: 6.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.5375, allocations: 47.5 kB / 0.6327 GB, free: 6.703 MB / 478.1 MB Notification: Performance of pre-optimization done (n=89): time 2.725e-06/0.5375, allocations: 0 / 0.6327 GB, free: 6.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=153): time 0.0581/0.5956, allocations: 16.49 MB / 0.6488 GB, free: 6.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.5957, allocations: 72.72 kB / 0.6489 GB, free: 5.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.5974, allocations: 1.164 MB / 0.65 GB, free: 4.801 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/0.5976, allocations: 53.7 kB / 0.6501 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.5982, allocations: 0.7436 MB / 0.6508 GB, free: 3.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/0.5987, allocations: 0.5121 MB / 0.6513 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/0.5993, allocations: 291.4 kB / 0.6516 GB, free: 3.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.5994, allocations: 309.1 kB / 0.6519 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.6028, allocations: 1.507 MB / 0.6534 GB, free: 1.371 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.6064, allocations: 1.78 MB / 0.6551 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007093/0.6135, allocations: 3.365 MB / 0.6584 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.6136, allocations: 7.984 kB / 0.6584 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01305/0.6266, allocations: 5.268 MB / 0.6635 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.6267, allocations: 8 kB / 0.6636 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6267, allocations: 8 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006676/0.6334, allocations: 1.9 MB / 0.6654 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.6354, allocations: 419.2 kB / 0.6658 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/0.6647, allocations: 24.14 MB / 0.6894 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.6675, allocations: 303.6 kB / 0.6897 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.6677, allocations: 80 kB / 0.6898 GB, free: 10.74 MB / 0.5294 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.0008261/0.6686, allocations: 461.4 kB / 0.6902 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.6689, allocations: 173.9 kB / 0.6904 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.6818, allocations: 5.324 MB / 0.6956 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6819, allocations: 20.08 kB / 0.6956 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-05/0.6819, allocations: 24 kB / 0.6956 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.6819, allocations: 7.969 kB / 0.6956 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.6983, allocations: 7.414 MB / 0.7029 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.6983, allocations: 4 kB / 0.7029 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/0.7, allocations: 355.3 kB / 0.7032 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00588/0.7059, allocations: 1.721 MB / 0.7049 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.7062, allocations: 39.97 kB / 0.7049 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02843/0.7346, allocations: 23.32 MB / 0.7277 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.7347, allocations: 4 kB / 0.7277 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.7471, allocations: 4.885 MB / 0.7325 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.7483, allocations: 0.4909 MB / 0.7329 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.7486, allocations: 28 kB / 0.733 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/0.7508, allocations: 323.5 kB / 0.7333 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006704/0.7514, allocations: 145.5 kB / 0.7334 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.7516, allocations: 55.97 kB / 0.7335 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001185/0.7528, allocations: 0.7938 MB / 0.7342 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7528, allocations: 0 / 0.7342 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002628/0.7554, allocations: 0.6562 MB / 0.7349 GB, free: 11.11 MB / 0.5762 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.0003285/0.7558, allocations: 141 kB / 0.735 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01231/0.7681, allocations: 5.429 MB / 0.7403 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.7681, allocations: 4 kB / 0.7403 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00748/0.7756, allocations: 3.355 MB / 0.7436 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.7786, allocations: 0.5609 MB / 0.7441 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3447/1.123, allocations: 4.325 MB / 0.7484 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/1.126, allocations: 1.564 MB / 0.7499 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002139/1.128, allocations: 385.2 kB / 0.7503 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/1.128, allocations: 108.7 kB / 0.7504 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.442e-06/1.128, allocations: 0 / 0.7504 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.07283/1.201, allocations: 44.85 MB / 0.7942 GB, free: 129.3 MB / 0.5762 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)