Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003994/0.003994, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.0009747/0.0009747, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002058/0.002058, allocations: 274.4 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9237/0.9237, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 95.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1519, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.3213/0.4732, allocations: 14.77 MB / 0.7808 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.4862, allocations: 10.36 MB / 0.7909 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.4878, allocations: 55.66 kB / 0.791 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003807/0.4917, allocations: 1.685 MB / 0.7926 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.4962, allocations: 1.815 MB / 0.7944 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.4984, allocations: 0.7565 MB / 0.7951 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.502, allocations: 2.757 MB / 0.7978 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.5036, allocations: 1.417 MB / 0.7992 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.5058, allocations: 1.504 MB / 0.8007 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.5076, allocations: 1.161 MB / 0.8018 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.5079, allocations: 159.8 kB / 0.802 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.5096, allocations: 0.7875 MB / 0.8027 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007822/0.5104, allocations: 0.6058 MB / 0.8033 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.5116, allocations: 0.9603 MB / 0.8043 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.5153, allocations: 2.775 MB / 0.807 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5153, allocations: 0 / 0.807 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5153, allocations: 1 kB / 0.807 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.27e-05/0.5154, allocations: 0 / 0.807 GB, free: 10.62 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004071/0.5194, allocations: 2.231 MB / 0.8091 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5195, allocations: 9.469 kB / 0.8092 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.5314, allocations: 2.123 MB / 0.8112 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.5341, allocations: 1.31 MB / 0.8125 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.5342, allocations: 88.88 kB / 0.8126 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.5344, allocations: 123.2 kB / 0.8127 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005825/0.5403, allocations: 2.671 MB / 0.8153 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.5403, allocations: 5.938 kB / 0.8153 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.5405, allocations: 59.34 kB / 0.8154 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006416/0.5412, allocations: 189.3 kB / 0.8156 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/0.5487, allocations: 2.795 MB / 0.8183 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.563, allocations: 10.48 MB / 0.8285 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00671/0.5697, allocations: 2.333 MB / 0.8308 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/0.5729, allocations: 1.28 MB / 0.832 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.986e-05/0.573, allocations: 13.92 kB / 0.8321 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.573, allocations: 51.77 kB / 0.8321 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.898e-06/0.573, allocations: 0 / 0.8321 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.06059/0.6336, allocations: 16.53 MB / 0.8483 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.6337, allocations: 68.72 kB / 0.8483 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.6354, allocations: 1.172 MB / 0.8495 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/0.6357, allocations: 57.7 kB / 0.8495 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.6363, allocations: 0.7528 MB / 0.8503 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/0.6369, allocations: 0.5422 MB / 0.8508 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/0.6375, allocations: 287.5 kB / 0.8511 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6376, allocations: 305.1 kB / 0.8513 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/0.6412, allocations: 1.51 MB / 0.8528 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/0.645, allocations: 1.772 MB / 0.8546 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/0.6526, allocations: 3.369 MB / 0.8578 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.6526, allocations: 4 kB / 0.8578 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01396/0.6666, allocations: 5.286 MB / 0.863 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.6667, allocations: 8 kB / 0.863 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.6667, allocations: 12.09 kB / 0.863 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00691/0.6736, allocations: 1.881 MB / 0.8649 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.6756, allocations: 415.3 kB / 0.8653 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03019/0.7058, allocations: 24.16 MB / 0.8889 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.709, allocations: 303.6 kB / 0.8891 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004478/0.7095, allocations: 71.97 kB / 0.8892 GB, free: 3.504 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001353/0.7108, allocations: 461.4 kB / 0.8897 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/0.7115, allocations: 182.9 kB / 0.8898 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.7257, allocations: 5.32 MB / 0.895 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.7258, allocations: 23.98 kB / 0.895 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-05/0.7258, allocations: 16 kB / 0.8951 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.7259, allocations: 7.984 kB / 0.8951 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.7431, allocations: 7.415 MB / 0.9023 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.7431, allocations: 4 kB / 0.9023 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/0.7449, allocations: 351.4 kB / 0.9027 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006224/0.7511, allocations: 1.713 MB / 0.9043 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.7513, allocations: 39.97 kB / 0.9044 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02866/0.78, allocations: 23.33 MB / 0.9271 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.78, allocations: 7.938 kB / 0.9272 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.7928, allocations: 4.892 MB / 0.9319 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.794, allocations: 0.4996 MB / 0.9324 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/0.7945, allocations: 31.95 kB / 0.9324 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/0.797, allocations: 323.5 kB / 0.9328 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005375/0.7975, allocations: 145 kB / 0.9329 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.7977, allocations: 56.06 kB / 0.9329 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001205/0.7989, allocations: 0.7899 MB / 0.9337 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7989, allocations: 0 / 0.9337 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002434/0.8014, allocations: 0.6601 MB / 0.9344 GB, free: 3.848 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000346/0.8017, allocations: 143.2 kB / 0.9345 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01126/0.813, allocations: 5.155 MB / 0.9395 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8131, allocations: 4 kB / 0.9395 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006977/0.82, allocations: 3.37 MB / 0.9428 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.8231, allocations: 0.5676 MB / 0.9434 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009645/0.8327, allocations: 4.323 MB / 0.9476 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.8346, allocations: 1.572 MB / 0.9491 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001545/0.8362, allocations: 382.4 kB / 0.9495 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.8366, allocations: 107.4 kB / 0.9496 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of SimCode: time 6.62e-07/0.8366, allocations: 0 / 0.9496 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of Templates: time 0.06669/0.9033, allocations: 45.39 MB / 0.9939 GB, free: 7.055 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)