Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001632/0.001632, allocations: 196.7 kB / 16.14 MB, free: 6.66 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002037, allocations: 279 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9236/0.9236, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 97.34 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1499, allocations: 86.98 MB / 0.6795 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006528/0.1565, allocations: 5.543 MB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003846/0.1603, allocations: 2.658 MB / 0.6875 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.1606, allocations: 19.88 kB / 0.6875 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.1622, allocations: 0.6422 MB / 0.6881 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007425/0.1629, allocations: 382.1 kB / 0.6885 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000775/0.1637, allocations: 370 kB / 0.6888 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1647, allocations: 1.259 MB / 0.6901 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.1654, allocations: 442.1 kB / 0.6905 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.1657, allocations: 334.5 kB / 0.6908 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.1662, allocations: 422.4 kB / 0.6912 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.1663, allocations: 32 kB / 0.6912 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.1669, allocations: 439.1 kB / 0.6916 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1671, allocations: 235.3 kB / 0.6919 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.1674, allocations: 330.3 kB / 0.6922 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000856/0.1683, allocations: 0.981 MB / 0.6931 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1683, allocations: 0 / 0.6931 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1683, allocations: 0 / 0.6931 GB, free: 3.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1683, allocations: 0 / 0.6931 GB, free: 3.156 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001538/0.1699, allocations: 0.9815 MB / 0.6941 GB, free: 2.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1699, allocations: 8.031 kB / 0.6941 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.1713, allocations: 191.9 kB / 0.6943 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006555/0.1719, allocations: 494.4 kB / 0.6948 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.172, allocations: 37.38 kB / 0.6948 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.1721, allocations: 60.45 kB / 0.6949 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1732, allocations: 0.8363 MB / 0.6957 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.1733, allocations: 3.938 kB / 0.6957 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.1733, allocations: 20 kB / 0.6957 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001974/0.1735, allocations: 72.94 kB / 0.6958 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.1744, allocations: 0.5735 MB / 0.6963 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.1785, allocations: 4.577 MB / 0.7008 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.179, allocations: 295.3 kB / 0.7011 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.1793, allocations: 229.3 kB / 0.7013 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1793, allocations: 4.281 kB / 0.7013 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1793, allocations: 38.78 kB / 0.7013 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/0.1794, allocations: 0 / 0.7013 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005381/0.1847, allocations: 2.627 MB / 0.7039 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1848, allocations: 59.34 kB / 0.704 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.1852, allocations: 466 kB / 0.7044 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.1853, allocations: 37.7 kB / 0.7044 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1855, allocations: 343.6 kB / 0.7048 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1856, allocations: 141.9 kB / 0.7049 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1858, allocations: 106.2 kB / 0.705 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1859, allocations: 366.8 kB / 0.7054 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.1863, allocations: 237 kB / 0.7056 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.1867, allocations: 410.4 kB / 0.706 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.1876, allocations: 0.6778 MB / 0.7066 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1876, allocations: 0 / 0.7066 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001597/0.1892, allocations: 0.9253 MB / 0.7075 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1892, allocations: 8 kB / 0.7075 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1892, allocations: 4 kB / 0.7076 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007926/0.19, allocations: 226.6 kB / 0.7078 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.1905, allocations: 123.7 kB / 0.7079 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004703/0.1952, allocations: 4.923 MB / 0.7127 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.1957, allocations: 36.03 kB / 0.7127 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.1957, allocations: 24 kB / 0.7127 GB, free: 13.79 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002903/0.196, allocations: 229.5 kB / 0.713 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.1961, allocations: 59.34 kB / 0.713 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.1976, allocations: 0.7734 MB / 0.7138 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1976, allocations: 4 kB / 0.7138 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1976, allocations: 4 kB / 0.7138 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.1976, allocations: 0 / 0.7138 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.1999, allocations: 1.495 MB / 0.7152 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1999, allocations: 0 / 0.7152 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.2003, allocations: 71.88 kB / 0.7153 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/0.201, allocations: 206.5 kB / 0.7155 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.201, allocations: 12 kB / 0.7155 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.2054, allocations: 4.876 MB / 0.7203 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.2054, allocations: 7.969 kB / 0.7203 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.2071, allocations: 1.127 MB / 0.7214 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.2073, allocations: 176.3 kB / 0.7216 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.2074, allocations: 20.19 kB / 0.7216 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.2078, allocations: 27.97 kB / 0.7216 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.2078, allocations: 39.83 kB / 0.7216 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2079, allocations: 12 kB / 0.7217 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003246/0.2082, allocations: 318.9 kB / 0.722 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2082, allocations: 0 / 0.722 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006432/0.2089, allocations: 168 kB / 0.7221 GB, free: 3.609 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.209, allocations: 115.2 kB / 0.7222 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.2105, allocations: 1.004 MB / 0.7232 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2105, allocations: 0 / 0.7232 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/0.2114, allocations: 0.6838 MB / 0.7239 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.2123, allocations: 164.9 kB / 0.724 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2143, allocations: 1.522 MB / 0.7255 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.2148, allocations: 0.9455 MB / 0.7264 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003555/0.2152, allocations: 109 kB / 0.7266 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2153, allocations: 47.42 kB / 0.7266 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of SimCode: time 1.603e-06/0.2153, allocations: 0 / 0.7266 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.01331/0.2286, allocations: 8.545 MB / 0.7349 GB, free: 6.438 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)