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.001424/0.001424, allocations: 111.7 kB / 16.42 MB, free: 6.52 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.00156/0.00156, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.39/1.39, 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.002129/0.002129, allocations: 290.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4391, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01897/0.4581, allocations: 14.77 MB / 0.7815 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.4738, allocations: 10.35 MB / 0.7916 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.4754, allocations: 59.62 kB / 0.7916 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.4795, allocations: 1.693 MB / 0.7933 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00546/0.485, allocations: 1.845 MB / 0.7951 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.4871, allocations: 0.7579 MB / 0.7958 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004207/0.4913, allocations: 2.758 MB / 0.7985 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.4934, allocations: 1.419 MB / 0.7999 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.496, allocations: 1.535 MB / 0.8014 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.4981, allocations: 1.167 MB / 0.8026 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005429/0.4987, allocations: 160 kB / 0.8027 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.5009, allocations: 0.7838 MB / 0.8035 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009077/0.5018, allocations: 0.6115 MB / 0.8041 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.5034, allocations: 0.9522 MB / 0.805 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.5066, allocations: 2.761 MB / 0.8077 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5066, allocations: 0 / 0.8077 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5066, allocations: 0 / 0.8077 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.5066, allocations: 0 / 0.8077 GB, free: 10.16 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.00377/0.5104, allocations: 2.17 MB / 0.8098 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5104, allocations: 16.03 kB / 0.8098 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.5223, allocations: 2.101 MB / 0.8119 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.5256, allocations: 1.311 MB / 0.8132 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.5257, allocations: 90.67 kB / 0.8132 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.526, allocations: 124 kB / 0.8134 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005775/0.5318, allocations: 2.67 MB / 0.816 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.5318, allocations: 7.938 kB / 0.816 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.532, allocations: 55.98 kB / 0.816 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006787/0.5327, allocations: 194.1 kB / 0.8162 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007503/0.5402, allocations: 2.787 MB / 0.8189 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.5555, allocations: 10.46 MB / 0.8292 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/0.5623, allocations: 2.332 MB / 0.8314 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.5655, allocations: 1.28 MB / 0.8327 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/0.5656, allocations: 13 kB / 0.8327 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5656, allocations: 43.56 kB / 0.8327 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.306e-06/0.5657, allocations: 3.938 kB / 0.8327 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.08958/0.6552, allocations: 16.49 MB / 0.8488 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.6554, allocations: 72.72 kB / 0.8489 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.6586, allocations: 1.176 MB / 0.8501 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004816/0.6591, allocations: 53.7 kB / 0.8501 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.6602, allocations: 0.7397 MB / 0.8508 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6613, allocations: 0.5198 MB / 0.8513 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.6625, allocations: 287.4 kB / 0.8516 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6627, allocations: 305.1 kB / 0.8519 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007176/0.6699, allocations: 1.507 MB / 0.8534 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007875/0.6778, allocations: 1.784 MB / 0.8551 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/0.6932, allocations: 3.365 MB / 0.8584 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.6932, allocations: 4 kB / 0.8584 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02721/0.7205, allocations: 5.277 MB / 0.8636 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.7205, allocations: 8 kB / 0.8636 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.7206, allocations: 11.94 kB / 0.8636 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.7327, allocations: 1.877 MB / 0.8654 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/0.7368, allocations: 423.2 kB / 0.8658 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05419/0.7911, allocations: 24.12 MB / 0.8894 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/0.7961, allocations: 315.5 kB / 0.8897 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004959/0.7966, allocations: 67.97 kB / 0.8897 GB, free: 3.656 MB / 0.6544 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.001881/0.7985, allocations: 467.8 kB / 0.8902 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/0.7996, allocations: 177.9 kB / 0.8904 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/0.8254, allocations: 5.324 MB / 0.8956 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/0.8255, allocations: 7.969 kB / 0.8956 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.8255, allocations: 0 / 0.8956 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/0.8277, allocations: 0.5027 MB / 0.8961 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009604/0.8287, allocations: 20 kB / 0.8961 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004384/0.8331, allocations: 295.5 kB / 0.8964 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007447/0.8339, allocations: 200.9 kB / 0.8965 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02843/0.8623, allocations: 5.6 MB / 0.902 GB, free: 6.977 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02059/0.883, allocations: 5.213 MB / 0.9071 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006214/0.8892, allocations: 1.661 MB / 0.9087 GB, free: 76 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002482/0.8917, allocations: 0.7938 MB / 0.9095 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of Backend: time 1.432e-06/0.8918, allocations: 0 / 0.9095 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0163/0.9081, allocations: 4.217 MB / 0.9136 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008729/0.9169, allocations: 4.769 MB / 0.9183 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of Templates: time 0.4359/1.353, allocations: 50.17 MB / 0.9673 GB, free: 175 MB / 0.7169 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)