Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 115.4 kB / 16.42 MB, free: 6.5 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.00153/0.00153, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.331/1.331, 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.002104/0.002104, allocations: 284.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9751/0.9751, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003443/0.003443, allocations: 103.8 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.515, allocations: 86.97 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006339/0.5213, allocations: 4.383 MB / 0.7713 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004976/0.5263, allocations: 3.222 MB / 0.7745 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.5267, allocations: 19.88 kB / 0.7745 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.5284, allocations: 0.5096 MB / 0.775 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.5295, allocations: 382 kB / 0.7754 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.5302, allocations: 249.4 kB / 0.7756 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.531, allocations: 0.5918 MB / 0.7762 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007228/0.5318, allocations: 0.5248 MB / 0.7767 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.5324, allocations: 291.1 kB / 0.777 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.5329, allocations: 275 kB / 0.7772 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.533, allocations: 40 kB / 0.7773 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.5336, allocations: 287.5 kB / 0.7775 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.5338, allocations: 163.5 kB / 0.7777 GB, free: 9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.5341, allocations: 230.9 kB / 0.7779 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009799/0.5351, allocations: 0.7892 MB / 0.7787 GB, free: 7.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5351, allocations: 0 / 0.7787 GB, free: 7.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.836e-06/0.5352, allocations: 3.984 kB / 0.7787 GB, free: 7.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.5352, allocations: 0 / 0.7787 GB, free: 7.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001484/0.5367, allocations: 0.7674 MB / 0.7794 GB, free: 7.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5367, allocations: 12.03 kB / 0.7794 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.5394, allocations: 0.6516 MB / 0.7801 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.5402, allocations: 455.8 kB / 0.7805 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.5402, allocations: 28.95 kB / 0.7805 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.5403, allocations: 36.12 kB / 0.7806 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.5418, allocations: 0.7747 MB / 0.7813 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.5419, allocations: 0 / 0.7813 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.5419, allocations: 12 kB / 0.7813 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.542, allocations: 44.61 kB / 0.7814 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.544, allocations: 0.8491 MB / 0.7822 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003662/0.5477, allocations: 2.792 MB / 0.7849 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.5494, allocations: 0.5019 MB / 0.7854 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/0.5501, allocations: 260.5 kB / 0.7857 GB, free: 468 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.5502, allocations: 89.38 kB / 0.7858 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.5502, allocations: 34.56 kB / 0.7858 GB, free: 316 kB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.5502, allocations: 0 / 0.7858 GB, free: 316 kB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.01133/0.5616, allocations: 2.959 MB / 0.7887 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5616, allocations: 55.41 kB / 0.7887 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.5621, allocations: 413.5 kB / 0.7891 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.5622, allocations: 29.7 kB / 0.7892 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.5624, allocations: 231.9 kB / 0.7894 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.5624, allocations: 90.73 kB / 0.7895 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.5626, allocations: 65.69 kB / 0.7895 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5627, allocations: 346.8 kB / 0.7899 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00089/0.5636, allocations: 352.4 kB / 0.7902 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/0.5646, allocations: 416.5 kB / 0.7906 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.5663, allocations: 0.7306 MB / 0.7913 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5663, allocations: 0 / 0.7913 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004898/0.5712, allocations: 1.476 MB / 0.7928 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5713, allocations: 8 kB / 0.7928 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5713, allocations: 0 / 0.7928 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00349/0.5748, allocations: 0.7702 MB / 0.7935 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.5754, allocations: 127.8 kB / 0.7936 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006615/0.582, allocations: 4.843 MB / 0.7984 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.5828, allocations: 107.8 kB / 0.7985 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.5829, allocations: 19.98 kB / 0.7985 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001112/0.584, allocations: 0.5138 MB / 0.799 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008894/0.5849, allocations: 406.1 kB / 0.7994 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/0.5866, allocations: 0.7063 MB / 0.8001 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.215e-06/0.5866, allocations: 4 kB / 0.8001 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004152/0.5908, allocations: 1.243 MB / 0.8013 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5908, allocations: 8 kB / 0.8013 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5908, allocations: 0 / 0.8013 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.5932, allocations: 0.4964 MB / 0.8018 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.5938, allocations: 135.8 kB / 0.8019 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.5976, allocations: 2.609 MB / 0.8045 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.5984, allocations: 107.8 kB / 0.8046 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/0.5985, allocations: 12 kB / 0.8046 GB, free: 12.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.5987, allocations: 208.2 kB / 0.8048 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.5988, allocations: 31.62 kB / 0.8048 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.6035, allocations: 1.333 MB / 0.8061 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.6035, allocations: 3.984 kB / 0.8061 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.6035, allocations: 4 kB / 0.8061 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.6038, allocations: 164.6 kB / 0.8063 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6039, allocations: 11.94 kB / 0.8063 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.6045, allocations: 83.8 kB / 0.8064 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6047, allocations: 27.95 kB / 0.8064 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00349/0.6082, allocations: 1.157 MB / 0.8075 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00227/0.6104, allocations: 1.111 MB / 0.8086 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007109/0.6112, allocations: 315.7 kB / 0.8089 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003829/0.6116, allocations: 303.1 kB / 0.8092 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of Backend: time 4.41e-07/0.6116, allocations: 0 / 0.8092 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003759/0.6153, allocations: 1.474 MB / 0.8106 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002021/0.6174, allocations: 1.42 MB / 0.812 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of Templates: time 0.02283/0.6402, allocations: 14.74 MB / 0.8264 GB, free: 6.016 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)