Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002535/0.002535, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002599/0.002599, allocations: 282.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 102.2 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.165, allocations: 89.14 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009024/0.1741, allocations: 6.799 MB / 0.6996 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005135/0.1793, allocations: 3.052 MB / 0.7026 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.1797, allocations: 27.81 kB / 0.7026 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.1821, allocations: 0.89 MB / 0.7035 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.1834, allocations: 477.7 kB / 0.704 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1844, allocations: 402 kB / 0.7043 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.1859, allocations: 1.232 MB / 0.7055 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.187, allocations: 0.7521 MB / 0.7063 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.1876, allocations: 470.3 kB / 0.7067 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000672/0.1883, allocations: 0.5448 MB / 0.7073 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1884, allocations: 64 kB / 0.7073 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006674/0.1891, allocations: 383.3 kB / 0.7077 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.1894, allocations: 307.1 kB / 0.708 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.1899, allocations: 453.7 kB / 0.7084 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.1912, allocations: 1.226 MB / 0.7096 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1912, allocations: 3.938 kB / 0.7096 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1912, allocations: 0 / 0.7096 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.1912, allocations: 4 kB / 0.7096 GB, free: 3.617 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001954/0.1932, allocations: 1.172 MB / 0.7108 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1932, allocations: 8.031 kB / 0.7108 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.1948, allocations: 239.6 kB / 0.711 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.1957, allocations: 0.553 MB / 0.7115 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.1958, allocations: 45.67 kB / 0.7116 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1959, allocations: 72.34 kB / 0.7116 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.1975, allocations: 1.081 MB / 0.7127 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1976, allocations: 3.938 kB / 0.7127 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.1977, allocations: 39.98 kB / 0.7127 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.1978, allocations: 85.25 kB / 0.7128 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1991, allocations: 0.7465 MB / 0.7136 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00611/0.2052, allocations: 5.905 MB / 0.7193 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2063, allocations: 0.5515 MB / 0.7199 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.2068, allocations: 326 kB / 0.7202 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.2068, allocations: 4.438 kB / 0.7202 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.2069, allocations: 47 kB / 0.7202 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.2069, allocations: 0 / 0.7202 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004056/0.2109, allocations: 1.978 MB / 0.7222 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.211, allocations: 59.84 kB / 0.7222 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.2117, allocations: 0.5587 MB / 0.7228 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.2117, allocations: 37.7 kB / 0.7228 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.2121, allocations: 418.9 kB / 0.7232 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.2122, allocations: 173.6 kB / 0.7234 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.2124, allocations: 122.5 kB / 0.7235 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2126, allocations: 378.7 kB / 0.7238 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.2131, allocations: 273.8 kB / 0.7241 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/0.2137, allocations: 0.4892 MB / 0.7246 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.2149, allocations: 0.8055 MB / 0.7254 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2149, allocations: 8 kB / 0.7254 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001952/0.2168, allocations: 1.091 MB / 0.7264 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2169, allocations: 8 kB / 0.7264 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2169, allocations: 8 kB / 0.7264 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008534/0.2177, allocations: 279.4 kB / 0.7267 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.2182, allocations: 123.8 kB / 0.7268 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.2258, allocations: 7.134 MB / 0.7338 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.2264, allocations: 39.95 kB / 0.7338 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/0.2265, allocations: 28 kB / 0.7339 GB, free: 9.207 MB / 0.5294 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.0005068/0.227, allocations: 254.5 kB / 0.7341 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.2271, allocations: 75.16 kB / 0.7342 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.2288, allocations: 0.8925 MB / 0.7351 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2288, allocations: 8 kB / 0.7351 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2288, allocations: 4 kB / 0.7351 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2288, allocations: 3.984 kB / 0.7351 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.2316, allocations: 1.724 MB / 0.7367 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2316, allocations: 0 / 0.7367 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.2319, allocations: 67.83 kB / 0.7368 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/0.2326, allocations: 283.7 kB / 0.7371 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.2327, allocations: 12 kB / 0.7371 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007383/0.2401, allocations: 7.111 MB / 0.744 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2401, allocations: 0 / 0.744 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.2419, allocations: 0.9912 MB / 0.745 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.2423, allocations: 196.2 kB / 0.7452 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.2424, allocations: 8 kB / 0.7452 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.2428, allocations: 35.89 kB / 0.7452 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.243, allocations: 39.95 kB / 0.7453 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.243, allocations: 12 kB / 0.7453 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005809/0.2436, allocations: 399.1 kB / 0.7457 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2436, allocations: 0 / 0.7457 GB, free: 12.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009447/0.2446, allocations: 220 kB / 0.7459 GB, free: 12.14 MB / 0.545 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.0002066/0.2448, allocations: 115.2 kB / 0.746 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.2471, allocations: 1.342 MB / 0.7473 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2471, allocations: 0 / 0.7473 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.2486, allocations: 0.8935 MB / 0.7482 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.2499, allocations: 229.5 kB / 0.7484 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.2532, allocations: 1.655 MB / 0.75 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009594/0.2541, allocations: 1.005 MB / 0.751 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005928/0.2548, allocations: 126 kB / 0.7511 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.2549, allocations: 47.44 kB / 0.7512 GB, free: 6.566 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/0.2549, allocations: 0 / 0.7512 GB, free: 6.566 MB / 0.545 GB Notification: Performance of Templates: time 0.02357/0.2785, allocations: 11.26 MB / 0.7621 GB, free: 11.45 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)