Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 174.6 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007301/0.0007301, allocations: 89.53 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 7.188 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004235/0.1671, allocations: 4.836 MB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.1711, allocations: 3.806 MB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.1713, allocations: 7.938 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1726, allocations: 0.541 MB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008142/0.1735, allocations: 399.2 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.174, allocations: 253.7 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.1747, allocations: 0.9154 MB / 0.9072 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.1753, allocations: 0.5013 MB / 0.9077 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1754, allocations: 207.1 kB / 0.9079 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.1757, allocations: 267 kB / 0.9082 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1758, allocations: 20 kB / 0.9082 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.1764, allocations: 479.2 kB / 0.9087 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1765, allocations: 147.5 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.1766, allocations: 214.8 kB / 0.909 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.1772, allocations: 0.7676 MB / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1772, allocations: 0 / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1772, allocations: 0 / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.1772, allocations: 0 / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001017/0.1782, allocations: 0.7695 MB / 0.9105 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1783, allocations: 8.031 kB / 0.9105 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.1809, allocations: 0.7101 MB / 0.9112 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008088/0.1817, allocations: 0.5432 MB / 0.9117 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1818, allocations: 21.03 kB / 0.9118 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.1818, allocations: 36.06 kB / 0.9118 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.1832, allocations: 0.8434 MB / 0.9126 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1832, allocations: 3.984 kB / 0.9126 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.183e-05/0.1833, allocations: 19.98 kB / 0.9126 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.1835, allocations: 68.56 kB / 0.9127 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.1852, allocations: 0.9428 MB / 0.9136 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.1884, allocations: 2.953 MB / 0.9165 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.1898, allocations: 0.5683 MB / 0.9171 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.1905, allocations: 316.6 kB / 0.9174 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.243e-05/0.1906, allocations: 89.09 kB / 0.9175 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.1906, allocations: 34.56 kB / 0.9175 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.415e-06/0.1906, allocations: 0 / 0.9175 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01283/0.2034, allocations: 4.094 MB / 0.9215 GB, free: 42.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.2035, allocations: 84.97 kB / 0.9216 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.204, allocations: 453.6 kB / 0.922 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.204, allocations: 33.7 kB / 0.922 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2041, allocations: 236.2 kB / 0.9223 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.2042, allocations: 122.2 kB / 0.9224 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.2043, allocations: 49.62 kB / 0.9224 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.2043, allocations: 350.8 kB / 0.9228 GB, free: 41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.2052, allocations: 448.5 kB / 0.9232 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008677/0.2061, allocations: 0.5251 MB / 0.9237 GB, free: 40 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.2078, allocations: 0.9585 MB / 0.9246 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2078, allocations: 4 kB / 0.9246 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005479/0.2133, allocations: 1.928 MB / 0.9265 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.2134, allocations: 148 kB / 0.9267 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2134, allocations: 4 kB / 0.9267 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004562/0.218, allocations: 1.098 MB / 0.9277 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.2185, allocations: 135.7 kB / 0.9279 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008414/0.227, allocations: 6.379 MB / 0.9341 GB, free: 29.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008273/0.2278, allocations: 119.8 kB / 0.9342 GB, free: 28.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.2279, allocations: 20 kB / 0.9342 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.2279, allocations: 14.7 kB / 0.9342 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004656/0.2325, allocations: 1.629 MB / 0.9358 GB, free: 27.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2326, allocations: 4.031 kB / 0.9358 GB, free: 27.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003326/0.2359, allocations: 0.8013 MB / 0.9366 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.2365, allocations: 135.8 kB / 0.9367 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.2429, allocations: 5.57 MB / 0.9422 GB, free: 20.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.2437, allocations: 107.8 kB / 0.9423 GB, free: 20.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2438, allocations: 20.36 kB / 0.9423 GB, free: 20.31 MB / 0.6042 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.2441, allocations: 344.8 kB / 0.9426 GB, free: 19.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2442, allocations: 43.47 kB / 0.9427 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/0.2493, allocations: 1.829 MB / 0.9445 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2493, allocations: 7.938 kB / 0.9445 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2493, allocations: 0 / 0.9445 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2493, allocations: 3.984 kB / 0.9445 GB, free: 18.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005688/0.255, allocations: 2.569 MB / 0.947 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.255, allocations: 4 kB / 0.947 GB, free: 15.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.2554, allocations: 79.84 kB / 0.9471 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004043/0.2594, allocations: 1.02 MB / 0.9481 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.2595, allocations: 15.98 kB / 0.9481 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007368/0.2669, allocations: 6.075 MB / 0.954 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2669, allocations: 64 / 0.954 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/0.2718, allocations: 1.786 MB / 0.9557 GB, free: 6.133 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.2721, allocations: 196.6 kB / 0.9559 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.2722, allocations: 15.94 kB / 0.956 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.2728, allocations: 91.86 kB / 0.956 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.273, allocations: 43.81 kB / 0.9561 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.273, allocations: 12 kB / 0.9561 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003127/0.2734, allocations: 335.1 kB / 0.9564 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2734, allocations: 4 kB / 0.9564 GB, free: 5.434 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009034/0.2743, allocations: 299.9 kB / 0.9567 GB, free: 5.141 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.2745, allocations: 151.1 kB / 0.9568 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005665/0.2802, allocations: 2.538 MB / 0.9593 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2802, allocations: 0 / 0.9593 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002246/0.2825, allocations: 0.9888 MB / 0.9603 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.2832, allocations: 125.6 kB / 0.9604 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.2851, allocations: 1.456 MB / 0.9618 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.2857, allocations: 0.9453 MB / 0.9628 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2858, allocations: 43.41 kB / 0.9628 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.2858, allocations: 0 / 0.9628 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.01625/0.3021, allocations: 14.46 MB / 0.9769 GB, free: 312 kB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)