Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001465/0.001465, allocations: 191 kB / 17.29 MB, free: 5.516 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 298.9 kB / 291.4 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9223/0.9223, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 90.2 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1457, allocations: 86.98 MB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.2749/0.4206, allocations: 30.74 MB / 0.7116 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.442, allocations: 13.58 MB / 0.7249 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003879/0.446, allocations: 144.4 kB / 0.725 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008556/0.4546, allocations: 3.195 MB / 0.7282 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.4627, allocations: 2.665 MB / 0.7308 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005454/0.4682, allocations: 2.012 MB / 0.7327 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009837/0.478, allocations: 7.625 MB / 0.7402 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009662/0.4877, allocations: 8.234 MB / 0.7482 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/0.4938, allocations: 3.41 MB / 0.7515 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005647/0.4994, allocations: 3.383 MB / 0.7548 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.5009, allocations: 0.5977 MB / 0.7554 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.5046, allocations: 1.494 MB / 0.7569 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002647/0.5073, allocations: 2.362 MB / 0.7592 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.004233/0.5115, allocations: 2.886 MB / 0.762 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.5226, allocations: 9.461 MB / 0.7712 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5227, allocations: 0 / 0.7712 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5227, allocations: 0 / 0.7712 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002262/0.5229, allocations: 0 / 0.7712 GB, free: 3.652 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01042/0.5333, allocations: 5.136 MB / 0.7763 GB, free: 14.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5334, allocations: 8.031 kB / 0.7763 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/0.5389, allocations: 0.998 MB / 0.7772 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006435/0.5454, allocations: 3.079 MB / 0.7803 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.5457, allocations: 312.8 kB / 0.7806 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.5467, allocations: 424 kB / 0.781 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.5575, allocations: 6.791 MB / 0.7876 GB, free: 2.461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.5577, allocations: 27.77 kB / 0.7876 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/0.5581, allocations: 184 kB / 0.7878 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007815/0.5589, allocations: 368 kB / 0.7881 GB, free: 1.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007952/0.5668, allocations: 5.114 MB / 0.7931 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.5982, allocations: 30.51 MB / 0.8229 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.6002, allocations: 1.395 MB / 0.8243 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.6019, allocations: 1.335 MB / 0.8256 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.602, allocations: 17.31 kB / 0.8256 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.6021, allocations: 47.88 kB / 0.8257 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/0.6021, allocations: 0 / 0.8257 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=199): time 0.07987/0.6819, allocations: 23.07 MB / 0.8482 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.682, allocations: 73.39 kB / 0.8483 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.6851, allocations: 2.058 MB / 0.8503 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.6854, allocations: 65.7 kB / 0.8503 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.6867, allocations: 2.006 MB / 0.8523 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/0.6874, allocations: 0.6777 MB / 0.8529 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007117/0.6881, allocations: 408.2 kB / 0.8533 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6882, allocations: 309.1 kB / 0.8536 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/0.6902, allocations: 1.437 MB / 0.855 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.6926, allocations: 2.01 MB / 0.857 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.6973, allocations: 3.704 MB / 0.8606 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.6973, allocations: 4 kB / 0.8606 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01003/0.7073, allocations: 5.661 MB / 0.8661 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.7074, allocations: 12 kB / 0.8662 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/0.7074, allocations: 16 kB / 0.8662 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00627/0.7137, allocations: 2.076 MB / 0.8682 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.7152, allocations: 383.3 kB / 0.8686 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0365/0.7517, allocations: 38.43 MB / 0.9061 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.754, allocations: 123.9 kB / 0.9062 GB, free: 2.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.7542, allocations: 88 kB / 0.9063 GB, free: 2.734 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002286/0.7565, allocations: 1.504 MB / 0.9078 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005004/0.757, allocations: 280.7 kB / 0.908 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009563/0.7666, allocations: 5.227 MB / 0.9131 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.7666, allocations: 20 kB / 0.9132 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.848e-05/0.7667, allocations: 16 kB / 0.9132 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.7667, allocations: 11.95 kB / 0.9132 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.7835, allocations: 9.673 MB / 0.9226 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.7835, allocations: 12.03 kB / 0.9226 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008125/0.7844, allocations: 219.6 kB / 0.9229 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005575/0.7899, allocations: 1.842 MB / 0.9247 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.7901, allocations: 44 kB / 0.9247 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3162/1.106, allocations: 37.43 MB / 0.9612 GB, free: 216.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.106, allocations: 10.47 kB / 0.9613 GB, free: 216.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008803/1.115, allocations: 4.911 MB / 0.966 GB, free: 215.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/1.117, allocations: 0.6166 MB / 0.9667 GB, free: 215.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/1.117, allocations: 42.31 kB / 0.9667 GB, free: 215.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.119, allocations: 127.6 kB / 0.9668 GB, free: 215.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006494/1.119, allocations: 195.2 kB / 0.967 GB, free: 215.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.119, allocations: 59.84 kB / 0.9671 GB, free: 215.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002116/1.122, allocations: 1.378 MB / 0.9684 GB, free: 215.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.032e-06/1.122, allocations: 0 / 0.9684 GB, free: 215.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00344/1.125, allocations: 1.049 MB / 0.9694 GB, free: 215.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00031/1.125, allocations: 171.9 kB / 0.9696 GB, free: 215.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009455/1.135, allocations: 6.291 MB / 0.9757 GB, free: 212.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.135, allocations: 2.219 kB / 0.9757 GB, free: 212.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005969/1.141, allocations: 4.399 MB / 0.98 GB, free: 209.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/1.145, allocations: 0.9962 MB / 0.981 GB, free: 209 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.159, allocations: 8.044 MB / 0.9889 GB, free: 205.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003984/1.163, allocations: 3.123 MB / 0.9919 GB, free: 204.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002043/1.165, allocations: 0.5187 MB / 0.9924 GB, free: 204.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/1.165, allocations: 148.5 kB / 0.9926 GB, free: 204.1 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/1.165, allocations: 0 / 0.9926 GB, free: 204.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.07894/1.244, allocations: 57.76 MB / 1.049 GB, free: 163.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)