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.001626/0.001626, 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.002179/0.002179, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.707/1.707, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.78/1.78, 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.001493/0.001493, allocations: 71.48 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3088, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04863/0.3575, allocations: 37.79 MB / 0.8203 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.3803, allocations: 11.09 MB / 0.8311 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005817/0.3862, allocations: 155.2 kB / 0.8313 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0125/0.3988, allocations: 4.346 MB / 0.8355 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009509/0.4083, allocations: 2.23 MB / 0.8377 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007838/0.4162, allocations: 2.165 MB / 0.8398 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01417/0.4304, allocations: 9.273 MB / 0.8489 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02018/0.4506, allocations: 11.35 MB / 0.8599 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008482/0.4591, allocations: 3.973 MB / 0.8638 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/0.4701, allocations: 4.514 MB / 0.8682 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004673/0.4748, allocations: 0.8203 MB / 0.869 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007308/0.4821, allocations: 1.588 MB / 0.8706 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.007488/0.4897, allocations: 3.15 MB / 0.8737 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01211/0.5018, allocations: 3.653 MB / 0.8772 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/0.5213, allocations: 12.23 MB / 0.8892 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.5213, allocations: 4 kB / 0.8892 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5213, allocations: 0 / 0.8892 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0005212/0.5219, allocations: 0 / 0.8892 GB, free: 0.7148 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.0227/0.5446, allocations: 6.322 MB / 0.8953 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5447, allocations: 8.031 kB / 0.8954 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007393/0.5521, allocations: 1.059 MB / 0.8964 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00926/0.5614, allocations: 3.427 MB / 0.8997 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004937/0.5619, allocations: 427.7 kB / 0.9001 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002372/0.5643, allocations: 0.551 MB / 0.9007 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02561/0.5899, allocations: 9.381 MB / 0.9098 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/0.5902, allocations: 15.88 kB / 0.9099 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002149/0.5924, allocations: 248 kB / 0.9101 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007509/0.5931, allocations: 422.9 kB / 0.9105 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/0.6106, allocations: 7.12 MB / 0.9174 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.573/1.184, allocations: 41.32 MB / 0.9578 GB, free: 91.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007356/1.191, allocations: 3.106 MB / 0.9608 GB, free: 89.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005131/1.196, allocations: 2.139 MB / 0.9629 GB, free: 89.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/1.197, allocations: 21.72 kB / 0.9629 GB, free: 89.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.885e-05/1.197, allocations: 63 kB / 0.963 GB, free: 88.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 9.047e-06/1.197, allocations: 0 / 0.963 GB, free: 88.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02719/1.224, allocations: 10.56 MB / 0.9733 GB, free: 83.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.224, allocations: 77.31 kB / 0.9734 GB, free: 83.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/1.228, allocations: 2.007 MB / 0.9753 GB, free: 82.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/1.229, allocations: 63.33 kB / 0.9754 GB, free: 82.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001638/1.23, allocations: 2.406 MB / 0.9778 GB, free: 80.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/1.231, allocations: 0.728 MB / 0.9785 GB, free: 79.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008769/1.232, allocations: 483.1 kB / 0.9789 GB, free: 79.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/1.232, allocations: 305.1 kB / 0.9792 GB, free: 79.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.234, allocations: 1.378 MB / 0.9806 GB, free: 78.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.236, allocations: 2.105 MB / 0.9826 GB, free: 76.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/1.24, allocations: 3.767 MB / 0.9863 GB, free: 74.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.24, allocations: 3.969 kB / 0.9863 GB, free: 74.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00681/1.246, allocations: 5.071 MB / 0.9913 GB, free: 71.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.246, allocations: 15.34 kB / 0.9913 GB, free: 71.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.246, allocations: 21.5 kB / 0.9913 GB, free: 71.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.25, allocations: 1.598 MB / 0.9928 GB, free: 70.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.251, allocations: 458.2 kB / 0.9933 GB, free: 70.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.268, allocations: 18.59 MB / 1.011 GB, free: 54.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/1.271, allocations: 139.9 kB / 1.012 GB, free: 53.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/1.272, allocations: 108 kB / 1.012 GB, free: 53.81 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 (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.00318/1.275, allocations: 1.953 MB / 1.014 GB, free: 51.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/1.275, allocations: 288.6 kB / 1.014 GB, free: 51.56 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005677/1.281, allocations: 4.447 MB / 1.018 GB, free: 47.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/1.281, allocations: 20.09 kB / 1.018 GB, free: 47.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/1.281, allocations: 16 kB / 1.018 GB, free: 47.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/1.281, allocations: 11.95 kB / 1.018 GB, free: 47.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/1.294, allocations: 9.669 MB / 1.028 GB, free: 37.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.294, allocations: 4 kB / 1.028 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008915/1.295, allocations: 231.6 kB / 1.028 GB, free: 37.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/1.297, allocations: 1.443 MB / 1.029 GB, free: 35.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/1.298, allocations: 40 kB / 1.029 GB, free: 35.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/1.315, allocations: 18.58 MB / 1.048 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.315, allocations: 7.938 kB / 1.048 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006182/1.321, allocations: 4.54 MB / 1.052 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.322, allocations: 0.6383 MB / 1.053 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/1.323, allocations: 44 kB / 1.053 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.324, allocations: 119.2 kB / 1.053 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004948/1.324, allocations: 185.6 kB / 1.053 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.325, allocations: 52 kB / 1.053 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001526/1.326, allocations: 1.319 MB / 1.054 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.326, allocations: 0 / 1.054 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003474/1.33, allocations: 1.141 MB / 1.055 GB, free: 8.254 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 (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.000324/1.33, allocations: 167 kB / 1.056 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008502/1.338, allocations: 5.907 MB / 1.061 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.339, allocations: 2.234 kB / 1.061 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004063/1.343, allocations: 2.92 MB / 1.064 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004617/1.347, allocations: 0.8923 MB / 1.065 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.368, allocations: 9.403 MB / 1.074 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005565/1.374, allocations: 3.69 MB / 1.078 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002828/1.377, allocations: 0.5596 MB / 1.078 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/1.377, allocations: 151.4 kB / 1.078 GB, free: 404 kB / 0.7481 GB Notification: Performance of SimCode: time 1.292e-06/1.377, allocations: 0 / 1.078 GB, free: 404 kB / 0.7481 GB Notification: Performance of Templates: time 0.0968/1.474, allocations: 52.87 MB / 1.13 GB, free: 12.27 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (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)