Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.629/2.629, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 175 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 96.64 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006455, allocations: 12.62 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2458, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03757/0.2835, allocations: 26.61 MB / 1.004 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03112/0.3147, allocations: 12.59 MB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/0.3182, allocations: 115.2 kB / 1.017 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003311/0.3216, allocations: 0.6288 MB / 1.017 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009698/0.3313, allocations: 2.112 MB / 1.019 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.3374, allocations: 1.217 MB / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3478, allocations: 3.993 MB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02242/0.3702, allocations: 8.52 MB / 1.033 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00644/0.3767, allocations: 2.282 MB / 1.035 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005395/0.3822, allocations: 2.039 MB / 1.037 GB, free: 64 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.3838, allocations: 244 kB / 1.037 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.3875, allocations: 0.5891 MB / 1.038 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003863/0.3914, allocations: 1.75 MB / 1.039 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002723/0.3942, allocations: 0.9719 MB / 1.04 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.4076, allocations: 7.605 MB / 1.048 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4077, allocations: 0 / 1.048 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.895e-06/0.4077, allocations: 4 kB / 1.048 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003404/0.408, allocations: 0 / 1.048 GB, free: 4.871 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01495/0.423, allocations: 4.169 MB / 1.052 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.4231, allocations: 12.03 kB / 1.052 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008793/0.4319, allocations: 0.9777 MB / 1.053 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009853/0.4418, allocations: 2.81 MB / 1.056 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000473/0.4423, allocations: 312.5 kB / 1.056 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.4442, allocations: 423.9 kB / 1.056 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/0.4661, allocations: 6.721 MB / 1.063 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.4664, allocations: 27.77 kB / 1.063 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.4679, allocations: 180 kB / 1.063 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.4696, allocations: 372 kB / 1.063 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6509/1.12, allocations: 5.08 MB / 1.068 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0522/1.173, allocations: 30.75 MB / 1.098 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/1.177, allocations: 1.378 MB / 1.1 GB, free: 54.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/1.177, allocations: 21.69 kB / 1.1 GB, free: 54.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.302e-05/1.177, allocations: 48.53 kB / 1.1 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 4.619e-06/1.177, allocations: 0 / 1.1 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.1875/1.365, allocations: 22.78 MB / 1.122 GB, free: 46.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.19e-05/1.365, allocations: 76.44 kB / 1.122 GB, free: 46.17 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007656/1.372, allocations: 2.038 MB / 1.124 GB, free: 45.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007289/1.373, allocations: 61.92 kB / 1.124 GB, free: 45.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00257/1.376, allocations: 2.01 MB / 1.126 GB, free: 43.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001554/1.377, allocations: 0.681 MB / 1.127 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/1.378, allocations: 45.75 kB / 1.127 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002662/1.378, allocations: 394.7 kB / 1.127 GB, free: 42.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/1.384, allocations: 1.422 MB / 1.129 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006941/1.391, allocations: 1.997 MB / 1.131 GB, free: 39.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/1.398, allocations: 1.738 MB / 1.132 GB, free: 39.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.183e-05/1.398, allocations: 3.906 kB / 1.132 GB, free: 39.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.02888/1.427, allocations: 5.63 MB / 1.138 GB, free: 35.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/1.427, allocations: 14.91 kB / 1.138 GB, free: 35.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/1.428, allocations: 15.06 kB / 1.138 GB, free: 35.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/1.443, allocations: 2.083 MB / 1.14 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/1.446, allocations: 377.9 kB / 1.14 GB, free: 34.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05097/1.497, allocations: 36.27 MB / 1.176 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.501, allocations: 127.9 kB / 1.176 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/1.501, allocations: 88 kB / 1.176 GB, free: 11.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004672/1.506, allocations: 1.511 MB / 1.177 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.507, allocations: 284.6 kB / 1.178 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.526, allocations: 5.194 MB / 1.183 GB, free: 4.559 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/1.526, allocations: 20 kB / 1.183 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.378e-05/1.526, allocations: 20 kB / 1.183 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-05/1.526, allocations: 11.95 kB / 1.183 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/1.559, allocations: 9.663 MB / 1.192 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/1.559, allocations: 4 kB / 1.192 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.561, allocations: 220.5 kB / 1.192 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/1.572, allocations: 1.836 MB / 1.194 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004599/1.572, allocations: 36 kB / 1.194 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06026/1.633, allocations: 35.28 MB / 1.229 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/1.633, allocations: 11.94 kB / 1.229 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.649, allocations: 5.435 MB / 1.234 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.652, allocations: 0.6225 MB / 1.235 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007793/1.653, allocations: 40 kB / 1.235 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.656, allocations: 127.8 kB / 1.235 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009465/1.657, allocations: 195.4 kB / 1.235 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/1.657, allocations: 52 kB / 1.235 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003265/1.66, allocations: 1.359 MB / 1.236 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/1.66, allocations: 0 / 1.236 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005699/1.666, allocations: 1.035 MB / 1.237 GB, free: 9.684 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000663/1.667, allocations: 174.9 kB / 1.237 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01988/1.686, allocations: 6.253 MB / 1.244 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.343e-05/1.687, allocations: 8.062 kB / 1.244 GB, free: 3.031 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0179/1.704, allocations: 4.396 MB / 1.248 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01094/1.715, allocations: 0.8743 MB / 1.249 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03687/1.752, allocations: 9.591 MB / 1.258 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009727/1.762, allocations: 3.201 MB / 1.261 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00504/1.767, allocations: 0.5199 MB / 1.262 GB, free: 140 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.769, allocations: 147.5 kB / 1.262 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of SimCode: time 1.302e-06/1.769, allocations: 4 kB / 1.262 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of Templates: time 0.1655/1.934, allocations: 55.48 MB / 1.316 GB, free: 9.195 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)