Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 113.4 kB / 16.42 MB, free: 6.449 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.001387/0.001387, allocations: 185.7 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 284.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9916/0.9916, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 100.1 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4901, allocations: 86.97 MB / 0.7671 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01285/0.503, allocations: 10.91 MB / 0.7777 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.5158, allocations: 8.795 MB / 0.7863 GB, free: 292 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.5173, allocations: 59.62 kB / 0.7863 GB, free: 232 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.5219, allocations: 1.673 MB / 0.788 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.5271, allocations: 1.534 MB / 0.7895 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5293, allocations: 0.6719 MB / 0.7901 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003849/0.5332, allocations: 2.281 MB / 0.7924 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.5356, allocations: 1.372 MB / 0.7937 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.5378, allocations: 1.008 MB / 0.7947 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/0.54, allocations: 1.019 MB / 0.7957 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005718/0.5406, allocations: 140 kB / 0.7958 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.5429, allocations: 0.7994 MB / 0.7966 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008772/0.5438, allocations: 0.5686 MB / 0.7972 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.5456, allocations: 0.89 MB / 0.798 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.5494, allocations: 2.568 MB / 0.8005 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5495, allocations: 0 / 0.8005 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.218e-06/0.5495, allocations: 0 / 0.8005 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.084e-05/0.5495, allocations: 3.938 kB / 0.8005 GB, free: 1.629 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003636/0.5532, allocations: 2.018 MB / 0.8025 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5532, allocations: 8.031 kB / 0.8025 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.5647, allocations: 2.05 MB / 0.8045 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.5672, allocations: 1.212 MB / 0.8057 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.5673, allocations: 82.69 kB / 0.8058 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.5675, allocations: 120.1 kB / 0.8059 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005566/0.5731, allocations: 2.478 MB / 0.8083 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.5732, allocations: 19.77 kB / 0.8083 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.5733, allocations: 55.98 kB / 0.8084 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/0.5737, allocations: 126.1 kB / 0.8085 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007332/0.5811, allocations: 2.545 MB / 0.811 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.5946, allocations: 10.03 MB / 0.8208 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006453/0.6011, allocations: 1.956 MB / 0.8227 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002879/0.604, allocations: 0.966 MB / 0.8236 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.6041, allocations: 8.438 kB / 0.8236 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.6041, allocations: 43 kB / 0.8237 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.605e-06/0.6041, allocations: 0 / 0.8237 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03211/0.6362, allocations: 8.718 MB / 0.8322 GB, free: 172 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6363, allocations: 64.05 kB / 0.8323 GB, free: 96 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.6379, allocations: 1.097 MB / 0.8333 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.6381, allocations: 41.7 kB / 0.8334 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000529/0.6386, allocations: 0.7379 MB / 0.8341 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.6389, allocations: 279.9 kB / 0.8344 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.6393, allocations: 206.4 kB / 0.8346 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6394, allocations: 341.9 kB / 0.8349 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.6425, allocations: 1.071 MB / 0.8359 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.6457, allocations: 1.309 MB / 0.8372 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006235/0.6519, allocations: 2.378 MB / 0.8395 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6519, allocations: 8 kB / 0.8395 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009327/0.6613, allocations: 3.273 MB / 0.8427 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.6614, allocations: 8 kB / 0.8427 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.6614, allocations: 16 kB / 0.8428 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.6642, allocations: 0.7833 MB / 0.8435 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.6662, allocations: 423.2 kB / 0.8439 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.6828, allocations: 15.9 MB / 0.8595 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.6852, allocations: 291.5 kB / 0.8597 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.6854, allocations: 51.97 kB / 0.8598 GB, free: 2.477 MB / 0.6231 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0008729/0.6863, allocations: 393.5 kB / 0.8602 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.6867, allocations: 142.3 kB / 0.8603 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009068/0.6958, allocations: 3.202 MB / 0.8634 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.6958, allocations: 11.86 kB / 0.8634 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6958, allocations: 4 kB / 0.8634 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/0.6965, allocations: 399 kB / 0.8638 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.6969, allocations: 16 kB / 0.8638 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/0.6989, allocations: 271.5 kB / 0.8641 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.6992, allocations: 92.48 kB / 0.8642 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01065/0.7098, allocations: 3.457 MB / 0.8676 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009422/0.7193, allocations: 3.625 MB / 0.8711 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002946/0.7222, allocations: 1.125 MB / 0.8722 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001219/0.7235, allocations: 0.7404 MB / 0.8729 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of Backend: time 3.91e-07/0.7235, allocations: 0 / 0.8729 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007833/0.7313, allocations: 3.067 MB / 0.8759 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006026/0.7374, allocations: 3.62 MB / 0.8794 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.05914/0.7965, allocations: 37.67 MB / 0.9162 GB, free: 8.824 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)