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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001126/0.001126, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 299 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9129/0.9129, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 90.28 kB / 0.5945 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1489, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007178/0.1562, allocations: 6.143 MB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004432/0.1606, allocations: 3.196 MB / 0.6886 GB, free: 7.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.1609, allocations: 23.81 kB / 0.6886 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.163, allocations: 0.8821 MB / 0.6894 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.1638, allocations: 434 kB / 0.6899 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009041/0.1647, allocations: 465.4 kB / 0.6903 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.1659, allocations: 1.467 MB / 0.6917 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.1667, allocations: 0.6288 MB / 0.6924 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.1672, allocations: 394.3 kB / 0.6927 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.1677, allocations: 482.2 kB / 0.6932 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.53e-05/0.1677, allocations: 44 kB / 0.6932 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.1686, allocations: 0.5848 MB / 0.6938 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.1688, allocations: 267.2 kB / 0.6941 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.1692, allocations: 385.9 kB / 0.6944 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1702, allocations: 1.191 MB / 0.6956 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1703, allocations: 0 / 0.6956 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1703, allocations: 0 / 0.6956 GB, free: 0.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1703, allocations: 0 / 0.6956 GB, free: 0.625 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.001467/0.1717, allocations: 1.061 MB / 0.6966 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1718, allocations: 8.031 kB / 0.6966 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.1732, allocations: 219.6 kB / 0.6968 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.1739, allocations: 0.5415 MB / 0.6974 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.174, allocations: 49.67 kB / 0.6974 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1741, allocations: 60.36 kB / 0.6975 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1754, allocations: 1.03 MB / 0.6985 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1755, allocations: 11.84 kB / 0.6985 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.1755, allocations: 31.98 kB / 0.6985 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.448e-05/0.1756, allocations: 69.27 kB / 0.6986 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/0.1766, allocations: 0.6957 MB / 0.6993 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004785/0.1814, allocations: 5.749 MB / 0.7049 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.1823, allocations: 0.6027 MB / 0.7055 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007252/0.183, allocations: 420.5 kB / 0.7059 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.183, allocations: 11.97 kB / 0.7059 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1831, allocations: 42.5 kB / 0.7059 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/0.1831, allocations: 0 / 0.7059 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004391/0.1875, allocations: 2.05 MB / 0.7079 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.1876, allocations: 55.41 kB / 0.708 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/0.1881, allocations: 474.7 kB / 0.7084 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.1882, allocations: 29.7 kB / 0.7085 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.1885, allocations: 387 kB / 0.7088 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.1886, allocations: 145.9 kB / 0.709 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.1888, allocations: 114.2 kB / 0.7091 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.189, allocations: 366.8 kB / 0.7094 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.1893, allocations: 241.2 kB / 0.7097 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.1898, allocations: 465 kB / 0.7101 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/0.1907, allocations: 0.7556 MB / 0.7108 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1907, allocations: 4 kB / 0.7108 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001882/0.1926, allocations: 1.058 MB / 0.7119 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.1926, allocations: 8 kB / 0.7119 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.1927, allocations: 8.031 kB / 0.7119 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.1937, allocations: 335.1 kB / 0.7122 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.194, allocations: 95.83 kB / 0.7123 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.2004, allocations: 6.95 MB / 0.7191 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.2008, allocations: 32.02 kB / 0.7191 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.2009, allocations: 28 kB / 0.7191 GB, free: 6.914 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.0003076/0.2012, allocations: 247.5 kB / 0.7194 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.2013, allocations: 55.48 kB / 0.7194 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.203, allocations: 0.9276 MB / 0.7203 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.203, allocations: 8 kB / 0.7203 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.203, allocations: 4 kB / 0.7204 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.203, allocations: 0 / 0.7204 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002553/0.2056, allocations: 1.708 MB / 0.722 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2056, allocations: 4 kB / 0.722 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2058, allocations: 39.97 kB / 0.7221 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009878/0.2068, allocations: 331.2 kB / 0.7224 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.2068, allocations: 4 kB / 0.7224 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/0.2131, allocations: 6.943 MB / 0.7292 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2132, allocations: 7.938 kB / 0.7292 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.2148, allocations: 1.011 MB / 0.7302 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.215, allocations: 180.4 kB / 0.7303 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.2151, allocations: 11.89 kB / 0.7303 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.2153, allocations: 23.97 kB / 0.7304 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.2154, allocations: 35.95 kB / 0.7304 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2155, allocations: 19.94 kB / 0.7304 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003164/0.2158, allocations: 314.9 kB / 0.7307 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2158, allocations: 0 / 0.7307 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000698/0.2165, allocations: 196 kB / 0.7309 GB, free: 10.14 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.0001277/0.2166, allocations: 111.1 kB / 0.731 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.2183, allocations: 1.206 MB / 0.7322 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2183, allocations: 0 / 0.7322 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.2195, allocations: 0.8581 MB / 0.733 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.2204, allocations: 192 kB / 0.7332 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.2223, allocations: 1.523 MB / 0.7347 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.2228, allocations: 0.9921 MB / 0.7357 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.2231, allocations: 101.2 kB / 0.7358 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.2232, allocations: 31.44 kB / 0.7358 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.2232, allocations: 4 kB / 0.7358 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of Templates: time 0.01525/0.2385, allocations: 9.654 MB / 0.7452 GB, free: 11.4 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)