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.006113/0.006113, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001388/0.001388, allocations: 194.4 kB / 16.67 MB, free: 5.984 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 279 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9496/0.9496, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 95.86 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1652, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.3791/0.5443, allocations: 14.78 MB / 0.7808 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.5574, allocations: 10.35 MB / 0.7909 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.5588, allocations: 59.34 kB / 0.791 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.5627, allocations: 1.681 MB / 0.7926 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005065/0.5678, allocations: 1.848 MB / 0.7944 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.5697, allocations: 0.762 MB / 0.7952 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.5731, allocations: 2.767 MB / 0.7979 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.5747, allocations: 1.407 MB / 0.7992 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.5766, allocations: 1.529 MB / 0.8007 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.5781, allocations: 1.16 MB / 0.8019 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.5784, allocations: 160.8 kB / 0.802 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.58, allocations: 0.7857 MB / 0.8028 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007557/0.5808, allocations: 0.6071 MB / 0.8034 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.5821, allocations: 0.9567 MB / 0.8043 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.5859, allocations: 2.764 MB / 0.807 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5859, allocations: 0 / 0.807 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5859, allocations: 1.094 kB / 0.807 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.573e-05/0.5859, allocations: 0 / 0.807 GB, free: 10.54 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.004188/0.5901, allocations: 2.178 MB / 0.8091 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5902, allocations: 10.39 kB / 0.8092 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.6025, allocations: 2.11 MB / 0.8112 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.6051, allocations: 1.305 MB / 0.8125 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.6052, allocations: 92.89 kB / 0.8126 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.6054, allocations: 112.1 kB / 0.8127 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005808/0.6113, allocations: 2.674 MB / 0.8153 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.6113, allocations: 16.34 kB / 0.8153 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.6115, allocations: 53.58 kB / 0.8154 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006681/0.6122, allocations: 190.7 kB / 0.8155 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007764/0.6199, allocations: 2.792 MB / 0.8183 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.6337, allocations: 10.47 MB / 0.8285 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00673/0.6405, allocations: 2.335 MB / 0.8308 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00314/0.6436, allocations: 1.281 MB / 0.832 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.6437, allocations: 10.25 kB / 0.832 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.6437, allocations: 39.78 kB / 0.8321 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.384e-06/0.6437, allocations: 1 kB / 0.8321 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.06185/0.7056, allocations: 16.5 MB / 0.8482 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.7057, allocations: 76.64 kB / 0.8483 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.7074, allocations: 1.168 MB / 0.8494 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.7076, allocations: 53.7 kB / 0.8495 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/0.7082, allocations: 0.7398 MB / 0.8502 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.7087, allocations: 0.5198 MB / 0.8507 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.7093, allocations: 283.5 kB / 0.851 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.7094, allocations: 305.1 kB / 0.8512 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/0.7132, allocations: 1.51 MB / 0.8527 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/0.717, allocations: 1.776 MB / 0.8545 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007654/0.7247, allocations: 3.365 MB / 0.8577 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.7247, allocations: 4 kB / 0.8577 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01412/0.7388, allocations: 5.285 MB / 0.8629 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.7389, allocations: 8 kB / 0.8629 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7389, allocations: 8 kB / 0.8629 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007102/0.746, allocations: 1.877 MB / 0.8648 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/0.7483, allocations: 416.9 kB / 0.8652 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02951/0.7778, allocations: 24.14 MB / 0.8887 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.7808, allocations: 303.5 kB / 0.889 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.781, allocations: 63.97 kB / 0.8891 GB, free: 3.566 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.0009904/0.782, allocations: 469.4 kB / 0.8895 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.7825, allocations: 173.9 kB / 0.8897 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/0.7965, allocations: 5.325 MB / 0.8949 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.7966, allocations: 19.94 kB / 0.8949 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.7966, allocations: 16 kB / 0.8949 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.7966, allocations: 11.97 kB / 0.8949 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.8135, allocations: 7.415 MB / 0.9022 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8135, allocations: 3.938 kB / 0.9022 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.8153, allocations: 359.7 kB / 0.9025 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005956/0.8212, allocations: 1.697 MB / 0.9042 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.8214, allocations: 43.95 kB / 0.9042 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/0.8487, allocations: 23.31 MB / 0.927 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8488, allocations: 4 kB / 0.927 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.861, allocations: 4.883 MB / 0.9318 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.8621, allocations: 0.4947 MB / 0.9322 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.8625, allocations: 32 kB / 0.9323 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/0.865, allocations: 319.5 kB / 0.9326 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.8655, allocations: 148.9 kB / 0.9327 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.8656, allocations: 59.97 kB / 0.9328 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001122/0.8668, allocations: 0.7899 MB / 0.9336 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8668, allocations: 480 / 0.9336 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002106/0.8689, allocations: 0.6523 MB / 0.9342 GB, free: 3.941 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.0003309/0.8692, allocations: 159 kB / 0.9343 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01138/0.8806, allocations: 5.136 MB / 0.9394 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.8806, allocations: 0 / 0.9394 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006828/0.8875, allocations: 3.359 MB / 0.9426 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.8898, allocations: 0.5621 MB / 0.9432 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.8988, allocations: 4.281 MB / 0.9474 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.9001, allocations: 1.568 MB / 0.9489 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00128/0.9014, allocations: 390.3 kB / 0.9493 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.9018, allocations: 107.3 kB / 0.9494 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of SimCode: time 3.91e-07/0.9018, allocations: 4 kB / 0.9494 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of Templates: time 0.06314/0.965, allocations: 45.39 MB / 0.9937 GB, free: 7.227 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)