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_R_N.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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.663/2.663, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.001537/0.001537, allocations: 174.2 kB / 370.8 MB, free: 10.88 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.155/2.155, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001166/0.001166, allocations: 90.02 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007376/0.000738, allocations: 16.98 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2366, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0487/0.2853, allocations: 33.02 MB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3118, allocations: 10.73 MB / 1.021 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.3157, allocations: 127.2 kB / 1.021 GB, free: 420 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003731/0.3195, allocations: 0.7531 MB / 1.022 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008148/0.3277, allocations: 1.71 MB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006664/0.3344, allocations: 1.293 MB / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.3453, allocations: 4.443 MB / 1.029 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03157/0.3769, allocations: 12.64 MB / 1.041 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006783/0.3837, allocations: 2.495 MB / 1.044 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007069/0.3908, allocations: 2.651 MB / 1.046 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002201/0.3931, allocations: 348 kB / 1.047 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.3972, allocations: 0.5855 MB / 1.047 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005232/0.4025, allocations: 2.307 MB / 1.05 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003558/0.4061, allocations: 1.198 MB / 1.051 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.4238, allocations: 10.04 MB / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4239, allocations: 0 / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.687e-06/0.4239, allocations: 0 / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004505/0.4244, allocations: 0 / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01863/0.443, allocations: 5.104 MB / 1.066 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.4431, allocations: 12.03 kB / 1.066 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00775/0.4508, allocations: 1.012 MB / 1.067 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6528/1.104, allocations: 3.35 MB / 1.07 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006828/1.104, allocations: 424.4 kB / 1.07 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/1.107, allocations: 0.5401 MB / 1.071 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/1.14, allocations: 9.279 MB / 1.08 GB, free: 74.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/1.14, allocations: 17.94 kB / 1.08 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/1.142, allocations: 246.7 kB / 1.08 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001192/1.143, allocations: 425.9 kB / 1.08 GB, free: 74.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/1.167, allocations: 7.074 MB / 1.087 GB, free: 71.88 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0842/1.251, allocations: 41.37 MB / 1.128 GB, free: 36.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/1.263, allocations: 3.101 MB / 1.131 GB, free: 34.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/1.264, allocations: 22.5 kB / 1.131 GB, free: 34.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.762e-05/1.264, allocations: 59.03 kB / 1.131 GB, free: 34.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=209): time 8.987e-06/1.264, allocations: 0 / 1.131 GB, free: 34.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=212): time 0.05949/1.324, allocations: 10.44 MB / 1.141 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.324, allocations: 80.28 kB / 1.141 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/1.33, allocations: 1.985 MB / 1.143 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006225/1.33, allocations: 65.64 kB / 1.143 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.333, allocations: 2.405 MB / 1.145 GB, free: 25.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.334, allocations: 0.7263 MB / 1.146 GB, free: 24.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/1.335, allocations: 51.06 kB / 1.146 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002584/1.335, allocations: 413.2 kB / 1.147 GB, free: 24.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00447/1.339, allocations: 1.363 MB / 1.148 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005344/1.345, allocations: 2.086 MB / 1.15 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005198/1.35, allocations: 1.728 MB / 1.152 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/1.35, allocations: 4 kB / 1.152 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01774/1.368, allocations: 5.042 MB / 1.157 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/1.368, allocations: 12 kB / 1.157 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/1.368, allocations: 24.84 kB / 1.157 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007379/1.375, allocations: 1.564 MB / 1.158 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/1.379, allocations: 455.2 kB / 1.159 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04515/1.425, allocations: 17.72 MB / 1.176 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/1.429, allocations: 147.9 kB / 1.176 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/1.429, allocations: 111.9 kB / 1.176 GB, free: 10.2 MB / 0.698 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 (231): * Single equations (assignments): 227 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005541/1.435, allocations: 1.941 MB / 1.178 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.436, allocations: 292.6 kB / 1.178 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.449, allocations: 4.431 MB / 1.183 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/1.449, allocations: 20 kB / 1.183 GB, free: 3.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.43e-05/1.449, allocations: 19.94 kB / 1.183 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/1.449, allocations: 7.969 kB / 1.183 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/1.477, allocations: 9.643 MB / 1.192 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.477, allocations: 4 kB / 1.192 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.48, allocations: 231.9 kB / 1.192 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006335/1.486, allocations: 1.43 MB / 1.194 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004169/1.486, allocations: 40 kB / 1.194 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03792/1.524, allocations: 17.74 MB / 1.211 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.524, allocations: 8 kB / 1.211 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.537, allocations: 4.871 MB / 1.216 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.54, allocations: 0.6382 MB / 1.217 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008349/1.541, allocations: 36 kB / 1.217 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.543, allocations: 115.9 kB / 1.217 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007998/1.544, allocations: 185 kB / 1.217 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/1.544, allocations: 56 kB / 1.217 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002945/1.547, allocations: 1.299 MB / 1.218 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.41e-07/1.547, allocations: 8 kB / 1.218 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005599/1.553, allocations: 1.137 MB / 1.219 GB, free: 13.16 MB / 0.7448 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000704/1.554, allocations: 159.9 kB / 1.219 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.567, allocations: 4.682 MB / 1.224 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.567, allocations: 0 / 1.224 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.008782/1.576, allocations: 2.919 MB / 1.227 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006535/1.583, allocations: 0.7942 MB / 1.228 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02863/1.611, allocations: 11.2 MB / 1.239 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008394/1.62, allocations: 3.788 MB / 1.242 GB, free: 5.402 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003575/1.623, allocations: 0.5596 MB / 1.243 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009782/1.624, allocations: 155.4 kB / 1.243 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/1.624, allocations: 0 / 1.243 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of Templates: time 0.1611/1.786, allocations: 48.77 MB / 1.291 GB, free: 4.539 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)