Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001042/0.001042, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007957/0.007957, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001717, allocations: 270.8 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9355/0.9355, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 14.95 kB / 0.5987 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01443/0.1628, allocations: 14.12 MB / 0.6989 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1774, allocations: 10.22 MB / 0.7089 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.1791, allocations: 55.56 kB / 0.709 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009002/0.18, allocations: 293.7 kB / 0.7092 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.1847, allocations: 1.602 MB / 0.7108 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1863, allocations: 0.6938 MB / 0.7115 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003667/0.19, allocations: 3.405 MB / 0.7148 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.1931, allocations: 1.977 MB / 0.7167 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.1949, allocations: 1.32 MB / 0.718 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.1963, allocations: 1.089 MB / 0.7191 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.1964, allocations: 68 kB / 0.7192 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.1979, allocations: 0.8577 MB / 0.72 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.1984, allocations: 0.5061 MB / 0.7205 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007901/0.1992, allocations: 0.8563 MB / 0.7213 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.2016, allocations: 2.682 MB / 0.7239 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2016, allocations: 0 / 0.7239 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2016, allocations: 0 / 0.7239 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.004e-05/0.2017, allocations: 0 / 0.7239 GB, free: 7.168 MB / 0.5137 GB 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.003092/0.2048, allocations: 1.843 MB / 0.7257 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2048, allocations: 8.031 kB / 0.7258 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.2168, allocations: 2.167 MB / 0.7279 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002408/0.2193, allocations: 1.217 MB / 0.7291 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.2193, allocations: 82.69 kB / 0.7291 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.2196, allocations: 128 kB / 0.7293 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005817/0.2254, allocations: 2.691 MB / 0.7319 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.2255, allocations: 11.94 kB / 0.7319 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.2257, allocations: 59.97 kB / 0.732 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006747/0.2263, allocations: 190.1 kB / 0.7321 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008521/0.2349, allocations: 2.838 MB / 0.7349 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.2519, allocations: 10.56 MB / 0.7452 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007223/0.2591, allocations: 2.399 MB / 0.7476 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/0.2625, allocations: 1.295 MB / 0.7488 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.2626, allocations: 13 kB / 0.7488 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2626, allocations: 47.5 kB / 0.7489 GB, free: 12.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.604e-06/0.2626, allocations: 0 / 0.7489 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.06125/0.3239, allocations: 16.53 MB / 0.765 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.324, allocations: 68.72 kB / 0.7651 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.3256, allocations: 1.176 MB / 0.7662 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.3258, allocations: 45.7 kB / 0.7663 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.3264, allocations: 0.7514 MB / 0.767 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/0.3269, allocations: 0.5121 MB / 0.7675 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.3271, allocations: 121.6 kB / 0.7676 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.3272, allocations: 305.1 kB / 0.7679 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/0.3309, allocations: 1.526 MB / 0.7694 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/0.3347, allocations: 1.807 MB / 0.7712 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007549/0.3423, allocations: 3.404 MB / 0.7745 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3423, allocations: 4 kB / 0.7745 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.3133/0.6556, allocations: 5.313 MB / 0.7797 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.6557, allocations: 8.312 kB / 0.7797 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.6557, allocations: 7 kB / 0.7797 GB, free: 88.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00672/0.6624, allocations: 1.887 MB / 0.7816 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.6645, allocations: 422.4 kB / 0.782 GB, free: 88.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/0.6889, allocations: 22.21 MB / 0.8037 GB, free: 73.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.6918, allocations: 317.9 kB / 0.804 GB, free: 73.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.692, allocations: 61.89 kB / 0.804 GB, free: 73.24 MB / 0.5606 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.0008551/0.6929, allocations: 471.8 kB / 0.8045 GB, free: 72.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.6932, allocations: 178.9 kB / 0.8046 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/0.7071, allocations: 5.365 MB / 0.8099 GB, free: 71.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.7072, allocations: 14.69 kB / 0.8099 GB, free: 71.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-05/0.7072, allocations: 19.53 kB / 0.8099 GB, free: 71.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.7073, allocations: 3.984 kB / 0.8099 GB, free: 71.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.7232, allocations: 7.461 MB / 0.8172 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.7233, allocations: 3.094 kB / 0.8172 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.725, allocations: 369.4 kB / 0.8176 GB, free: 66.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/0.7307, allocations: 1.708 MB / 0.8192 GB, free: 65.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.7309, allocations: 39.81 kB / 0.8193 GB, free: 65.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/0.751, allocations: 21.39 MB / 0.8401 GB, free: 47.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7511, allocations: 0 / 0.8401 GB, free: 47.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.7622, allocations: 4.933 MB / 0.845 GB, free: 42.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008256/0.763, allocations: 498.7 kB / 0.8454 GB, free: 42.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.7633, allocations: 31.94 kB / 0.8455 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.7654, allocations: 331.5 kB / 0.8458 GB, free: 41.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/0.7659, allocations: 145 kB / 0.8459 GB, free: 41.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.766, allocations: 55.95 kB / 0.846 GB, free: 41.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008378/0.7669, allocations: 0.7976 MB / 0.8468 GB, free: 40.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7669, allocations: 0 / 0.8468 GB, free: 40.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001769/0.7686, allocations: 0.6625 MB / 0.8474 GB, free: 40.07 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.0002536/0.7689, allocations: 147.1 kB / 0.8475 GB, free: 39.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01007/0.779, allocations: 5.164 MB / 0.8526 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.779, allocations: 0 / 0.8526 GB, free: 34.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006283/0.7853, allocations: 3.375 MB / 0.8559 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.7882, allocations: 0.5157 MB / 0.8564 GB, free: 30.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/0.7956, allocations: 5.03 MB / 0.8613 GB, free: 25.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/0.7965, allocations: 1.572 MB / 0.8628 GB, free: 24.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001463/0.798, allocations: 383.6 kB / 0.8632 GB, free: 23.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.7983, allocations: 111.4 kB / 0.8633 GB, free: 23.55 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.7983, allocations: 0 / 0.8633 GB, free: 23.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.05807/0.8564, allocations: 42.43 MB / 0.9047 GB, free: 13.62 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)