Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00742/0.007421, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001582/0.001582, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 294.5 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.3 MB / 0.4983 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 95.84 kB / 0.6815 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4217, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03422/0.4559, allocations: 32.59 MB / 0.7982 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.4722, allocations: 10.27 MB / 0.8083 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.4751, allocations: 147.2 kB / 0.8084 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008864/0.484, allocations: 3.722 MB / 0.812 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.4894, allocations: 1.952 MB / 0.8139 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/0.4947, allocations: 2.124 MB / 0.816 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009726/0.5045, allocations: 7.349 MB / 0.8232 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.5158, allocations: 9.412 MB / 0.8324 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005707/0.5216, allocations: 3.221 MB / 0.8355 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.5269, allocations: 3.477 MB / 0.8389 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/0.5279, allocations: 0.6445 MB / 0.8396 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.5314, allocations: 1.779 MB / 0.8413 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.5338, allocations: 2.55 MB / 0.8438 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003455/0.5372, allocations: 2.898 MB / 0.8466 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.011/0.5482, allocations: 10.11 MB / 0.8565 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5483, allocations: 0 / 0.8565 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5483, allocations: 0 / 0.8565 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002928/0.5486, allocations: 0 / 0.8565 GB, free: 7.301 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01105/0.5596, allocations: 4.993 MB / 0.8614 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5597, allocations: 12.03 kB / 0.8614 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.565, allocations: 0.9551 MB / 0.8623 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/0.5706, allocations: 3.05 MB / 0.8653 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.5709, allocations: 345.6 kB / 0.8656 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.5719, allocations: 460.2 kB / 0.8661 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.5857, allocations: 7.671 MB / 0.8735 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.5859, allocations: 31.67 kB / 0.8736 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006883/0.5866, allocations: 204 kB / 0.8738 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003418/0.5869, allocations: 313 kB / 0.8741 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.5978, allocations: 5.714 MB / 0.8797 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03806/0.6359, allocations: 34.82 MB / 0.9137 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.6388, allocations: 2.161 MB / 0.9158 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.6405, allocations: 1.276 MB / 0.917 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.493e-05/0.6406, allocations: 13.31 kB / 0.917 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6407, allocations: 43.88 kB / 0.9171 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=133): time 3.407e-06/0.6407, allocations: 0 / 0.9171 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of matching and sorting (n=136): time 0.01378/0.6545, allocations: 7.085 MB / 0.924 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.6546, allocations: 64.72 kB / 0.924 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.6569, allocations: 1.484 MB / 0.9255 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.657, allocations: 49.7 kB / 0.9255 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.6583, allocations: 2.008 MB / 0.9275 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/0.6587, allocations: 489.1 kB / 0.928 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.6593, allocations: 343.2 kB / 0.9283 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.6594, allocations: 301.1 kB / 0.9286 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.6607, allocations: 0.9174 MB / 0.9295 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.6625, allocations: 1.597 MB / 0.931 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.6658, allocations: 2.733 MB / 0.9337 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.6658, allocations: 8 kB / 0.9337 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006134/0.6719, allocations: 3.526 MB / 0.9372 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.672, allocations: 16 kB / 0.9372 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.672, allocations: 20.91 kB / 0.9372 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.6747, allocations: 0.9115 MB / 0.9381 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6759, allocations: 347.4 kB / 0.9384 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/0.6966, allocations: 23.1 MB / 0.961 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.6983, allocations: 108 kB / 0.9611 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.6986, allocations: 84 kB / 0.9612 GB, free: 5.516 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002834/0.7015, allocations: 1.61 MB / 0.9627 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005869/0.7021, allocations: 205.5 kB / 0.9629 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/0.7077, allocations: 3.005 MB / 0.9659 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7077, allocations: 12 kB / 0.9659 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.453e-05/0.7077, allocations: 12 kB / 0.9659 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.7078, allocations: 7.969 kB / 0.9659 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4197/1.128, allocations: 7.322 MB / 0.973 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.128, allocations: 4.062 kB / 0.973 GB, free: 180.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/1.128, allocations: 184.3 kB / 0.9732 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/1.131, allocations: 0.8202 MB / 0.974 GB, free: 179.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/1.131, allocations: 27.28 kB / 0.974 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0147/1.145, allocations: 21.95 MB / 0.9955 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.146, allocations: 7.875 kB / 0.9955 GB, free: 161 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/1.15, allocations: 3.024 MB / 0.9984 GB, free: 159.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000904/1.151, allocations: 456.5 kB / 0.9989 GB, free: 159.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/1.151, allocations: 34.48 kB / 0.9989 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/1.152, allocations: 73.23 kB / 0.999 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/1.152, allocations: 120.9 kB / 0.9991 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/1.153, allocations: 39.06 kB / 0.9991 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001159/1.154, allocations: 0.9762 MB / 1 GB, free: 159 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.154, allocations: 6.125 kB / 1 GB, free: 159 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002593/1.156, allocations: 0.787 MB / 1.001 GB, free: 158.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002136/1.156, allocations: 143.1 kB / 1.001 GB, free: 158.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004628/1.161, allocations: 4.03 MB / 1.005 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.161, allocations: 1.906 kB / 1.005 GB, free: 156.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/1.164, allocations: 2.732 MB / 1.008 GB, free: 154.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.167, allocations: 0.7414 MB / 1.008 GB, free: 154.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/1.178, allocations: 7.1 MB / 1.015 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002405/1.18, allocations: 3.105 MB / 1.018 GB, free: 145.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001362/1.181, allocations: 461.9 kB / 1.019 GB, free: 144.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/1.182, allocations: 115.4 kB / 1.019 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.182, allocations: 0 / 1.019 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.04922/1.231, allocations: 36.26 MB / 1.054 GB, free: 108.9 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)