Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 282.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 98.98 kB / 0.5952 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1618, allocations: 86.99 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01235/0.1742, allocations: 10.06 MB / 0.69 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005741/0.18, allocations: 3.188 MB / 0.6931 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008769/0.1809, allocations: 35.81 kB / 0.6932 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.1827, allocations: 0.5829 MB / 0.6937 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1845, allocations: 0.7388 MB / 0.6945 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1861, allocations: 0.7437 MB / 0.6952 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.1893, allocations: 2.992 MB / 0.6981 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.1926, allocations: 2.618 MB / 0.7007 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.1944, allocations: 1.246 MB / 0.7019 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.1967, allocations: 1.558 MB / 0.7034 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006167/0.1973, allocations: 236 kB / 0.7036 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.1986, allocations: 0.4955 MB / 0.7041 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.2, allocations: 1.08 MB / 0.7052 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.2017, allocations: 1.113 MB / 0.7063 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.2058, allocations: 3.661 MB / 0.7098 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2058, allocations: 3.984 kB / 0.7098 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2058, allocations: 0 / 0.7098 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.617e-05/0.2059, allocations: 0 / 0.7098 GB, free: 2.227 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005022/0.211, allocations: 2.142 MB / 0.7119 GB, free: 28 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.211, allocations: 8.031 kB / 0.7119 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009244/0.2203, allocations: 1.321 MB / 0.7132 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.2228, allocations: 1.247 MB / 0.7144 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2229, allocations: 115.3 kB / 0.7145 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005852/0.2235, allocations: 152.3 kB / 0.7147 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006039/0.2296, allocations: 3.434 MB / 0.718 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.2296, allocations: 3.938 kB / 0.718 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.23, allocations: 67.97 kB / 0.7181 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002428/0.2302, allocations: 203.1 kB / 0.7183 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005242/0.2355, allocations: 3.131 MB / 0.7214 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01854/0.254, allocations: 13.61 MB / 0.7347 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.2566, allocations: 1.739 MB / 0.7364 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.2587, allocations: 1.44 MB / 0.7378 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.2588, allocations: 13 kB / 0.7378 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2588, allocations: 43.56 kB / 0.7378 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.2589, allocations: 4 kB / 0.7378 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.4357/0.6946, allocations: 36.66 MB / 0.7736 GB, free: 88.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.6947, allocations: 71.94 kB / 0.7737 GB, free: 88.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.6961, allocations: 1.054 MB / 0.7747 GB, free: 88.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003133/0.6964, allocations: 53.27 kB / 0.7748 GB, free: 88.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.6969, allocations: 0.7908 MB / 0.7755 GB, free: 88.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004636/0.6973, allocations: 0.62 MB / 0.7762 GB, free: 87.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007255/0.6981, allocations: 369 kB / 0.7765 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.6981, allocations: 302.8 kB / 0.7768 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.7007, allocations: 1.93 MB / 0.7787 GB, free: 86.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.7034, allocations: 2.293 MB / 0.7809 GB, free: 85.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004967/0.7083, allocations: 4.39 MB / 0.7852 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.7084, allocations: 2.812 kB / 0.7852 GB, free: 83.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01957/0.7279, allocations: 9.021 MB / 0.794 GB, free: 81.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.728, allocations: 8.562 kB / 0.794 GB, free: 81.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.728, allocations: 11.81 kB / 0.794 GB, free: 81.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/0.7442, allocations: 5.004 MB / 0.7989 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.7451, allocations: 187.7 kB / 0.7991 GB, free: 80.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0449/0.79, allocations: 38.92 MB / 0.8371 GB, free: 50 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.792, allocations: 99.89 kB / 0.8372 GB, free: 49.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.7922, allocations: 71.98 kB / 0.8373 GB, free: 49.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.7932, allocations: 0.8101 MB / 0.8381 GB, free: 49.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.7934, allocations: 142.2 kB / 0.8382 GB, free: 48.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.8104, allocations: 8.882 MB / 0.8469 GB, free: 39.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.8104, allocations: 20 kB / 0.8469 GB, free: 39.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.17e-05/0.8104, allocations: 28 kB / 0.8469 GB, free: 39.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.8105, allocations: 7.969 kB / 0.8469 GB, free: 39.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.8322, allocations: 13.31 MB / 0.8599 GB, free: 26.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.8322, allocations: 8.062 kB / 0.8599 GB, free: 26.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.8327, allocations: 123.7 kB / 0.8601 GB, free: 26.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01452/0.8472, allocations: 4.794 MB / 0.8647 GB, free: 21.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/0.8475, allocations: 36.55 kB / 0.8648 GB, free: 21.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0449/0.8924, allocations: 34.84 MB / 0.8988 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8924, allocations: 7.984 kB / 0.8988 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/0.9113, allocations: 8.396 MB / 0.907 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.9126, allocations: 0.6163 MB / 0.9076 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/0.9129, allocations: 37.08 kB / 0.9076 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.9143, allocations: 91.89 kB / 0.9077 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007511/0.9151, allocations: 165.3 kB / 0.9079 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.9152, allocations: 47.98 kB / 0.9079 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000971/0.9162, allocations: 0.7459 MB / 0.9087 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9162, allocations: 0 / 0.9087 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002904/0.9191, allocations: 1.004 MB / 0.9096 GB, free: 6.922 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.9195, allocations: 144.1 kB / 0.9098 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0112/0.9307, allocations: 6.701 MB / 0.9163 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9307, allocations: 0 / 0.9163 GB, free: 40 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007871/0.9386, allocations: 3.832 MB / 0.9201 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.9402, allocations: 242.6 kB / 0.9203 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007542/0.9477, allocations: 4.98 MB / 0.9252 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.9493, allocations: 1.857 MB / 0.927 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008178/0.9502, allocations: 367.1 kB / 0.9273 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.9503, allocations: 55.44 kB / 0.9274 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.9503, allocations: 4 kB / 0.9274 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of Templates: time 0.07833/1.029, allocations: 59.14 MB / 0.9851 GB, free: 9.711 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)