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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.000995/0.000995, 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.001085/0.001085, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 294.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9285/0.9285, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 89.64 kB / 0.5948 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1423, allocations: 86.99 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007843/0.1502, allocations: 6.794 MB / 0.6864 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.1543, allocations: 3.052 MB / 0.6894 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002824/0.1546, allocations: 27.81 kB / 0.6894 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.1567, allocations: 0.8833 MB / 0.6902 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007842/0.1575, allocations: 481.6 kB / 0.6907 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.1583, allocations: 395.3 kB / 0.6911 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009704/0.1592, allocations: 1.232 MB / 0.6923 GB, free: 4.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008313/0.1601, allocations: 0.7403 MB / 0.693 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.1605, allocations: 474.2 kB / 0.6935 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.1611, allocations: 0.5449 MB / 0.694 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.1611, allocations: 71.98 kB / 0.6941 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.1616, allocations: 375.3 kB / 0.6944 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.1619, allocations: 315.1 kB / 0.6947 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.1622, allocations: 449.7 kB / 0.6952 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009806/0.1632, allocations: 1.23 MB / 0.6964 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1632, allocations: 0 / 0.6964 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1632, allocations: 0 / 0.6964 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1632, allocations: 0 / 0.6964 GB, free: 15.88 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.001579/0.1648, allocations: 1.168 MB / 0.6975 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1649, allocations: 12.03 kB / 0.6975 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.165, allocations: 130.7 kB / 0.6976 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.1664, allocations: 235.6 kB / 0.6979 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.1671, allocations: 0.5568 MB / 0.6984 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1671, allocations: 53.67 kB / 0.6985 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.1672, allocations: 60.36 kB / 0.6985 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.1685, allocations: 1.089 MB / 0.6996 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1686, allocations: 3.938 kB / 0.6996 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.1686, allocations: 31.98 kB / 0.6996 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.1688, allocations: 85.25 kB / 0.6997 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.1698, allocations: 0.7465 MB / 0.7004 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004334/0.1741, allocations: 5.897 MB / 0.7062 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/0.175, allocations: 0.5516 MB / 0.7067 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.1754, allocations: 333.4 kB / 0.707 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.1754, allocations: 12.36 kB / 0.707 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1755, allocations: 39 kB / 0.7071 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.563e-06/0.1755, allocations: 0 / 0.7071 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003306/0.1788, allocations: 1.982 MB / 0.709 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1788, allocations: 55.84 kB / 0.7091 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/0.1794, allocations: 0.5665 MB / 0.7096 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1794, allocations: 33.7 kB / 0.7097 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.1796, allocations: 407 kB / 0.71 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1798, allocations: 177.5 kB / 0.7102 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.1799, allocations: 130.4 kB / 0.7103 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1801, allocations: 386.7 kB / 0.7107 GB, free: 392 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.1804, allocations: 265.9 kB / 0.711 GB, free: 128 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.1809, allocations: 493.1 kB / 0.7114 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008818/0.1818, allocations: 0.8171 MB / 0.7122 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1818, allocations: 3.938 kB / 0.7122 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001676/0.1835, allocations: 1.086 MB / 0.7133 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1836, allocations: 8 kB / 0.7133 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1836, allocations: 8 kB / 0.7133 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007934/0.1844, allocations: 287.7 kB / 0.7136 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.1848, allocations: 127.8 kB / 0.7137 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.1906, allocations: 7.131 MB / 0.7207 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.191, allocations: 31.97 kB / 0.7207 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.191, allocations: 32.23 kB / 0.7207 GB, free: 5.336 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 (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.0002906/0.1913, allocations: 262.8 kB / 0.721 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.1914, allocations: 71.16 kB / 0.721 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.1928, allocations: 0.8886 MB / 0.7219 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1928, allocations: 7.938 kB / 0.7219 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1929, allocations: 4 kB / 0.7219 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1929, allocations: 3.984 kB / 0.7219 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.1951, allocations: 1.72 MB / 0.7236 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1951, allocations: 7.875 kB / 0.7236 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.1953, allocations: 55.95 kB / 0.7237 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006664/0.196, allocations: 283.3 kB / 0.7239 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.1961, allocations: 12 kB / 0.724 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/0.2016, allocations: 7.126 MB / 0.7309 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2016, allocations: 0 / 0.7309 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.2029, allocations: 0.9874 MB / 0.7319 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.2032, allocations: 188.2 kB / 0.7321 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/0.2033, allocations: 19.92 kB / 0.7321 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.2036, allocations: 27.97 kB / 0.7321 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.2037, allocations: 48.02 kB / 0.7321 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.2037, allocations: 16 kB / 0.7322 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003621/0.2041, allocations: 387.1 kB / 0.7325 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2041, allocations: 0 / 0.7325 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006775/0.2048, allocations: 224 kB / 0.7327 GB, free: 8.277 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 (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.001578/0.2064, allocations: 1.544 MB / 0.7343 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.2082, allocations: 1.346 MB / 0.7356 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2082, allocations: 0 / 0.7356 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.2093, allocations: 0.8858 MB / 0.7364 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.2102, allocations: 215 kB / 0.7366 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/0.2182, allocations: 6.861 MB / 0.7433 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.2188, allocations: 1.005 MB / 0.7443 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.2192, allocations: 122 kB / 0.7444 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.2195, allocations: 259.3 kB / 0.7447 GB, free: 11.53 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.2196, allocations: 3.938 kB / 0.7447 GB, free: 11.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.526/2.745, allocations: 17.23 MB / 0.7615 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/2.746, allocations: 262.5 kB / 0.7618 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/4.862, allocations: 0 / 0.7618 GB, free: 10.4 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)