Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 99.36 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.001765/0.001766, allocations: 192.9 kB / 16.25 MB, free: 6.629 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 290.8 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.944/0.944, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 96.19 kB / 0.5947 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1518, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007177/0.159, allocations: 6.149 MB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.1633, allocations: 3.149 MB / 0.6887 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.1636, allocations: 31.75 kB / 0.6887 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.1657, allocations: 0.8708 MB / 0.6896 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008009/0.1665, allocations: 434 kB / 0.69 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009141/0.1674, allocations: 471.2 kB / 0.6905 GB, free: 5.949 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009369/0.1684, allocations: 1.104 MB / 0.6915 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.1693, allocations: 0.721 MB / 0.6922 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005404/0.1698, allocations: 442.3 kB / 0.6927 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.1704, allocations: 498.1 kB / 0.6931 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.348e-05/0.1705, allocations: 60 kB / 0.6932 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007879/0.1713, allocations: 490.9 kB / 0.6937 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.1715, allocations: 275.3 kB / 0.6939 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.1719, allocations: 409.9 kB / 0.6943 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.173, allocations: 1.207 MB / 0.6955 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1731, allocations: 0 / 0.6955 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1731, allocations: 0 / 0.6955 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1731, allocations: 0 / 0.6955 GB, free: 0.7773 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001465/0.1745, allocations: 1.063 MB / 0.6965 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1746, allocations: 8.031 kB / 0.6965 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.176, allocations: 219.6 kB / 0.6967 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006674/0.1767, allocations: 0.5414 MB / 0.6973 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.1767, allocations: 49.67 kB / 0.6973 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.1768, allocations: 64.36 kB / 0.6974 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1781, allocations: 1.034 MB / 0.6984 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.1782, allocations: 11.89 kB / 0.6984 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.1783, allocations: 27.98 kB / 0.6984 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.82e-05/0.1784, allocations: 65.28 kB / 0.6985 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/0.1794, allocations: 0.6956 MB / 0.6992 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/0.1839, allocations: 5.752 MB / 0.7048 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.1847, allocations: 0.5929 MB / 0.7054 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.1854, allocations: 424.6 kB / 0.7058 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.1855, allocations: 4 kB / 0.7058 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1855, allocations: 30.56 kB / 0.7058 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.1855, allocations: 4 kB / 0.7058 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004118/0.1896, allocations: 2.057 MB / 0.7078 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.1897, allocations: 55.41 kB / 0.7079 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.1901, allocations: 462.8 kB / 0.7083 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.1902, allocations: 37.7 kB / 0.7084 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1904, allocations: 383 kB / 0.7087 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1905, allocations: 153.9 kB / 0.7089 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1907, allocations: 114.2 kB / 0.709 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1908, allocations: 362.8 kB / 0.7093 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.1912, allocations: 249.2 kB / 0.7096 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.1916, allocations: 461 kB / 0.71 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.1925, allocations: 0.7556 MB / 0.7107 GB, free: 148 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1925, allocations: 0 / 0.7107 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00179/0.1943, allocations: 1.07 MB / 0.7118 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1943, allocations: 10.03 kB / 0.7118 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.1944, allocations: 8 kB / 0.7118 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.1954, allocations: 327.5 kB / 0.7121 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1957, allocations: 103.8 kB / 0.7122 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/0.2025, allocations: 7.514 MB / 0.7195 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.2029, allocations: 28.03 kB / 0.7196 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.203, allocations: 24 kB / 0.7196 GB, free: 6.477 MB / 0.5137 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003116/0.2033, allocations: 251.5 kB / 0.7198 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.2034, allocations: 63.19 kB / 0.7199 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.205, allocations: 0.9162 MB / 0.7208 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2051, allocations: 4 kB / 0.7208 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.2051, allocations: 11.98 kB / 0.7208 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2051, allocations: 3.938 kB / 0.7208 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.2078, allocations: 1.72 MB / 0.7225 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2078, allocations: 0 / 0.7225 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.208, allocations: 43.91 kB / 0.7225 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009047/0.2089, allocations: 327.1 kB / 0.7228 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.2089, allocations: 8 kB / 0.7228 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006801/0.2157, allocations: 7.513 MB / 0.7302 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2158, allocations: 0 / 0.7302 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.2174, allocations: 1.011 MB / 0.7312 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.2176, allocations: 180.3 kB / 0.7313 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.2177, allocations: 8 kB / 0.7314 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.218, allocations: 27.97 kB / 0.7314 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2181, allocations: 36.17 kB / 0.7314 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.2182, allocations: 16 kB / 0.7314 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003172/0.2185, allocations: 310.9 kB / 0.7317 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2185, allocations: 3.938 kB / 0.7317 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007659/0.2193, allocations: 199.9 kB / 0.7319 GB, free: 9.102 MB / 0.5294 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.2194, allocations: 119.1 kB / 0.732 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.2213, allocations: 1.238 MB / 0.7332 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2213, allocations: 128 / 0.7332 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.2224, allocations: 0.8659 MB / 0.7341 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/0.2234, allocations: 199.7 kB / 0.7343 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2254, allocations: 1.535 MB / 0.7358 GB, free: 5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.226, allocations: 0.9921 MB / 0.7367 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000295/0.2263, allocations: 97.19 kB / 0.7368 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.2264, allocations: 35.44 kB / 0.7369 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.2264, allocations: 7.938 kB / 0.7369 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.01677/0.2431, allocations: 10.06 MB / 0.7467 GB, free: 9.895 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)