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.01052/0.01052, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002076/0.002076, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.811/1.811, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.535/1.535, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001419/0.001419, allocations: 67.91 kB / 0.7258 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7547, allocations: 104.7 MB / 0.8281 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04409/0.7988, allocations: 37.8 MB / 0.865 GB, free: 12.69 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.8224, allocations: 11.09 MB / 0.8758 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005801/0.8282, allocations: 155.2 kB / 0.8759 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01286/0.8412, allocations: 4.362 MB / 0.8802 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009157/0.8504, allocations: 2.332 MB / 0.8825 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008865/0.8593, allocations: 2.165 MB / 0.8846 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01635/0.8757, allocations: 9.299 MB / 0.8937 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0205/0.8962, allocations: 11.27 MB / 0.9047 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009263/0.9055, allocations: 4.043 MB / 0.9086 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009071/0.9147, allocations: 4.521 MB / 0.9131 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.003221/0.9179, allocations: 0.8242 MB / 0.9139 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00618/0.9241, allocations: 1.58 MB / 0.9154 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.007586/0.9318, allocations: 3.146 MB / 0.9185 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01136/0.9432, allocations: 3.657 MB / 0.922 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.9672, allocations: 12.32 MB / 0.9341 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.9673, allocations: 0 / 0.9341 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/0.9673, allocations: 0 / 0.9341 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005633/0.9679, allocations: 0 / 0.9341 GB, free: 5.652 MB / 0.7325 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.02185/0.9897, allocations: 6.319 MB / 0.9402 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.9898, allocations: 8.031 kB / 0.9402 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007273/0.9971, allocations: 1.067 MB / 0.9413 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009416/1.007, allocations: 3.61 MB / 0.9448 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004568/1.007, allocations: 427.7 kB / 0.9452 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/1.009, allocations: 0.5394 MB / 0.9458 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/1.035, allocations: 9.381 MB / 0.9549 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002529/1.035, allocations: 23.72 kB / 0.9549 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/1.037, allocations: 248 kB / 0.9552 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006572/1.038, allocations: 422.9 kB / 0.9556 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/1.055, allocations: 7.123 MB / 0.9625 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/1.107, allocations: 40.99 MB / 1.003 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005027/1.112, allocations: 3.12 MB / 1.006 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/1.116, allocations: 2.149 MB / 1.008 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/1.116, allocations: 29.97 kB / 1.008 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.596e-05/1.116, allocations: 60.56 kB / 1.008 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=209): time 5.06e-06/1.116, allocations: 0 / 1.008 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212): time 0.02446/1.14, allocations: 10.56 MB / 1.018 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/1.141, allocations: 85.28 kB / 1.018 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/1.143, allocations: 1.998 MB / 1.02 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/1.144, allocations: 69.69 kB / 1.02 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.146, allocations: 2.4 MB / 1.023 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008025/1.146, allocations: 0.7317 MB / 1.023 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008006/1.147, allocations: 481.2 kB / 1.024 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.147, allocations: 301.1 kB / 1.024 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.149, allocations: 1.379 MB / 1.025 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/1.152, allocations: 2.104 MB / 1.027 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004604/1.156, allocations: 3.77 MB / 1.031 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.156, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008387/1.165, allocations: 5.064 MB / 1.036 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/1.165, allocations: 16 kB / 1.036 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-05/1.165, allocations: 23.98 kB / 1.036 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/1.169, allocations: 1.589 MB / 1.038 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/1.171, allocations: 455.2 kB / 1.038 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.199, allocations: 18.57 MB / 1.056 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/1.202, allocations: 147.9 kB / 1.056 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007057/1.203, allocations: 104 kB / 1.056 GB, free: 2.684 MB / 0.8575 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.005303/1.209, allocations: 1.941 MB / 1.058 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.21, allocations: 292.6 kB / 1.059 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/1.221, allocations: 4.451 MB / 1.063 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.221, allocations: 20 kB / 1.063 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.188e-05/1.221, allocations: 16 kB / 1.063 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/1.221, allocations: 15.89 kB / 1.063 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/1.246, allocations: 9.672 MB / 1.072 GB, free: 2.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-05/1.246, allocations: 7.938 kB / 1.072 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.248, allocations: 223.7 kB / 1.073 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/1.253, allocations: 1.431 MB / 1.074 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004891/1.253, allocations: 40 kB / 1.074 GB, free: 392 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0332/1.287, allocations: 18.55 MB / 1.092 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.287, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008257/1.295, allocations: 4.548 MB / 1.097 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.297, allocations: 0.6304 MB / 1.097 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006426/1.297, allocations: 40 kB / 1.097 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.299, allocations: 116 kB / 1.097 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/1.299, allocations: 185.6 kB / 1.098 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.299, allocations: 59.98 kB / 1.098 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002277/1.302, allocations: 1.323 MB / 1.099 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.302, allocations: 0 / 1.099 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003979/1.306, allocations: 1.141 MB / 1.1 GB, free: 5.109 MB / 0.9044 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.0004231/1.306, allocations: 168.1 kB / 1.1 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007951/1.314, allocations: 4.716 MB / 1.105 GB, free: 180 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.314, allocations: 0 / 1.105 GB, free: 180 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.6198/1.934, allocations: 2.906 MB / 1.108 GB, free: 257.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006969/1.941, allocations: 0.8959 MB / 1.109 GB, free: 257.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02371/1.965, allocations: 9.27 MB / 1.118 GB, free: 254.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006909/1.972, allocations: 3.688 MB / 1.121 GB, free: 253.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003194/1.975, allocations: 0.5549 MB / 1.122 GB, free: 253.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/1.976, allocations: 153.9 kB / 1.122 GB, free: 253.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.435e-06/1.976, allocations: 0 / 1.122 GB, free: 253.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.08101/2.057, allocations: 51.66 MB / 1.172 GB, free: 207.8 MB / 0.9044 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)