Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.498/1.498, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001524/0.001524, allocations: 73.27 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2918, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04101/0.3329, allocations: 34.69 MB / 0.8173 GB, free: 10.69 MB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.02258/0.3555, allocations: 11.63 MB / 0.8286 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/0.3599, allocations: 163.2 kB / 0.8288 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/0.3714, allocations: 4.242 MB / 0.8329 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008537/0.38, allocations: 1.998 MB / 0.8349 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008302/0.3883, allocations: 2.395 MB / 0.8372 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01276/0.4011, allocations: 8.452 MB / 0.8455 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02237/0.4235, allocations: 11.22 MB / 0.8564 GB, free: 2.398 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007331/0.4309, allocations: 3.732 MB / 0.8601 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00826/0.4392, allocations: 4.183 MB / 0.8641 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003688/0.443, allocations: 0.7773 MB / 0.8649 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007594/0.4506, allocations: 2.028 MB / 0.8669 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00903/0.4597, allocations: 3.057 MB / 0.8699 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/0.47, allocations: 3.4 MB / 0.8732 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02107/0.4911, allocations: 11.91 MB / 0.8848 GB, free: 5.23 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.4912, allocations: 8 kB / 0.8848 GB, free: 5.223 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4912, allocations: 0 / 0.8848 GB, free: 5.223 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0005351/0.4917, allocations: 0 / 0.8848 GB, free: 5.223 MB / 0.7013 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02109/0.5128, allocations: 5.787 MB / 0.8905 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5129, allocations: 8.031 kB / 0.8905 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00788/0.5208, allocations: 1.064 MB / 0.8915 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.5313, allocations: 3.251 MB / 0.8947 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.5318, allocations: 423.5 kB / 0.8951 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.5347, allocations: 0.5431 MB / 0.8956 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.5595, allocations: 9.075 MB / 0.9045 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004546/0.56, allocations: 31.62 kB / 0.9045 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002667/0.5627, allocations: 239.9 kB / 0.9047 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005557/0.5633, allocations: 350.8 kB / 0.9051 GB, free: 16 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.5804, allocations: 6.83 MB / 0.9118 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5227/1.103, allocations: 40.1 MB / 0.9509 GB, free: 93.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/1.107, allocations: 3.111 MB / 0.954 GB, free: 92.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/1.109, allocations: 1.967 MB / 0.9559 GB, free: 91.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.965e-05/1.109, allocations: 21.05 kB / 0.9559 GB, free: 91.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/1.109, allocations: 63.75 kB / 0.956 GB, free: 91.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 3.537e-06/1.109, allocations: 0.5625 kB / 0.956 GB, free: 91.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02835/1.138, allocations: 9.979 MB / 0.9657 GB, free: 87.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.138, allocations: 74.16 kB / 0.9658 GB, free: 87.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/1.14, allocations: 1.531 MB / 0.9673 GB, free: 86.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001908/1.141, allocations: 55.36 kB / 0.9673 GB, free: 86.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/1.142, allocations: 2.25 MB / 0.9695 GB, free: 84.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005367/1.142, allocations: 0.6356 MB / 0.9701 GB, free: 84.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000631/1.143, allocations: 412.5 kB / 0.9705 GB, free: 84.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/1.143, allocations: 304.6 kB / 0.9708 GB, free: 83.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/1.145, allocations: 1.175 MB / 0.972 GB, free: 83.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/1.146, allocations: 1.883 MB / 0.9738 GB, free: 81.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/1.15, allocations: 3.373 MB / 0.9771 GB, free: 79.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.15, allocations: 6.531 kB / 0.9771 GB, free: 79.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007021/1.157, allocations: 4.574 MB / 0.9816 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/1.157, allocations: 15.72 kB / 0.9816 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/1.157, allocations: 23.5 kB / 0.9816 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/1.161, allocations: 1.601 MB / 0.9832 GB, free: 76.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.162, allocations: 354.2 kB / 0.9835 GB, free: 76.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.18, allocations: 18.59 MB / 1.002 GB, free: 62.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.182, allocations: 119.4 kB / 1.002 GB, free: 62.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/1.182, allocations: 101.3 kB / 1.002 GB, free: 62.43 MB / 0.7325 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003081/1.185, allocations: 1.897 MB / 1.004 GB, free: 61.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/1.186, allocations: 227.6 kB / 1.004 GB, free: 61.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005684/1.191, allocations: 4.088 MB / 1.008 GB, free: 57.19 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.191, allocations: 19.94 kB / 1.008 GB, free: 57.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.191, allocations: 19.17 kB / 1.008 GB, free: 57.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.191, allocations: 11.97 kB / 1.008 GB, free: 57.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.205, allocations: 9.475 MB / 1.017 GB, free: 47.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.205, allocations: 4 kB / 1.017 GB, free: 47.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.206, allocations: 179.7 kB / 1.017 GB, free: 47.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/1.209, allocations: 1.369 MB / 1.019 GB, free: 45.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/1.209, allocations: 39.92 kB / 1.019 GB, free: 45.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01623/1.225, allocations: 17.36 MB / 1.036 GB, free: 27.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.225, allocations: 4 kB / 1.036 GB, free: 27.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005723/1.231, allocations: 4.069 MB / 1.04 GB, free: 23.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.232, allocations: 0.5257 MB / 1.04 GB, free: 23.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.232, allocations: 36 kB / 1.04 GB, free: 23.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000913/1.233, allocations: 83.89 kB / 1.04 GB, free: 23.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/1.234, allocations: 169.6 kB / 1.041 GB, free: 22.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/1.234, allocations: 48 kB / 1.041 GB, free: 22.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00109/1.235, allocations: 1.005 MB / 1.042 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.235, allocations: 0 / 1.042 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003168/1.238, allocations: 0.9844 MB / 1.043 GB, free: 20.9 MB / 0.7325 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/1.238, allocations: 154.7 kB / 1.043 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007235/1.246, allocations: 5.203 MB / 1.048 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.246, allocations: 4 kB / 1.048 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/1.249, allocations: 2.662 MB / 1.05 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.252, allocations: 0.772 MB / 1.051 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.269, allocations: 8.706 MB / 1.06 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003591/1.272, allocations: 3.567 MB / 1.063 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002187/1.274, allocations: 475.9 kB / 1.064 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/1.275, allocations: 115.4 kB / 1.064 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/1.275, allocations: 3.938 kB / 1.064 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.08081/1.356, allocations: 43.89 MB / 1.107 GB, free: 3.715 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)