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.001044/0.001044, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001051/0.001051, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 293.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 90.86 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1671, allocations: 86.98 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.3317/0.4988, allocations: 32.59 MB / 0.7134 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.5163, allocations: 10.26 MB / 0.7235 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/0.52, allocations: 149.7 kB / 0.7236 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009615/0.5297, allocations: 3.716 MB / 0.7272 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.536, allocations: 1.852 MB / 0.729 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006016/0.5421, allocations: 2.139 MB / 0.7311 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009516/0.5516, allocations: 7.324 MB / 0.7383 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.5631, allocations: 9.426 MB / 0.7475 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00605/0.5692, allocations: 3.179 MB / 0.7506 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005662/0.5749, allocations: 3.481 MB / 0.754 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.5763, allocations: 0.6484 MB / 0.7546 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.5804, allocations: 1.771 MB / 0.7563 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.5833, allocations: 2.542 MB / 0.7588 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005/0.5883, allocations: 2.891 MB / 0.7616 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.6003, allocations: 10.11 MB / 0.7715 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.6003, allocations: 0 / 0.7715 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6003, allocations: 0 / 0.7715 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003221/0.6007, allocations: 0 / 0.7715 GB, free: 3.453 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.009703/0.6104, allocations: 5.006 MB / 0.7764 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6104, allocations: 12.03 kB / 0.7764 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.6153, allocations: 0.9551 MB / 0.7774 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006549/0.6219, allocations: 3.038 MB / 0.7803 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.6222, allocations: 353.6 kB / 0.7807 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009466/0.6231, allocations: 464.2 kB / 0.7811 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.6352, allocations: 7.663 MB / 0.7886 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.6354, allocations: 31.77 kB / 0.7886 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004277/0.6358, allocations: 196 kB / 0.7888 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000317/0.6362, allocations: 309 kB / 0.7891 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009199/0.6454, allocations: 5.714 MB / 0.7947 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03355/0.6789, allocations: 34.83 MB / 0.8287 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.6815, allocations: 2.15 MB / 0.8308 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.683, allocations: 1.265 MB / 0.832 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/0.6831, allocations: 21.25 kB / 0.832 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.6831, allocations: 47.88 kB / 0.8321 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 2.985e-06/0.6831, allocations: 0 / 0.8321 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.01249/0.6956, allocations: 7.081 MB / 0.839 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.6957, allocations: 68.7 kB / 0.8391 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.6975, allocations: 1.492 MB / 0.8405 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.6975, allocations: 49.7 kB / 0.8406 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.6987, allocations: 2.004 MB / 0.8425 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.699, allocations: 489 kB / 0.843 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/0.6995, allocations: 347.2 kB / 0.8433 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.6996, allocations: 301.1 kB / 0.8436 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.7008, allocations: 0.9174 MB / 0.8445 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.7024, allocations: 1.593 MB / 0.8461 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/0.7054, allocations: 2.741 MB / 0.8487 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.7055, allocations: 8 kB / 0.8488 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005575/0.711, allocations: 3.53 MB / 0.8522 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.7111, allocations: 15.19 kB / 0.8522 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.7111, allocations: 24 kB / 0.8522 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.7134, allocations: 0.9115 MB / 0.8531 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.7145, allocations: 347.4 kB / 0.8535 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.7337, allocations: 23.1 MB / 0.876 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7352, allocations: 104 kB / 0.8761 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.7354, allocations: 84 kB / 0.8762 GB, free: 1.672 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.002586/0.738, allocations: 1.61 MB / 0.8778 GB, free: 52 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.7384, allocations: 205.7 kB / 0.878 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/0.7432, allocations: 2.994 MB / 0.8809 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.7432, allocations: 12 kB / 0.8809 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.7433, allocations: 12 kB / 0.8809 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7433, allocations: 7.969 kB / 0.8809 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.7542, allocations: 7.336 MB / 0.8881 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.7542, allocations: 4 kB / 0.8881 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.755, allocations: 171.7 kB / 0.8882 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/0.7574, allocations: 0.8262 MB / 0.8891 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.7575, allocations: 31.98 kB / 0.8891 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/0.7762, allocations: 21.94 MB / 0.9105 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7762, allocations: 7.938 kB / 0.9105 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/0.7813, allocations: 3.025 MB / 0.9135 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.7824, allocations: 458.4 kB / 0.9139 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.7826, allocations: 32.12 kB / 0.9139 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/0.7834, allocations: 75.84 kB / 0.914 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/0.7838, allocations: 128.7 kB / 0.9141 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.7839, allocations: 36 kB / 0.9142 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001342/0.7852, allocations: 0.9717 MB / 0.9151 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7852, allocations: 0 / 0.9151 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002847/0.7881, allocations: 0.7891 MB / 0.9159 GB, free: 6.836 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.0002431/0.7884, allocations: 152 kB / 0.916 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005475/0.7938, allocations: 4.031 MB / 0.92 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.7939, allocations: 0 / 0.92 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003513/0.7974, allocations: 2.741 MB / 0.9226 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/0.8002, allocations: 0.735 MB / 0.9234 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.8115, allocations: 7.101 MB / 0.9303 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/0.8146, allocations: 3.101 MB / 0.9333 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001255/0.8159, allocations: 457.9 kB / 0.9338 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.8161, allocations: 123.4 kB / 0.9339 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/0.8161, allocations: 0 / 0.9339 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of Templates: time 0.3764/1.193, allocations: 35.74 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)