Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009113/0.009113, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.7 MB / 0.5502 GB, free: 14.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005672/0.0005674, allocations: 20.44 kB / 0.6743 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2706, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04198/0.3127, allocations: 36.58 MB / 0.8236 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.3335, allocations: 10.97 MB / 0.8343 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/0.339, allocations: 135.2 kB / 0.8345 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.3433, allocations: 0.783 MB / 0.8352 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008196/0.3516, allocations: 2.084 MB / 0.8373 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006866/0.3585, allocations: 1.793 MB / 0.839 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0182/0.3767, allocations: 13.18 MB / 0.8519 GB, free: 9.867 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02864/0.4054, allocations: 14.43 MB / 0.866 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008623/0.4141, allocations: 2.836 MB / 0.8687 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008825/0.4229, allocations: 3.866 MB / 0.8725 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.4254, allocations: 344 kB / 0.8728 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.431, allocations: 1.33 MB / 0.8741 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.006738/0.4377, allocations: 2.529 MB / 0.8766 GB, free: 412 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009016/0.4468, allocations: 2.971 MB / 0.8795 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01946/0.4663, allocations: 11.68 MB / 0.8909 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4664, allocations: 0 / 0.8909 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.987e-06/0.4664, allocations: 4 kB / 0.8909 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.00064/0.467, allocations: 0 / 0.8909 GB, free: 1.691 MB / 0.7012 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.01762/0.4847, allocations: 5.086 MB / 0.8959 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4847, allocations: 11.97 kB / 0.8959 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/0.4917, allocations: 1.067 MB / 0.8969 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009289/0.501, allocations: 3.419 MB / 0.9003 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/0.5016, allocations: 423.8 kB / 0.9007 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/0.5047, allocations: 0.5394 MB / 0.9012 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.548/1.053, allocations: 9.384 MB / 0.9104 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/1.053, allocations: 17.25 kB / 0.9104 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007106/1.054, allocations: 248.2 kB / 0.9106 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007794/1.054, allocations: 416.6 kB / 0.911 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/1.07, allocations: 7.127 MB / 0.918 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/1.11, allocations: 41.38 MB / 0.9584 GB, free: 67.22 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/1.115, allocations: 3.112 MB / 0.9614 GB, free: 65.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002732/1.118, allocations: 2.114 MB / 0.9635 GB, free: 64.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.996e-05/1.118, allocations: 27.59 kB / 0.9635 GB, free: 64.51 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/1.118, allocations: 62.75 kB / 0.9636 GB, free: 64.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 4.108e-06/1.118, allocations: 0 / 0.9636 GB, free: 64.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02227/1.14, allocations: 10.62 MB / 0.974 GB, free: 58.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.14, allocations: 81.05 kB / 0.974 GB, free: 58.37 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/1.143, allocations: 1.998 MB / 0.976 GB, free: 57.29 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/1.143, allocations: 67.73 kB / 0.9761 GB, free: 57.22 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/1.144, allocations: 2.401 MB / 0.9784 GB, free: 55.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/1.145, allocations: 0.7388 MB / 0.9791 GB, free: 54.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/1.145, allocations: 209.1 kB / 0.9793 GB, free: 54.35 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.698e-05/1.145, allocations: 301.1 kB / 0.9796 GB, free: 54.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/1.147, allocations: 1.381 MB / 0.981 GB, free: 53.33 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/1.149, allocations: 2.101 MB / 0.983 GB, free: 51.67 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/1.153, allocations: 3.768 MB / 0.9867 GB, free: 49.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/1.153, allocations: 6.969 kB / 0.9867 GB, free: 49.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007121/1.16, allocations: 5.061 MB / 0.9916 GB, free: 44.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/1.16, allocations: 16 kB / 0.9917 GB, free: 44.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/1.16, allocations: 24 kB / 0.9917 GB, free: 44.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/1.163, allocations: 1.585 MB / 0.9932 GB, free: 43.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.164, allocations: 459.2 kB / 0.9937 GB, free: 42.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.182, allocations: 17.12 MB / 1.01 GB, free: 25.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.185, allocations: 147.8 kB / 1.011 GB, free: 25.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004928/1.185, allocations: 112 kB / 1.011 GB, free: 24.93 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003935/1.189, allocations: 1.937 MB / 1.013 GB, free: 22.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008623/1.19, allocations: 284.7 kB / 1.013 GB, free: 22.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/1.197, allocations: 4.462 MB / 1.017 GB, free: 18.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/1.197, allocations: 20 kB / 1.017 GB, free: 18.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.884e-05/1.197, allocations: 20 kB / 1.017 GB, free: 18.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/1.198, allocations: 7.969 kB / 1.017 GB, free: 18.15 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.215, allocations: 9.66 MB / 1.027 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.215, allocations: 7.938 kB / 1.027 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009936/1.216, allocations: 239.6 kB / 1.027 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/1.219, allocations: 1.424 MB / 1.028 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/1.219, allocations: 44 kB / 1.028 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/1.24, allocations: 17.1 MB / 1.045 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/1.24, allocations: 7.938 kB / 1.045 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00845/1.249, allocations: 4.541 MB / 1.049 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.251, allocations: 0.6304 MB / 1.05 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/1.251, allocations: 43.98 kB / 1.05 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.253, allocations: 123.2 kB / 1.05 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/1.254, allocations: 181.6 kB / 1.05 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.254, allocations: 60 kB / 1.05 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002485/1.256, allocations: 1.311 MB / 1.052 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/1.256, allocations: 0 / 1.052 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004415/1.261, allocations: 1.141 MB / 1.053 GB, free: 12.89 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003793/1.261, allocations: 167 kB / 1.053 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008006/1.269, allocations: 4.7 MB / 1.058 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.269, allocations: 7.938 kB / 1.058 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/1.274, allocations: 2.926 MB / 1.06 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/1.28, allocations: 0.8313 MB / 1.061 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/1.301, allocations: 11.76 MB / 1.073 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00567/1.307, allocations: 3.69 MB / 1.076 GB, free: 4.59 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002548/1.309, allocations: 0.5634 MB / 1.077 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/1.31, allocations: 147.4 kB / 1.077 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of SimCode: time 7.32e-07/1.31, allocations: 0 / 1.077 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of Templates: time 0.09116/1.401, allocations: 50.16 MB / 1.126 GB, free: 2.402 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) Environment - environmentSimulation: