Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001655/0.001655, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002108/0.002108, allocations: 192.3 kB / 16.14 MB, free: 6.688 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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.73 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03485/0.3668, allocations: 32.33 MB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.3847, allocations: 10.26 MB / 1.109 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.3883, allocations: 135.2 kB / 1.109 GB, free: 24 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009285/0.3977, allocations: 3.478 MB / 1.113 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005514/0.4032, allocations: 1.743 MB / 1.114 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.409, allocations: 1.929 MB / 1.116 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.4205, allocations: 10.59 MB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01918/0.4397, allocations: 10.61 MB / 1.137 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005794/0.4455, allocations: 2.705 MB / 1.14 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006176/0.4517, allocations: 3.551 MB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001958/0.4537, allocations: 452 kB / 1.143 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00503/0.4587, allocations: 1.88 MB / 1.145 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004381/0.4631, allocations: 2.335 MB / 1.148 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007323/0.4705, allocations: 2.668 MB / 1.15 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.4845, allocations: 9.979 MB / 1.16 GB, free: 11.9 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4846, allocations: 4 kB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4846, allocations: 4 kB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003549/0.4849, allocations: 0 / 1.16 GB, free: 11.89 MB / 0.92 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.01417/0.4991, allocations: 4.99 MB / 1.165 GB, free: 6.828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4992, allocations: 12.03 kB / 1.165 GB, free: 6.816 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006558/0.5058, allocations: 0.9551 MB / 1.166 GB, free: 5.855 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/0.5124, allocations: 2.855 MB / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.5128, allocations: 349.7 kB / 1.169 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.5143, allocations: 460.2 kB / 1.169 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.5331, allocations: 7.671 MB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002998/0.5335, allocations: 27.72 kB / 1.177 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00192/0.5354, allocations: 204 kB / 1.177 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004419/0.5359, allocations: 312.9 kB / 1.177 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/0.5485, allocations: 5.71 MB / 1.183 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04459/0.5931, allocations: 35.1 MB / 1.217 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.5965, allocations: 2.154 MB / 1.219 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.5984, allocations: 1.272 MB / 1.221 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.5985, allocations: 21.23 kB / 1.221 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.5985, allocations: 51.81 kB / 1.221 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/0.5986, allocations: 0 / 1.221 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01504/0.6136, allocations: 7.085 MB / 1.228 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.6137, allocations: 64.72 kB / 1.228 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.6167, allocations: 1.484 MB / 1.229 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.617, allocations: 53.7 kB / 1.229 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.6186, allocations: 2.004 MB / 1.231 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006147/0.6193, allocations: 493.1 kB / 1.232 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006635/0.62, allocations: 347.1 kB / 1.232 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6201, allocations: 301.1 kB / 1.232 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.6215, allocations: 0.9096 MB / 1.233 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.6237, allocations: 1.593 MB / 1.235 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.6273, allocations: 2.741 MB / 1.237 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.6273, allocations: 8 kB / 1.237 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006795/0.6341, allocations: 3.526 MB / 1.241 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.6342, allocations: 16 kB / 1.241 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/0.6342, allocations: 24.78 kB / 1.241 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.6369, allocations: 0.9037 MB / 1.242 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.6381, allocations: 343.4 kB / 1.242 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7003/1.338, allocations: 21.21 MB / 1.263 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.34, allocations: 108.4 kB / 1.263 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.34, allocations: 86.19 kB / 1.263 GB, free: 150.4 MB / 0.9981 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.002563/1.343, allocations: 1.606 MB / 1.264 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004268/1.343, allocations: 204 kB / 1.265 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005206/1.348, allocations: 2.988 MB / 1.268 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.349, allocations: 13.62 kB / 1.268 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.349, allocations: 10.88 kB / 1.268 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/1.349, allocations: 13.8 kB / 1.268 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.361, allocations: 7.344 MB / 1.275 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.361, allocations: 4.688 kB / 1.275 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/1.361, allocations: 179.3 kB / 1.275 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/1.364, allocations: 0.8252 MB / 1.276 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.364, allocations: 25.66 kB / 1.276 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/1.381, allocations: 20.31 MB / 1.296 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.381, allocations: 12.25 kB / 1.296 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006543/1.387, allocations: 3.024 MB / 1.299 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.389, allocations: 460.9 kB / 1.299 GB, free: 126 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/1.389, allocations: 31.28 kB / 1.299 GB, free: 126 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.39, allocations: 73.91 kB / 1.299 GB, free: 126 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004962/1.391, allocations: 123.3 kB / 1.299 GB, free: 126 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/1.391, allocations: 43.91 kB / 1.299 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001716/1.393, allocations: 0.979 MB / 1.3 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.393, allocations: 0 / 1.3 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003525/1.396, allocations: 0.7889 MB / 1.301 GB, free: 125.5 MB / 0.9981 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.0002933/1.397, allocations: 143.3 kB / 1.301 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006004/1.403, allocations: 4.008 MB / 1.305 GB, free: 123 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.403, allocations: 1.406 kB / 1.305 GB, free: 123 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004101/1.407, allocations: 2.74 MB / 1.308 GB, free: 121.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/1.411, allocations: 0.665 MB / 1.308 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.43, allocations: 9.147 MB / 1.317 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004699/1.435, allocations: 3.104 MB / 1.32 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001924/1.436, allocations: 464.8 kB / 1.321 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/1.437, allocations: 117.1 kB / 1.321 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.041e-06/1.437, allocations: 0 / 1.321 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05423/1.491, allocations: 34.71 MB / 1.355 GB, free: 86.49 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)