Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.006219/0.006219, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001224/0.001224, allocations: 187.1 kB / 16.67 MB, free: 5.973 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.659/1.659, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.656/1.656, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.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.001405/0.001405, allocations: 75.89 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 104.7 MB / 0.8281 GB, free: 336 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04362/0.2996, allocations: 37.81 MB / 0.865 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.3224, allocations: 11.08 MB / 0.8758 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004663/0.3271, allocations: 155.2 kB / 0.876 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01224/0.3394, allocations: 4.348 MB / 0.8802 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008945/0.3484, allocations: 2.336 MB / 0.8825 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007837/0.3562, allocations: 2.174 MB / 0.8846 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01377/0.37, allocations: 9.292 MB / 0.8937 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01894/0.389, allocations: 11.26 MB / 0.9047 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6727/1.062, allocations: 4.044 MB / 0.9086 GB, free: 23.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/1.074, allocations: 4.51 MB / 0.913 GB, free: 23.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.005484/1.079, allocations: 0.8224 MB / 0.9138 GB, free: 23.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009631/1.089, allocations: 1.589 MB / 0.9154 GB, free: 23.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.01133/1.1, allocations: 3.142 MB / 0.9185 GB, free: 23.01 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01843/1.119, allocations: 3.659 MB / 0.922 GB, free: 22.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.03391/1.153, allocations: 12.31 MB / 0.9341 GB, free: 21.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/1.153, allocations: 0 / 0.9341 GB, free: 21.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.477e-06/1.153, allocations: 0 / 0.9341 GB, free: 21.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0007243/1.154, allocations: 3.688 kB / 0.9341 GB, free: 21.09 MB / 0.7169 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.04223/1.196, allocations: 6.317 MB / 0.9402 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.078e-05/1.196, allocations: 8.938 kB / 0.9402 GB, free: 18.9 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/1.208, allocations: 1.07 MB / 0.9413 GB, free: 18.58 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/1.223, allocations: 3.614 MB / 0.9448 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008832/1.224, allocations: 426.9 kB / 0.9452 GB, free: 17.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005032/1.229, allocations: 0.544 MB / 0.9458 GB, free: 17.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03659/1.266, allocations: 9.373 MB / 0.9549 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005475/1.266, allocations: 25.89 kB / 0.9549 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005193/1.272, allocations: 247.8 kB / 0.9552 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001079/1.273, allocations: 420.2 kB / 0.9556 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/1.299, allocations: 7.122 MB / 0.9625 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07732/1.376, allocations: 41 MB / 1.003 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006399/1.382, allocations: 3.113 MB / 1.006 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/1.387, allocations: 2.145 MB / 1.008 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/1.387, allocations: 26 kB / 1.008 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.387, allocations: 60.56 kB / 1.008 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=209): time 8.737e-06/1.387, allocations: 0 / 1.008 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of matching and sorting (n=212): time 0.03211/1.419, allocations: 10.56 MB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/1.419, allocations: 78.47 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005381/1.425, allocations: 2.002 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007002/1.426, allocations: 61.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.428, allocations: 2.402 MB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.429, allocations: 0.7404 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/1.431, allocations: 477.2 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.431, allocations: 301.1 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/1.434, allocations: 1.376 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/1.437, allocations: 2.104 MB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006487/1.444, allocations: 3.764 MB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/1.444, allocations: 12 kB / 1.031 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01123/1.455, allocations: 5.067 MB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/1.455, allocations: 15.38 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-05/1.455, allocations: 24 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004107/1.459, allocations: 1.581 MB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/1.462, allocations: 458.9 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02852/1.49, allocations: 18.58 MB / 1.056 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.494, allocations: 151.9 kB / 1.056 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009164/1.495, allocations: 112 kB / 1.056 GB, free: 9.59 MB / 0.8106 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.00627/1.501, allocations: 1.934 MB / 1.058 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000997/1.502, allocations: 292.6 kB / 1.059 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008082/1.511, allocations: 4.45 MB / 1.063 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.511, allocations: 24 kB / 1.063 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.767e-05/1.511, allocations: 16 kB / 1.063 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/1.511, allocations: 7.969 kB / 1.063 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02226/1.533, allocations: 9.667 MB / 1.072 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.533, allocations: 8 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.534, allocations: 230 kB / 1.073 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/1.538, allocations: 1.433 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/1.538, allocations: 40 kB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/1.563, allocations: 18.56 MB / 1.092 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/1.563, allocations: 7.469 kB / 1.092 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009253/1.572, allocations: 4.545 MB / 1.097 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.575, allocations: 0.6304 MB / 1.097 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000786/1.576, allocations: 39.91 kB / 1.097 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/1.577, allocations: 115.9 kB / 1.097 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/1.578, allocations: 184.2 kB / 1.098 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.578, allocations: 60 kB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00228/1.58, allocations: 1.315 MB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/1.58, allocations: 6.625 kB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005115/1.585, allocations: 1.137 MB / 1.1 GB, free: 12.38 MB / 0.8575 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.0005013/1.586, allocations: 169.9 kB / 1.1 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008418/1.594, allocations: 4.705 MB / 1.105 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/1.594, allocations: 5 kB / 1.105 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.005627/1.6, allocations: 2.915 MB / 1.108 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/1.606, allocations: 0.8964 MB / 1.109 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.628, allocations: 9.273 MB / 1.118 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006041/1.634, allocations: 3.694 MB / 1.121 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002735/1.637, allocations: 0.5517 MB / 1.122 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/1.637, allocations: 154.1 kB / 1.122 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of SimCode: time 1.162e-06/1.637, allocations: 0 / 1.122 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of Templates: time 0.1066/1.744, allocations: 51.65 MB / 1.172 GB, free: 3.223 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)