Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.837/1.837, allocations: 288.3 MB / 303.2 MB, free: 8.145 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.001119/0.001119, allocations: 185 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.001007/0.001007, allocations: 100.3 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005728/0.0005728, allocations: 12.03 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2516, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01932/0.271, allocations: 23.24 MB / 1.002 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.2852, allocations: 7.787 MB / 1.01 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.2883, allocations: 87.44 kB / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.2905, allocations: 0.5163 MB / 1.01 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005157/0.2956, allocations: 1.18 MB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.2995, allocations: 1.01 MB / 1.012 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00573/0.3052, allocations: 2.991 MB / 1.015 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.3191, allocations: 8.163 MB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.3232, allocations: 1.65 MB / 1.025 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.3271, allocations: 1.678 MB / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.3284, allocations: 208 kB / 1.027 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.331, allocations: 0.4994 MB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002756/0.3338, allocations: 1.532 MB / 1.029 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.3361, allocations: 0.8005 MB / 1.03 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009249/0.3454, allocations: 6.514 MB / 1.036 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3454, allocations: 0 / 1.036 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.077e-06/0.3454, allocations: 0 / 1.036 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003747/0.3458, allocations: 0 / 1.036 GB, free: 1.672 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01109/0.3569, allocations: 3.429 MB / 1.039 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.521e-05/0.357, allocations: 16 kB / 1.039 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.3623, allocations: 0.7681 MB / 1.04 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00715/0.3695, allocations: 2.358 MB / 1.042 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.3698, allocations: 275.3 kB / 1.043 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.3714, allocations: 375.6 kB / 1.043 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.3871, allocations: 5.93 MB / 1.049 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002254/0.3874, allocations: 31.7 kB / 1.049 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.3885, allocations: 156 kB / 1.049 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007251/0.3893, allocations: 278.9 kB / 1.049 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00959/0.3989, allocations: 4.492 MB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5279/0.9268, allocations: 27.68 MB / 1.081 GB, free: 68.97 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.9289, allocations: 1.121 MB / 1.082 GB, free: 68.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.094e-05/0.929, allocations: 12.31 kB / 1.082 GB, free: 68.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/0.9291, allocations: 52.83 kB / 1.082 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 5.28e-06/0.9291, allocations: 1.219 kB / 1.082 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02693/0.956, allocations: 9.65 MB / 1.091 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.9561, allocations: 65.92 kB / 1.091 GB, free: 64.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.9586, allocations: 1.48 MB / 1.093 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.9587, allocations: 52.17 kB / 1.093 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.9598, allocations: 1.668 MB / 1.094 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.9602, allocations: 472.1 kB / 1.095 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.9603, allocations: 34.94 kB / 1.095 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9605, allocations: 378.7 kB / 1.095 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.9619, allocations: 0.911 MB / 1.096 GB, free: 61.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.9635, allocations: 1.452 MB / 1.098 GB, free: 60.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.9652, allocations: 1.14 MB / 1.099 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.9652, allocations: 9.078 kB / 1.099 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006181/0.9714, allocations: 3.276 MB / 1.102 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.9714, allocations: 12.31 kB / 1.102 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.9715, allocations: 17.41 kB / 1.102 GB, free: 58.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.9738, allocations: 0.7402 MB / 1.103 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9756, allocations: 387 kB / 1.103 GB, free: 58.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.988, allocations: 16.04 MB / 1.119 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.9902, allocations: 102 kB / 1.119 GB, free: 44.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.9905, allocations: 74.38 kB / 1.119 GB, free: 44.32 MB / 0.6823 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003044/0.9936, allocations: 1.315 MB / 1.12 GB, free: 43.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/0.9942, allocations: 203.3 kB / 1.12 GB, free: 43.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/0.9995, allocations: 2.773 MB / 1.123 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.9995, allocations: 12.94 kB / 1.123 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.9995, allocations: 6.531 kB / 1.123 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.9995, allocations: 4.359 kB / 1.123 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.011, allocations: 6.214 MB / 1.129 GB, free: 37.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.011, allocations: 9.656 kB / 1.129 GB, free: 37.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.012, allocations: 232.8 kB / 1.129 GB, free: 37.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/1.015, allocations: 0.6675 MB / 1.13 GB, free: 37.47 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.015, allocations: 32 kB / 1.13 GB, free: 37.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.027, allocations: 15.78 MB / 1.145 GB, free: 22.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/1.027, allocations: 13.36 kB / 1.145 GB, free: 22.87 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/1.033, allocations: 4.345 MB / 1.15 GB, free: 20 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.034, allocations: 451.6 kB / 1.15 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/1.035, allocations: 38.98 kB / 1.15 GB, free: 19.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/1.035, allocations: 77.77 kB / 1.15 GB, free: 19.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/1.036, allocations: 116.3 kB / 1.15 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/1.036, allocations: 40.72 kB / 1.15 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001203/1.037, allocations: 0.9747 MB / 1.151 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/1.037, allocations: 0 / 1.151 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002497/1.04, allocations: 0.6863 MB / 1.152 GB, free: 18.94 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000244/1.04, allocations: 154.5 kB / 1.152 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004483/1.044, allocations: 3.495 MB / 1.156 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.044, allocations: 4 kB / 1.156 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002719/1.047, allocations: 2.287 MB / 1.158 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.05, allocations: 0.6046 MB / 1.158 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.066, allocations: 7.822 MB / 1.166 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/1.069, allocations: 2.738 MB / 1.169 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00184/1.071, allocations: 481.4 kB / 1.169 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/1.071, allocations: 127.4 kB / 1.169 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/1.071, allocations: 0 / 1.169 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of Templates: time 0.06118/1.132, allocations: 31.17 MB / 1.2 GB, free: 3.832 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)