Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001709/0.001709, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00203/0.00203, allocations: 193.6 kB / 16.25 MB, free: 6.625 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7448 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.84 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3132, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03423/0.3475, allocations: 32.32 MB / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.3637, allocations: 10.17 MB / 1.109 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.367, allocations: 135.3 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009172/0.3762, allocations: 3.502 MB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.3823, allocations: 1.696 MB / 1.114 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005989/0.3883, allocations: 1.939 MB / 1.116 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009308/0.3976, allocations: 7.349 MB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01591/0.4136, allocations: 11.6 MB / 1.135 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005138/0.4188, allocations: 3.224 MB / 1.138 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005816/0.4246, allocations: 3.653 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.426, allocations: 0.6523 MB / 1.142 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.4295, allocations: 1.771 MB / 1.144 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002563/0.4321, allocations: 2.546 MB / 1.146 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.4359, allocations: 2.894 MB / 1.149 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.447, allocations: 10.14 MB / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.447, allocations: 0 / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4471, allocations: 0 / 1.159 GB, free: 12.79 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003182/0.4474, allocations: 3.938 kB / 1.159 GB, free: 12.79 MB / 0.92 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.01111/0.4585, allocations: 4.994 MB / 1.164 GB, free: 7.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.4586, allocations: 8.031 kB / 1.164 GB, free: 7.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.4639, allocations: 0.9512 MB / 1.165 GB, free: 6.754 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/0.4694, allocations: 2.866 MB / 1.168 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.4697, allocations: 345.7 kB / 1.168 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00096/0.4707, allocations: 468.2 kB / 1.168 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.4859, allocations: 7.659 MB / 1.176 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.4861, allocations: 35.7 kB / 1.176 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007325/0.4869, allocations: 200 kB / 1.176 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003807/0.4873, allocations: 305 kB / 1.176 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.4998, allocations: 5.71 MB / 1.182 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0419/0.5417, allocations: 35.1 MB / 1.216 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.5446, allocations: 2.16 MB / 1.218 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.5463, allocations: 1.272 MB / 1.22 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/0.5465, allocations: 13.31 kB / 1.22 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5465, allocations: 43.88 kB / 1.22 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 3.627e-06/0.5465, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01386/0.5604, allocations: 7.088 MB / 1.227 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.5604, allocations: 68.66 kB / 1.227 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.5628, allocations: 1.484 MB / 1.228 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-05/0.5629, allocations: 49.64 kB / 1.228 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.5642, allocations: 2.012 MB / 1.23 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.5647, allocations: 489.1 kB / 1.231 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005403/0.5652, allocations: 343.2 kB / 1.231 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.5653, allocations: 301.1 kB / 1.231 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.5667, allocations: 0.9174 MB / 1.232 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.5686, allocations: 1.589 MB / 1.234 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.5719, allocations: 2.729 MB / 1.236 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.572, allocations: 12 kB / 1.236 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006366/0.5783, allocations: 3.53 MB / 1.24 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.5784, allocations: 16 kB / 1.24 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/0.5784, allocations: 20 kB / 1.24 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.5811, allocations: 0.9082 MB / 1.241 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5823, allocations: 351.3 kB / 1.241 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6799/1.262, allocations: 23.11 MB / 1.264 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.264, allocations: 106.7 kB / 1.264 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.264, allocations: 83.22 kB / 1.264 GB, free: 150.1 MB / 0.9981 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.002395/1.266, allocations: 1.615 MB / 1.265 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/1.267, allocations: 203.8 kB / 1.266 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/1.272, allocations: 2.988 MB / 1.269 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.272, allocations: 16.56 kB / 1.269 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.272, allocations: 10.75 kB / 1.269 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.272, allocations: 6.516 kB / 1.269 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/1.285, allocations: 7.348 MB / 1.276 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.285, allocations: 3.969 kB / 1.276 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/1.286, allocations: 174.5 kB / 1.276 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/1.289, allocations: 0.8265 MB / 1.277 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.289, allocations: 30.59 kB / 1.277 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/1.306, allocations: 21.95 MB / 1.298 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.306, allocations: 9.312 kB / 1.298 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/1.312, allocations: 3.022 MB / 1.301 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.313, allocations: 458 kB / 1.302 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002458/1.313, allocations: 30.06 kB / 1.302 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/1.314, allocations: 74.83 kB / 1.302 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004504/1.315, allocations: 127.2 kB / 1.302 GB, free: 124 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/1.315, allocations: 40.47 kB / 1.302 GB, free: 124 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001329/1.316, allocations: 0.9783 MB / 1.303 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.316, allocations: 0 / 1.303 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003204/1.319, allocations: 0.7841 MB / 1.304 GB, free: 123.5 MB / 0.9981 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.0002588/1.32, allocations: 149.4 kB / 1.304 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006979/1.327, allocations: 4.646 MB / 1.308 GB, free: 121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.327, allocations: 5.312 kB / 1.308 GB, free: 121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.33, allocations: 2.728 MB / 1.311 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.334, allocations: 0.7361 MB / 1.312 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.347, allocations: 9.168 MB / 1.321 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/1.35, allocations: 3.108 MB / 1.324 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001689/1.352, allocations: 456.9 kB / 1.324 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/1.352, allocations: 117.6 kB / 1.324 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/1.352, allocations: 0 / 1.324 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05298/1.405, allocations: 36.01 MB / 1.359 GB, free: 82.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)