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.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.00105/0.001051, allocations: 170.6 kB / 326.5 MB, free: 2.695 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.821/1.821, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0007353/0.0007352, allocations: 89.86 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8.938 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1823, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005349/0.1877, allocations: 6.44 MB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00373/0.1914, allocations: 3.107 MB / 0.9061 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.1918, allocations: 23.81 kB / 0.9061 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1936, allocations: 0.8875 MB / 0.907 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.1945, allocations: 477.7 kB / 0.9074 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.1953, allocations: 401.5 kB / 0.9078 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000926/0.1962, allocations: 1.595 MB / 0.9094 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006936/0.1969, allocations: 0.648 MB / 0.91 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.1973, allocations: 406.2 kB / 0.9104 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.1977, allocations: 494 kB / 0.9109 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.1978, allocations: 36 kB / 0.9109 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.1984, allocations: 439.1 kB / 0.9113 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1985, allocations: 279.1 kB / 0.9116 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1988, allocations: 401.8 kB / 0.912 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.1994, allocations: 0.9155 MB / 0.9128 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1994, allocations: 0 / 0.9128 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1994, allocations: 0 / 0.9128 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1994, allocations: 0 / 0.9128 GB, free: 51.62 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001256/0.2007, allocations: 1.013 MB / 0.9138 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2007, allocations: 8.031 kB / 0.9138 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.202, allocations: 235.6 kB / 0.9141 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.2026, allocations: 0.5569 MB / 0.9146 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.2027, allocations: 49.67 kB / 0.9147 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.2028, allocations: 72.19 kB / 0.9147 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.2038, allocations: 1.089 MB / 0.9158 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.2039, allocations: 7.938 kB / 0.9158 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.2039, allocations: 35.92 kB / 0.9158 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.204, allocations: 85.25 kB / 0.9159 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.2049, allocations: 0.7504 MB / 0.9166 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.2084, allocations: 5.901 MB / 0.9224 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.2092, allocations: 0.5515 MB / 0.923 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.2096, allocations: 333 kB / 0.9233 GB, free: 40.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.2096, allocations: 8.438 kB / 0.9233 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2096, allocations: 39 kB / 0.9233 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.2096, allocations: 0 / 0.9233 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003076/0.2127, allocations: 1.998 MB / 0.9253 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.2128, allocations: 59.78 kB / 0.9253 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.2132, allocations: 0.5586 MB / 0.9259 GB, free: 37.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2132, allocations: 37.7 kB / 0.9259 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.2134, allocations: 418.9 kB / 0.9263 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.2135, allocations: 173.6 kB / 0.9265 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.2136, allocations: 61.69 kB / 0.9265 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.2136, allocations: 378.7 kB / 0.9269 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.214, allocations: 273.8 kB / 0.9271 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.2144, allocations: 493 kB / 0.9276 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.2151, allocations: 0.8054 MB / 0.9284 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2151, allocations: 4 kB / 0.9284 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001375/0.2165, allocations: 1.086 MB / 0.9295 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2165, allocations: 8 kB / 0.9295 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2165, allocations: 8.875 kB / 0.9295 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/0.2172, allocations: 283.1 kB / 0.9298 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.2177, allocations: 123.8 kB / 0.9299 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/0.2219, allocations: 6.607 MB / 0.9363 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.2224, allocations: 39.95 kB / 0.9364 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.2225, allocations: 32 kB / 0.9364 GB, free: 25.95 MB / 0.6042 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.000271/0.2228, allocations: 253.5 kB / 0.9366 GB, free: 25.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.2229, allocations: 75.16 kB / 0.9367 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.2241, allocations: 0.8886 MB / 0.9376 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2241, allocations: 8 kB / 0.9376 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2241, allocations: 0 / 0.9376 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.2241, allocations: 15.92 kB / 0.9376 GB, free: 24.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.2261, allocations: 1.72 MB / 0.9393 GB, free: 22.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2261, allocations: 7.938 kB / 0.9393 GB, free: 22.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.2264, allocations: 59.89 kB / 0.9393 GB, free: 22.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006407/0.227, allocations: 271.3 kB / 0.9396 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.227, allocations: 12 kB / 0.9396 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.2312, allocations: 6.587 MB / 0.946 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2312, allocations: 7.938 kB / 0.9461 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.2324, allocations: 0.9873 MB / 0.947 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.2326, allocations: 192.4 kB / 0.9472 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.408e-05/0.2327, allocations: 19.92 kB / 0.9472 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.2331, allocations: 27.97 kB / 0.9472 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.2332, allocations: 47.88 kB / 0.9473 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.2332, allocations: 16 kB / 0.9473 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003172/0.2335, allocations: 387.1 kB / 0.9477 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2335, allocations: 0 / 0.9477 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007125/0.2342, allocations: 224 kB / 0.9479 GB, free: 13.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.2344, allocations: 115.2 kB / 0.948 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.2359, allocations: 1.271 MB / 0.9492 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2359, allocations: 4 kB / 0.9492 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009053/0.2368, allocations: 0.8936 MB / 0.9501 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.2378, allocations: 210.8 kB / 0.9503 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.2395, allocations: 1.704 MB / 0.952 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.2399, allocations: 1.009 MB / 0.953 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.24, allocations: 47.42 kB / 0.953 GB, free: 8 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.24, allocations: 0 / 0.953 GB, free: 8 MB / 0.6042 GB Notification: Performance of Templates: time 0.01931/0.2593, allocations: 20.75 MB / 0.9733 GB, free: 3.293 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)