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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009549/0.0009549, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009356/0.0009356, allocations: 191.3 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.327/1.327, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002288/0.002288, allocations: 290.9 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9026/0.9026, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 94.62 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1425, allocations: 86.98 MB / 0.6798 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007077/0.1496, allocations: 6.137 MB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.1546, allocations: 3.155 MB / 0.6888 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.155, allocations: 27.81 kB / 0.6889 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.157, allocations: 0.8759 MB / 0.6897 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.1579, allocations: 438 kB / 0.6901 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.1588, allocations: 461.5 kB / 0.6906 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009227/0.1598, allocations: 1.104 MB / 0.6916 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.1606, allocations: 0.7169 MB / 0.6923 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.161, allocations: 442.3 kB / 0.6928 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.1615, allocations: 494.1 kB / 0.6932 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.1616, allocations: 60 kB / 0.6933 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.1622, allocations: 490.9 kB / 0.6938 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.1624, allocations: 287.3 kB / 0.694 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.1628, allocations: 401.8 kB / 0.6944 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009836/0.1637, allocations: 1.203 MB / 0.6956 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1638, allocations: 4 kB / 0.6956 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1638, allocations: 0 / 0.6956 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.1638, allocations: 0 / 0.6956 GB, free: 0.6953 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.001347/0.1651, allocations: 1.063 MB / 0.6966 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1652, allocations: 12.03 kB / 0.6966 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.1653, allocations: 110.7 kB / 0.6968 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1667, allocations: 227.6 kB / 0.697 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006449/0.1673, allocations: 0.5453 MB / 0.6975 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.1674, allocations: 45.67 kB / 0.6975 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/0.1674, allocations: 60.36 kB / 0.6976 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.1687, allocations: 1.03 MB / 0.6986 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.1687, allocations: 11.83 kB / 0.6986 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.1688, allocations: 35.98 kB / 0.6987 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-05/0.1689, allocations: 61.28 kB / 0.6987 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.1698, allocations: 0.6957 MB / 0.6994 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.174, allocations: 5.749 MB / 0.705 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.1747, allocations: 0.5932 MB / 0.7056 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.1754, allocations: 424.6 kB / 0.706 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1755, allocations: 8 kB / 0.706 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1755, allocations: 38.55 kB / 0.706 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.322e-06/0.1755, allocations: 0 / 0.706 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003872/0.1794, allocations: 2.061 MB / 0.708 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1794, allocations: 55.41 kB / 0.7081 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.1798, allocations: 462.8 kB / 0.7085 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.1799, allocations: 33.7 kB / 0.7086 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.1801, allocations: 391 kB / 0.7089 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1802, allocations: 149.9 kB / 0.7091 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.1803, allocations: 114.2 kB / 0.7092 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1805, allocations: 362.8 kB / 0.7095 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.1808, allocations: 245.2 kB / 0.7098 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.1812, allocations: 465 kB / 0.7102 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.182, allocations: 0.7478 MB / 0.711 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.182, allocations: 4 kB / 0.711 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001751/0.1838, allocations: 1.066 MB / 0.712 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1838, allocations: 8 kB / 0.712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.1838, allocations: 8 kB / 0.712 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.1849, allocations: 335 kB / 0.7123 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.1852, allocations: 99.81 kB / 0.7124 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.1915, allocations: 7.519 MB / 0.7198 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.1918, allocations: 28.03 kB / 0.7198 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.1919, allocations: 24 kB / 0.7198 GB, free: 6.262 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.0002589/0.1921, allocations: 255.5 kB / 0.7201 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/0.1922, allocations: 55.48 kB / 0.7201 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.1938, allocations: 0.9198 MB / 0.721 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1938, allocations: 8 kB / 0.721 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1938, allocations: 7.984 kB / 0.721 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1938, allocations: 0 / 0.721 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.1962, allocations: 1.708 MB / 0.7227 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.1962, allocations: 4.281 kB / 0.7227 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.1963, allocations: 35.97 kB / 0.7227 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008705/0.1972, allocations: 335.1 kB / 0.7231 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1972, allocations: 8 kB / 0.7231 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006043/0.2033, allocations: 7.509 MB / 0.7304 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2033, allocations: 4.094 kB / 0.7304 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.2048, allocations: 1.023 MB / 0.7314 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.205, allocations: 172.3 kB / 0.7316 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.205, allocations: 15.94 kB / 0.7316 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2053, allocations: 23.97 kB / 0.7316 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.2054, allocations: 35.95 kB / 0.7316 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.2054, allocations: 8 kB / 0.7316 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002714/0.2057, allocations: 326.7 kB / 0.732 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2057, allocations: 0 / 0.732 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006281/0.2063, allocations: 196 kB / 0.7321 GB, free: 8.891 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.00169/0.208, allocations: 1.556 MB / 0.7337 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.2097, allocations: 1.25 MB / 0.7349 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2097, allocations: 3.938 kB / 0.7349 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.2107, allocations: 0.8621 MB / 0.7357 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.2116, allocations: 209.1 kB / 0.7359 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.2186, allocations: 6.288 MB / 0.7421 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.2191, allocations: 0.9843 MB / 0.743 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002552/0.2194, allocations: 105.2 kB / 0.7431 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.2196, allocations: 227.4 kB / 0.7433 GB, free: 12.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.2196, allocations: 0 / 0.7433 GB, free: 12.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.494/2.714, allocations: 15.29 MB / 0.7583 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/2.714, allocations: 256.7 kB / 0.7585 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/4.65, allocations: 0 / 0.7585 GB, free: 13.7 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)