Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 107.4 kB / 16.37 MB, free: 6.477 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.00115/0.00115, allocations: 193.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002211/0.002211, allocations: 281.3 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.00183, allocations: 98.8 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1498, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2794/0.4292, allocations: 32.6 MB / 0.7135 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.4467, allocations: 10.25 MB / 0.7235 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.45, allocations: 149.3 kB / 0.7236 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009346/0.4595, allocations: 3.721 MB / 0.7272 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.465, allocations: 1.852 MB / 0.729 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00569/0.4707, allocations: 2.137 MB / 0.7311 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009263/0.48, allocations: 7.324 MB / 0.7383 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01213/0.4922, allocations: 9.418 MB / 0.7475 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.4976, allocations: 3.182 MB / 0.7506 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00543/0.503, allocations: 3.481 MB / 0.754 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.5046, allocations: 0.6445 MB / 0.7546 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.5089, allocations: 1.763 MB / 0.7563 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.5118, allocations: 2.554 MB / 0.7588 GB, free: 456 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.5162, allocations: 2.891 MB / 0.7617 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.5264, allocations: 10.11 MB / 0.7715 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5265, allocations: 0 / 0.7715 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5265, allocations: 0 / 0.7715 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002352/0.5267, allocations: 4 kB / 0.7715 GB, free: 3.406 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.00988/0.5366, allocations: 5.002 MB / 0.7764 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.5367, allocations: 8.031 kB / 0.7764 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/0.5417, allocations: 0.9629 MB / 0.7774 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006389/0.5481, allocations: 3.042 MB / 0.7803 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.5484, allocations: 345.7 kB / 0.7807 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008786/0.5493, allocations: 472.2 kB / 0.7811 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.5622, allocations: 7.663 MB / 0.7886 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.5623, allocations: 23.78 kB / 0.7886 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.5628, allocations: 200 kB / 0.7888 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003178/0.5631, allocations: 312.9 kB / 0.7891 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.5732, allocations: 5.71 MB / 0.7947 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.6053, allocations: 34.83 MB / 0.8287 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.6079, allocations: 2.15 MB / 0.8308 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.6094, allocations: 1.269 MB / 0.832 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-05/0.6095, allocations: 13.31 kB / 0.8321 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.6095, allocations: 47.86 kB / 0.8321 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 2.866e-06/0.6095, allocations: 0 / 0.8321 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.01264/0.6222, allocations: 7.088 MB / 0.839 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6222, allocations: 68.72 kB / 0.8391 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.6241, allocations: 1.484 MB / 0.8405 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.081e-05/0.6242, allocations: 53.7 kB / 0.8406 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.6254, allocations: 1.996 MB / 0.8425 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/0.6258, allocations: 485 kB / 0.843 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/0.6263, allocations: 359.1 kB / 0.8433 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.6264, allocations: 301.1 kB / 0.8436 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6276, allocations: 0.9096 MB / 0.8445 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.6293, allocations: 1.601 MB / 0.8461 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.6324, allocations: 2.737 MB / 0.8488 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.6324, allocations: 8 kB / 0.8488 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005739/0.6382, allocations: 3.526 MB / 0.8522 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.6382, allocations: 19.27 kB / 0.8522 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.6382, allocations: 24 kB / 0.8522 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/0.6407, allocations: 0.9076 MB / 0.8531 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6418, allocations: 347.4 kB / 0.8535 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.6614, allocations: 23.1 MB / 0.876 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.6629, allocations: 104 kB / 0.8761 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.663, allocations: 84 kB / 0.8762 GB, free: 1.617 MB / 0.6387 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002278/0.6653, allocations: 1.616 MB / 0.8778 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.6656, allocations: 209.5 kB / 0.878 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00493/0.6705, allocations: 2.986 MB / 0.8809 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.6706, allocations: 23.92 kB / 0.8809 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6706, allocations: 8 kB / 0.8809 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6706, allocations: 3.984 kB / 0.8809 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.6813, allocations: 7.328 MB / 0.8881 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.6813, allocations: 4 kB / 0.8881 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.6821, allocations: 183.7 kB / 0.8883 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.6844, allocations: 0.8262 MB / 0.8891 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.592e-05/0.6845, allocations: 24 kB / 0.8891 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.7026, allocations: 21.94 MB / 0.9105 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.7026, allocations: 7.938 kB / 0.9105 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/0.7074, allocations: 3.025 MB / 0.9135 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009241/0.7084, allocations: 466.4 kB / 0.9139 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.7086, allocations: 31.92 kB / 0.914 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.7093, allocations: 67.92 kB / 0.914 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/0.7097, allocations: 124.7 kB / 0.9141 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.7097, allocations: 36 kB / 0.9142 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001175/0.7109, allocations: 0.9795 MB / 0.9151 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7109, allocations: 0 / 0.9151 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002362/0.7133, allocations: 0.7852 MB / 0.9159 GB, free: 6.793 MB / 0.6856 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/0.7135, allocations: 147.2 kB / 0.916 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005116/0.7186, allocations: 4.035 MB / 0.92 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7186, allocations: 0 / 0.92 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/0.7219, allocations: 2.741 MB / 0.9227 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.7245, allocations: 0.7295 MB / 0.9234 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.7348, allocations: 7.111 MB / 0.9303 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/0.7377, allocations: 3.105 MB / 0.9333 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001207/0.7389, allocations: 454 kB / 0.9338 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.7392, allocations: 119.4 kB / 0.9339 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.7392, allocations: 0 / 0.9339 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of Templates: time 0.3039/1.043, allocations: 35.73 MB / 0.9688 GB, free: 218.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)